Recent

Author Topic: lzRichEdit + insert image = SIGSEGV on exit  (Read 4252 times)

Vingadero

  • New Member
  • *
  • Posts: 46
lzRichEdit + insert image = SIGSEGV on exit
« on: February 28, 2012, 11:08:59 pm »
Hello

lzRichEdit is so far the best Rich Editor I have found.

It all working fine, except when I insert an image, it generate SIGSEGV error when I exit program/close form...

Any help?

Regards,

Vingadero

  • New Member
  • *
  • Posts: 46
Re: lzRichEdit + insert image = SIGSEGV on exit
« Reply #1 on: March 02, 2012, 06:03:12 pm »
Debugging I got to this procedure, on application.inc file:

Code: [Select]
procedure TApplication.DoBeforeFinalization;
var
  i: Integer;
begin
  if Self=nil then exit;
  for i := ComponentCount - 1 downto 0 do
  begin
    // DebugLn('TApplication.DoBeforeFinalization ',DbgSName(Components[i]));
    if i < ComponentCount then
       Components[i].Free;
  end;
end; 

And its stops on "Components.Free;"

I'm using Lazarus-0.9.31-35602-fpc-2.6.1-20120227-win32
And last lzRichEdit.

 

TinyPortal © 2005-2018