I installed the 32bit version of Lazarus 4.4.
An app started crashing in I way I have not seen it crash before.
The error is in
LazTracer.pas, it complains about division by zero.
procedure RaiseGDBException(const Msg: string);
begin
DebugLn(lrsERRORInCode, Msg);
// creates an exception, that gdb catches:
DebugLn(lrsCreatingGdbCatchableError);
DumpStack;
{$ifndef HASAMIGA} // On Amiga Division by 0 is not catchable, just crash
if (length(Msg) div (length(Msg) div 10000))=0 then ;
{$endif}
end;
I still have the 64 bit Lazarus 4.2 and I cannot make the app crash with it.
I have a
TPairSplitter with two
RichMemos on each side. When I move the slitter when updating the
RichMemos the crash occurs.
I will write more when I have more info.
Edit: I have successfully crashed the app on the 4.2 when doing the same, but I got the error in
control.inc,
procedure TControl.EnableAutoSizing .
(message is
Tcontrol.EnableAutoSizing pssReceived:TPairSplitter: missing DisableAutosizing).
Edit2: I also got the division by zero in the 4.2, so it should
not be something changed in 4.4.
But after
division by zero the app cannot resume work, while after
EnableAutoSizing it keeps on working, I just click "Ok".