Sign in Join

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

Mailing lists / lazarus / 2002-12

Bug Report Update

5 messages · 1 person ·

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

Original Description:
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.

Updated by: Mattias

Status: Fixed

Comments:
MG

Reply by email

Unknown author

Title: Unitialised variables and memory leak

Entered by: Jeroen van Iddekinge

Original Description:
1) In TGtkObject.InitStockItems the function CreateBrushIndirect is called. logbrush.lbStyle is set to bs_null , but logbrush.lbColor is not set and is therefor unitialised. lbColor should be set because it is used in CreateBrushIndirect in a call to GetGDIolorRef

2) TGtkObject.FillScreenFont, memory leak
XFreeFontNames(theFonts) should be added.

3) TGtkObject.SelectClipRgn.
The first lines of this routine is:

if not isValidDc(DC) then
  Result := Error;
if Result  Error then

This should be something like:

Error := 0
if not IsValidDc(DC) then
    Result := Error;
if Result  Error then

Updated by: Mattias

Status: Fixed

Comments:
MG

Reply by email

Unknown author

Title: Duplicate identifier in LAZARUS SOURCE

Entered by: Alex

Original Description:
Compiling with FPC 1.1 i get this error:

comctrls.pp(1025,20) Error: Duplicate identifier "Index"
comctrls.pp(1025,20) Hint: Identifier already defined in comctrls.pp at line 1023

Updated by: Mattias

Status: Fixed

Comments:
MG

Reply by email

Unknown author

Title: Close Notebook page gives crash when exiting lazarus

Entered by: Vincent Snijders

Original Description:
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

Updated by: Mattias

Status: Fixed

Comments:
MG

Reply by email

Unknown author

Title: compilation error

Entered by: Jens During

Original Description:
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

Updated by: Mattias

Status: Fixed

Comments:
MG

Reply by email