galilea:lazarus glpunzi$ gdb startlazarus
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries ......... done
(gdb) break fpc_raiseexception
Breakpoint 1 at 0xfbe6
(gdb) run --pcp=./config
Starting program: /Users/glpunzi/svn/lazarus/startlazarus --pcp=./config Reading symbols for shared libraries +++++++
+
......................................................................... done Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Adding "--pcp=./config" as a parameter
Reading symbols for shared libraries ....... done
TLazarusManager.Run starting /Users/glpunzi/svn/lazarus/lazarus.app/ Contents/MacOS/lazarus ...
TCarbonPrinter.ValidatePageFormat Error: PMSessionValidatePageFormat failed with result -30876
SetPrimaryConfigPath NewValue="./config" -> "/Users/glpunzi/svn/ lazarus/config"
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/Users/glpunzi/svn/lazarus/config" SecondaryConfigPath="/etc/lazarus"
TCarbonMenu.SetCaption Error: ChangeMenuItemAttributes failed with result -50
TCarbonMenu.SetCaption Error: SetMenuItemTextWithCFString failed with result -50
TCarbonMenu.Update Error: SetMenuItemHierarchicalMenu failed with result -50
TCarbonMenu.SetBitmap Error: SetMenuItemIconHandle failed with result -50
TCarbonMenu.SetVisible Error: ChangeMenuItemAttributes show failed with result -50
TMainIDE.DoLoadLFM A /Users/glpunzi/desarrollo/postgres/unit1.pas IsPartOfProject=True
QuickCheckLFMBuffer LFMBuffer=/Users/glpunzi/desarrollo/postgres/ unit1.lfm
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
TMainIDE.DoNewProject A
TMainIDE.CloseUnitComponent /Users/glpunzi/desarrollo/postgres/ unit1.pas Form1:TForm1
TProject.UpdateUnitComponentDependencies checking properties ... Search UnitComponent=Form1:TForm1
AComponent=PQConnection1:TPQConnection ReferenceUnit=False TProject.UpdateUnitComponentDependencies checking designers ... TProject.UpdateUnitComponentDependencies used by designer: /Users/ glpunzi/desarrollo/postgres/unit1.pas
TMainIDE.CloseUnitComponent freeing component and designer: /Users/ glpunzi/desarrollo/postgres/unit1.pas Form1:TForm1 TProject.UpdateUnitComponentDependencies checking designers ... TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
TCustomFormEditor.CreateComponent Form1:TForm1 True TMainIDE.DoNewEditorFile END unit1.pas
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
Parent is 'Form1:TForm1'
TCustomFormEditor.CreateComponent PQConnection1:TPQConnection True TMainIDE.OnPropHookPersistentAdded A PQConnection1:TPQConnection TPkgManager.AddUnitDependenciesForComponentClasses Adding Project Dependency project1 -> SQLDBLaz
TPkgManager.AddUnitDependenciesForComponentClasses Extending Uses unit1.pas pqconnection
[TEventsCodeTool.CompleteComponent]
CurComponent=PQConnection1:TPQConnection
TCarbonEdit.SetFocus Error: SetKeyboardFocus failed with result -30585 #################### TOICustomPropertyGrid.DoCallEdit for TStringsPropertyEditor Edit=True
TCarbonEdit.SetFocus Error: SetKeyboardFocus failed with result -30585 TCarbonEdit.SetFocus Error: SetKeyboardFocus failed with result -30585 TCarbonBitBtn.SetFocus Error: SetKeyboardFocus failed with result -30585
TCarbonBitBtn.SetFocus Error: SetKeyboardFocus failed with result -30585
TMainIDE.CloseUnitComponent unit1.pas Form1:TForm1 TProject.UpdateUnitComponentDependencies checking properties ... Search UnitComponent=Form1:TForm1
AComponent=PQConnection1:TPQConnection ReferenceUnit=False TProject.UpdateUnitComponentDependencies checking designers ... TProject.UpdateUnitComponentDependencies used by designer: unit1.pas TMainIDE.CloseUnitComponent freeing component and designer: unit1.pas Form1:TForm1
TryFreeComponent ERROR: "PQConnection1:TPQConnection" Access violation Stack trace:
$00000000
$00485874
$00486082
$00485E8C
$0047B46A
$00056BD7
$0005AE51
$0005F735
$00042361
$00025A18
$000258A2
$001A1268
$90494648
$9049D7BE
$904A05AB
$925F64CF
$92674DD1
[TJITComponentList.DestroyJITComponent] ERROR destroying component Error: Access violation
Stack trace:
$005FF5F6
$0017FFC1
$00173B43
$00181E4E
$000217AA
$00022360
$0000E755
$0046E066
$00485EF9
$0047B46A
$00056BD7
$0005AE51
$0005F735
$00042361
$00025A18
$000258A2
$001A1268
TCustomFormEditor.JITListException List.CurReadStreamClass=nil nil TProject.UpdateUnitComponentDependencies checking designers ... TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B -> inherited Destroy... TMainIDE [TMainIDE.Destroy] END
Program exited normally.
Once the Access Violation, is showed, I close lazarus, and I get other AV about deleting TPConnection
Giuseppe Luigi Punzi Ruiz
Blog: http://www.lordzealon.com
Twitter & Skype & GoogleTalk accounts: glpunzi