Re: [lazarus] Weird crash - update
I just ran svn update and tried it, make clean, make, and then rebuild from inside the IDE, worked like a charm - thanks guys (sadly I lost a day on my big project). To clariy for Neal, let me just say I am not on pclinuxos 2007 yet, waiting for a stable release, so I'm on the last stable which as a lazarus package - that being how I orriginally installed it with deps. I have been using lazarus from svn on this system for a LONG time and never had a problem before. BTW. I don't know if this is newsworth for the site (it may be) but the project I am working on is a lazarus one (just like OutKafe which it is based on), and will see over 3000 deployments within the year. http://outkastsolutions.co.za/outkast/index.php?option=com_contenttask=viewid=33Itemid=1 Ciao A.J. On 5/11/07, pineal [EMAIL PROTECTED] wrote: On Friday 11 May 2007 17:55, Mattias Gaertner wrote: On Fri, 11 May 2007 10:41:48 +0200 A.J. Venter [EMAIL PROTECTED] wrote: The crash returned the moment I tried to do a 'build lazarus' from inside the IDE. Still not sure what's going on though. I am using pclinuxOS 2004, I have installed the lazarus package from synaptic (to get all the dependencies quickly) but I use svn versions for actual work . I fixed a bug with similar warnings. Can you test please, if this was the bug? Mattias --snipped rest-- Hi Mattias, I have just tested the latest svn twice. Once, I have just installed a new version of my OS PCLinuxOS TR4. They have an fpc package 2.1.1 which I have installed. I downloaded the latest svn and then tried my normal compile make clean all. It failed. It didn't get very far and I haven't tested it thoroughly yet, but there may be missing gtk libraries or other stuff. On my current working system I have just updated svn and compiled, I work with Laz under gtk2 and both builds proceeded without problem. The IDE under gtk after a quick cursory glance seemed ok. Under gtk2 it rebuilt without problem and is now running. With all the 'weirdness' that had been happening and has now disappeared I would say that it was indeed the bug. many thanks neal. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Weird crash - update
The crash returned the moment I tried to do a 'build lazarus' from inside the IDE. Still not sure what's going on though. I am using pclinuxOS 2004, I have installed the lazarus package from synaptic (to get all the dependencies quickly) but I use svn versions for actual work . Here is the full console output: [EMAIL PROTECTED] lazarus]$ ./lazarus TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 NOTE: editor options config file not found - using defaults NOTE: codetools config file not found - using defaults NOTE: help options config file not found - using defaults TMainIDE.DoNewProject A TMainIDE.DoNewEditorFile A NewFilename= [TCustomFormEditor.CreateComponent] Class='TForm' TMainIDE.DoNewEditorFile end unit1.pas Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. ERROR in LCL: TGtkWidgetSet.DeleteObject invalid GdiObject=-1214470328 Creating gdb catchable error: $0807A4A8 RAISEGDBEXCEPTION, line 771 of lclproc.pas $081136FB RAISEINVALIDGDIOBJECT, line 2396 of gtkwinapi.inc $0811355D TGTKWIDGETSET__DELETEOBJECT, line 2418 of gtkwinapi.inc $0811A953 TGTKWIDGETSET__GETSTOCKOBJECT, line 5745 of gtkwinapi.inc $0814DE51 GETSTOCKOBJECT, line 416 of ./include/winapi.inc $08160447 TCANVAS__TEXTRECT, line 1022 of ./include/canvas.inc $0812F24D TPROMPTDIALOG__PAINT, line 149 of ./include/promptdialog.inc $0807019E TCUSTOMFORM__PAINTWINDOW, line 774 of ./include/customform.inc $08139E34 TWINCONTROL__PAINTHANDLER, line 3009 of ./include/wincontrol.inc TApplication.HandleException Invalid floating point operation Stack trace: $0807A4C9 RAISEGDBEXCEPTION, line 772 of lclproc.pas $081136FB RAISEINVALIDGDIOBJECT, line 2396 of gtkwinapi.inc $0811355D TGTKWIDGETSET__DELETEOBJECT, line 2418 of gtkwinapi.inc $0811A953 TGTKWIDGETSET__GETSTOCKOBJECT, line 5745 of gtkwinapi.inc $0814DE51 GETSTOCKOBJECT, line 416 of ./include/winapi.inc $08160447 TCANVAS__TEXTRECT, line 1022 of ./include/canvas.inc $0812F24D TPROMPTDIALOG__PAINT, line 149 of ./include/promptdialog.inc $0807019E TCUSTOMFORM__PAINTWINDOW, line 774 of ./include/customform.inc $08139E34 TWINCONTROL__PAINTHANDLER, line 3009 of ./include/wincontrol.inc $0813CEDF TWINCONTROL__WMPAINT, line 4730 of ./include/wincontrol.inc $08149662 TCUSTOMCONTROL__WMPAINT, line 107 of ./include/customcontrol.inc $0806FA57 TCUSTOMFORM__WMPAINT, line 522 of ./include/customform.inc $0805E424 $081433A2 TCONTROL__WNDPROC, line 1542 of ./include/control.inc $0813AD3E TWINCONTROL__WNDPROC, line 3486 of ./include/wincontrol.inc $08070581 TCUSTOMFORM__WNDPROC, line 925 of ./include/customform.inc $08171259 DELIVERMESSAGE, line 3555 of gtkproc.inc Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. ERROR in LCL: TGtkWidgetSet.StretchCopyArea SrcDC=B7847468 Drawable=nil Creating gdb catchable error: $0807A4A8 RAISEGDBEXCEPTION, line 771 of lclproc.pas $081068E3 RAISESRCDRAWABLENIL, line 3303 of gtkobject.inc $081064F6 TGTKWIDGETSET__STRETCHCOPYAREA, line 3335 of gtkobject.inc $0811F54E TGTKWIDGETSET__STRETCHBLT, line 9443 of gtkwinapi.inc $0814F108 STRETCHBLT, line 831 of ./include/winapi.inc $0815E848
Re: [lazarus] Weird crash - update
On Fri, 11 May 2007 10:41:48 +0200 A.J. Venter [EMAIL PROTECTED] wrote: The crash returned the moment I tried to do a 'build lazarus' from inside the IDE. Still not sure what's going on though. I am using pclinuxOS 2004, I have installed the lazarus package from synaptic (to get all the dependencies quickly) but I use svn versions for actual work . I fixed a bug with similar warnings. Can you test please, if this was the bug? Mattias Here is the full console output: [EMAIL PROTECTED] lazarus]$ ./lazarus TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 NOTE: editor options config file not found - using defaults NOTE: codetools config file not found - using defaults NOTE: help options config file not found - using defaults TMainIDE.DoNewProject A TMainIDE.DoNewEditorFile A NewFilename= [TCustomFormEditor.CreateComponent] Class='TForm' TMainIDE.DoNewEditorFile end unit1.pas Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. ERROR in LCL: TGtkWidgetSet.DeleteObject invalid GdiObject=-1214470328 Creating gdb catchable error: $0807A4A8 RAISEGDBEXCEPTION, line 771 of lclproc.pas $081136FB RAISEINVALIDGDIOBJECT, line 2396 of gtkwinapi.inc $0811355D TGTKWIDGETSET__DELETEOBJECT, line 2418 of gtkwinapi.inc $0811A953 TGTKWIDGETSET__GETSTOCKOBJECT, line 5745 of gtkwinapi.inc $0814DE51 GETSTOCKOBJECT, line 416 of ./include/winapi.inc $08160447 TCANVAS__TEXTRECT, line 1022 of ./include/canvas.inc $0812F24D TPROMPTDIALOG__PAINT, line 149 of ./include/promptdialog.inc $0807019E TCUSTOMFORM__PAINTWINDOW, line 774 of ./include/customform.inc $08139E34 TWINCONTROL__PAINTHANDLER, line 3009 of ./include/wincontrol.inc TApplication.HandleException Invalid floating point operation Stack trace: $0807A4C9 RAISEGDBEXCEPTION, line 772 of lclproc.pas $081136FB RAISEINVALIDGDIOBJECT, line 2396 of gtkwinapi.inc $0811355D TGTKWIDGETSET__DELETEOBJECT, line 2418 of gtkwinapi.inc $0811A953 TGTKWIDGETSET__GETSTOCKOBJECT, line 5745 of gtkwinapi.inc $0814DE51 GETSTOCKOBJECT, line 416 of ./include/winapi.inc $08160447 TCANVAS__TEXTRECT, line 1022 of ./include/canvas.inc $0812F24D TPROMPTDIALOG__PAINT, line 149 of ./include/promptdialog.inc $0807019E TCUSTOMFORM__PAINTWINDOW, line 774 of ./include/customform.inc $08139E34 TWINCONTROL__PAINTHANDLER, line 3009 of ./include/wincontrol.inc $0813CEDF TWINCONTROL__WMPAINT, line 4730 of ./include/wincontrol.inc $08149662 TCUSTOMCONTROL__WMPAINT, line 107 of ./include/customcontrol.inc $0806FA57 TCUSTOMFORM__WMPAINT, line 522 of ./include/customform.inc $0805E424 $081433A2 TCONTROL__WNDPROC, line 1542 of ./include/control.inc $0813AD3E TWINCONTROL__WNDPROC, line 3486 of ./include/wincontrol.inc $08070581 TCUSTOMFORM__WNDPROC, line 925 of ./include/customform.inc $08171259 DELIVERMESSAGE, line 3555 of gtkproc.inc Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. Gdk-CRITICAL **: file gdkfont.c: line 376 (gdk_text_width): assertion `font != NULL' failed. ERROR in LCL: TGtkWidgetSet.StretchCopyArea SrcDC=B7847468 Drawable=nil Creating gdb catchable error: $0807A4A8 RAISEGDBEXCEPTION, line 771 of lclproc.pas $081068E3
Re: [lazarus] Weird crash - update
On Friday 11 May 2007 17:55, Mattias Gaertner wrote: On Fri, 11 May 2007 10:41:48 +0200 A.J. Venter [EMAIL PROTECTED] wrote: The crash returned the moment I tried to do a 'build lazarus' from inside the IDE. Still not sure what's going on though. I am using pclinuxOS 2004, I have installed the lazarus package from synaptic (to get all the dependencies quickly) but I use svn versions for actual work . I fixed a bug with similar warnings. Can you test please, if this was the bug? Mattias --snipped rest-- Hi Mattias, I have just tested the latest svn twice. Once, I have just installed a new version of my OS PCLinuxOS TR4. They have an fpc package 2.1.1 which I have installed. I downloaded the latest svn and then tried my normal compile make clean all. It failed. It didn't get very far and I haven't tested it thoroughly yet, but there may be missing gtk libraries or other stuff. On my current working system I have just updated svn and compiled, I work with Laz under gtk2 and both builds proceeded without problem. The IDE under gtk after a quick cursory glance seemed ok. Under gtk2 it rebuilt without problem and is now running. With all the 'weirdness' that had been happening and has now disappeared I would say that it was indeed the bug. many thanks neal. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives