[Lazarus] View form as .lfm crashes Lazarus

Torsten Bonde Christiansen tc at epidata.dk
Thu Jul 14 10:45:07 CEST 2011


Hi List.

I was trying to check out my form with the .lfm view mode of lazarus, 
but there seems to be a bug. This is with the latest svn revision:
Lazarus 0.9.31 r31694M FPC 2.4.2 x86_64-linux-gtk 2

Even very simple forms will make the program crash.

This was the stack-track (+ debug info from Lazarus):
TLazarusManager.Run starting /home/torsten/FreePascal/lazarus/lazarus ...
TMainIDE.ParseCmdLineOptions:
   PrimaryConfigPath="/home/torsten/.lazarus"
   SecondaryConfigPath="/etc/lazarus"
TMainIDE.DoNewProject A
TMainIDE.DoLoadLFM Creating designer for hidden component of 
/home/torsten/EpiData/Manager/trunk/designer/design_frame.pas
TMainIDE.DoOpenProjectFile _Designer_DesignFrame:TFrameDesignerForm 
TDesigner
TMainIDE.OnDesignerViewLFM 
/home/torsten/EpiData/Manager/trunk/designer/design_frame.pas
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the 
component is processing an event?
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the 
component is processing an event?
TApplication.HandleException Access violation
   Stack trace:
   $00000000005C37C0 line 415 of ../inc/objpas.inc
[TMainIDE.Destroy] A
[TJITComponentList.DestroyJITComponent] ERROR destroying component 
Error: Access violation
   Stack trace:
   $00000000006636F6 line 14881 of main.pp
   $0000000000660F72 line 14239 of main.pp
   $00000000009EE541 line 5340 of propedits.pp
   $0000000000A9C4C4 line 2575 of ../designer/designer.pp
   $0000000000A9CDB1 line 2721 of ../designer/designer.pp
   $00000000005FB3F8 line 202 of include/customform.inc
   $0000000000F13503 line 111 of ../designer/customnonformdesigner.pas
   $000000000069E438 line 462 of ../objpas/classes/compon.inc
   $00000000007D9671 line 4259 of include/control.inc
   $00000000007C9E85 line 6402 of include/wincontrol.inc
   $00000000007DBE1E line 60 of include/customcontrol.inc
   $00000000005FA3AE line 257 of include/scrollingwincontrol.inc
   $00000000005C334A line 165 of ../inc/objpas.inc
   $0000000000A83B63 line 697 of ../designer/jitforms.pp
   $00000000005C334A line 165 of ../inc/objpas.inc
   $00000000005C334A line 165 of ../inc/objpas.inc
   $0000000000625FBA line 1501 of main.pp
TCustomFormEditor.JITListException List.CurReadStreamClass=nil nil
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[TGtk2WidgetSet.Destroy] WARNING: There are 4 unreleased DCs, a detailed 
dump follows:
[TGtk2WidgetSet.Destroy]  DCs:   00007FBF2B9403A0 00007FBF2B9401C0 
00007FBF2B93FFE0 00007FBF2B93FE00
[TGtk2WidgetSet.Destroy] WARNING: There are 14 unreleased GDIObjects, a 
detailed dump follows:
[TGtk2WidgetSet.Destroy]   GDIOs: 00007FBF27B465C0 00007FBF27B466C0 
00007FBF27B46640 00007FBF27B46840 00007FBF27B46BC0 00007FBF27B46740 
00007FBF27B46B40
[TGtk2WidgetSet.Destroy]   gdiBitmap: 14

Kind regards,
Torsten Bonde Christiansen.

-- 
Our Program who art in Memory, Hello be Thy Name.
Thy Operating System come, Thy Commands be done,
at the Printer as it is on the Screen.

Give us this day our daily Data, and forgive us our I/O Errors as we forgive those whose Logic Circuits are faulty. Lead us not into frustration, and deliver us from Power Surges,

for Thine is the Algorithm, the Application, and the Solution, looping forever and ever.

Return.





More information about the Lazarus mailing list