Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-12

New Bug Entered

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Title: Lazarus crash

Entered by: Martin Smat

Lazarus crashes in folowing situation:
1. Run Lazarus
2. In Source Editor close the tab \"unit1\" (it closes Source Editor and Form1) or close all tabs if you have more.
3. From combobox in ObjectInspector select whatever you want.

Reply by email

Unknown author

Title: Close Notebook page gives crash when exiting lazarus

Entered by: Vincent Snijders

If I open a large project (many open files) in lazarus and I close a page and exit lazarus, lazarus crashes.

I have the folowing output to the console, (beginning with the closing of a page).

TMainIDE.DoCloseEditorFile A PageIndex=14
TMainIDE.DoCloseEditorFile end
TMainIDE.DoSaveProject A SaveAs=FALSE SaveToTestDir=FALSE TMainIDE.DoSaveProject End
TMainIDE.DoCloseEditorFile A PageIndex=13
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=12
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=11
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=10
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=9
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=8
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=7
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=6
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=5
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=4
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=3
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=2
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=1
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=0
TMainIDE.DoCloseEditorFile end
An unhandled exception occurred at 0x0815E67F :
Access violation
0x0815E67F TPROJECT__GETUNITSCHANGEDONDISK, line 1858 of project.pp 0x081AC15D TMAINIDE__DOCHECKFILESONDISK, line 5541 of main.pp 0x081B0166 TMAINIDE__ONSRCNOTEBOOKACTIVATED, line 6774 of main.pp 0x081E3D7E TCUSTOMFORM__ACTIVATE, line 303 of ./include/customform.inc 0x081E3D4C TCUSTOMFORM__WMACTIVATE, line 279 of ./include/customform.inc 0x08252845
0x081FE9D0 TCONTROL__WNDPROC, line 907 of ./include/control.inc 0x081FB7FC TWINCONTROL__WNDPROC, line 1304 of ./include/wincontrol.inc 0x081E436B TCUSTOMFORM__WNDPROC, line 660 of ./include/customform.inc 0x081B4853 DELIVERMESSAGE, line 1052 of gtkproc.inc 0x0821FF50 TGTKOBJECT__SENDMESSAGE, line 6058 of gtkwinapi.inc 0x08209D97 TGTKOBJECT__HANDLEEVENTS, line 760 of gtkobject.inc 0x08209DF2 TGTKOBJECT__WAITMESSAGE, line 785 of gtkobject.inc 0x081E599A TAPPLICATION__IDLE, line 270 of ./include/application.inc 0x081E6304 TAPPLICATION__HANDLEMESSAGE, line 591 of ./include/application.inc 0x081E63AF TAPPLICATION__RUN, line 636 of ./include/application.inc 0x08257299 main, line 79 of lazarus.pp
0x08051D57

[TMainIDE.Destroy] A
An unhandled exception occurred at 0x08187B6F :
Access violation
0x08187B6F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 998 of avl_tree.pas 0x4C373A3B main, line 302 of lcllinux.pp
0x0000D7B2

forms.pp - finalization section

Reply by email

Mattias Gaertner
to Unknown author
Show quoted text 34 lines
Title: Close Notebook page gives crash when exiting lazarus Entered by: Vincent Snijders If I open a large project (many open files) in lazarus and I close a page and exit lazarus, lazarus crashes. I have the folowing output to the console, (beginning with the closing of a page). TMainIDE.DoCloseEditorFile A PageIndex=14 TMainIDE.DoCloseEditorFile end TMainIDE.DoSaveProject A SaveAs=FALSE SaveToTestDir=FALSE TMainIDE.DoSaveProject End [...] TMainIDE.DoCloseEditorFile A PageIndex=0 TMainIDE.DoCloseEditorFile end An unhandled exception occurred at 0x0815E67F : Access violation 0x0815E67F TPROJECT__GETUNITSCHANGEDONDISK, line 1858 of project.pp 0x081AC15D TMAINIDE__DOCHECKFILESONDISK, line 5541 of main.pp 0x081B0166 TMAINIDE__ONSRCNOTEBOOKACTIVATED, line 6774 of main.pp 0x081E3D7E TCUSTOMFORM__ACTIVATE, line 303 of ./include/customform.inc 0x081E3D4C TCUSTOMFORM__WMACTIVATE, line 279 of ./include/customform.inc 0x08252845 0x081FE9D0 TCONTROL__WNDPROC, line 907 of ./include/control.inc 0x081FB7FC TWINCONTROL__WNDPROC, line 1304 of ./include/wincontrol.inc 0x081E436B TCUSTOMFORM__WNDPROC, line 660 of ./include/customform.inc 0x081B4853 DELIVERMESSAGE, line 1052 of gtkproc.inc 0x0821FF50 TGTKOBJECT__SENDMESSAGE, line 6058 of gtkwinapi.inc 0x08209D97 TGTKOBJECT__HANDLEEVENTS, line 760 of gtkobject.inc 0x08209DF2 TGTKOBJECT__WAITMESSAGE, line 785 of gtkobject.inc 0x081E599A TAPPLICATION__IDLE, line 270 of ./include/application.inc

IDLE ???
I never saw an Idle event on closing lazarus. Strange. I added a check in TMAINIDE__DOCHECKFILESONDISK, if Project is valid.

Mattias

Show quoted text 18 lines
0x081E6304 TAPPLICATION__HANDLEMESSAGE, line 591 of ./include/application.inc 0x081E63AF TAPPLICATION__RUN, line 636 of ./include/application.inc 0x08257299 main, line 79 of lazarus.pp 0x08051D57 [TMainIDE.Destroy] A An unhandled exception occurred at 0x08187B6F : Access violation 0x08187B6F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 998 of avl_tree.pas 0x4C373A3B main, line 302 of lcllinux.pp 0x0000D7B2 forms.pp - finalization section _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Unknown author

Title: compilation error

Entered by: Jens During

when compiling today source from cvs I get the following error: region.inc(99,24) Error: Incompatible type for arg no. 3: Got BOOLEAN, expected LONGINT graphics.pp(1417) Fatal: There were 1 errors compiling module, stopping make[1]: *** [allunits.ppu] Error 1
make[1]: Leaving directory `/home/jens/lazarus/lcl\' make: *** [lcl] Error 2

I use Compiler 1.07 from your ftp-site (nearly 1 month old) Regards.
Jens During

Reply by email