[lazarus] Lazarus crash when I paste any component into a form

José Enrique Alvarez Estrada jeae at prodigy.net.mx
Sun Mar 11 13:11:30 EST 2001


Hi, folks:

Like Daniel Hagemeister said, Lazarus crash when I paste a component into 
a form. I tried the solution that Michael A. Hess proposed:

>There hasn't been a new nightly build for several days for the same
>>reason as you indicate below. There is a new one now.

> >The nightly cvs-sources does not compile (i use the
> >1.0.5-rpm's). The process aborts with the output:

>This was just fixed and you can build from CVS again.

The CVS compiled well, but the crash problem continue. Is it possible my 
GTK+ version is old? I have libgtk-1.2.so.0.5.1. The errors while crash 
are:

My stderror says:
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkpixmap.c: line 97 (gtk_pixmap_new): assertion 
`val != NULL' failed.
Gtk-CRITICAL **: file gtkbox.c: line 331 (gtk_box_pack_start): assertion 
`child != NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1424 (gtk_widget_show): assertion 
`widget != NULL' failed.
Gtk-CRITICAL **: file gtkcontainer.c: line 728 (gtk_container_remove): 
assertion `widget != NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1385 (gtk_widget_destroy): 
assertion `GTK_IS_WIDGET (widget)' failed.
Gdk-CRITICAL **: file gdkpixmap.c: line 63 (gdk_pixmap_new): assertion 
`(width != 0) && (height != 0)' failed.
Gtk-CRITICAL **: file gtkpixmap.c: line 97 (gtk_pixmap_new): assertion 
`val != NULL' failed.
Gtk-CRITICAL **: file gtkbox.c: line 331 (gtk_box_pack_start): assertion 
`child != NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1424 (gtk_widget_show): assertion 
`widget != NULL' failed.
Gtk-CRITICAL **: file gtkcontainer.c: line 728 (gtk_container_remove): 
assertion `widget != NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1385 (gtk_widget_destroy): 
assertion `GTK_IS_WIDGET (widget)' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1385 (gtk_widget_destroy): 
assertion `GTK_IS_WIDGET (widget)' failed.
Gtk-CRITICAL **: file gtkpixmap.c: line 97 (gtk_pixmap_new): assertion 
`val != NULL' failed.
Gtk-CRITICAL **: file gtkbox.c: line 331 (gtk_box_pack_start): assertion 
`child != NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1424 (gtk_widget_show): assertion 
`widget != NULL' failed.
Gtk-CRITICAL **: file gtkcontainer.c: line 728 (gtk_container_remove): 
assertion `widget != NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1385 (gtk_widget_destroy): 
assertion `GTK_IS_WIDGET (widget)' failed.
Gdk-CRITICAL **: file gdkpixmap.c: line 63 (gdk_pixmap_new): assertion 
`(width != 0) && (height != 0)' failed.
Gtk-CRITICAL **: file gtkpixmap.c: line 97 (gtk_pixmap_new): assertion 
`val != NULL' failed.
Gtk-CRITICAL **: file gtkbox.c: line 331 (gtk_box_pack_start): assertion 
`child != NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1424 (gtk_widget_show): assertion 
`widget != NULL' failed.
Gtk-CRITICAL **: file gtkcontainer.c: line 728 (gtk_container_remove): 
assertion `widget != NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1385 (gtk_widget_destroy): 
assertion `GTK_IS_WIDGET (widget)' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 1385 (gtk_widget_destroy): 
assertion `GTK_IS_WIDGET (widget)' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkwindow.c: line 436 (gtk_window_set_focus): 
assertion `GTK_WIDGET_CAN_FOCUS (focus)' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.
Gtk-CRITICAL **: file gtkrange.c: line 250 (gtk_range_get_adjustment): 
assertion `range != NULL' failed.

My stdin says:

[TCustomComboBox] DoChange
An unhandled exception occurred at 0x0805BD8C :
Access violation
  0x0805BD8C  TSOURCEEDITOR__GETANCESTOR,  line 1170 of uniteditor.pp
  0x00000001
  0x403AC494  main,  line 35 of graphics.pplcllinux.pp

must be nil
An unhandled exception occurred at 0x08072375 :
Access violation
  0x08072375  TIDECOMPLIST__FINDCOMPBYREGCOMPONENT,  line 162 of 
idecomp.pp
  0x0811ADE0
  0x080BDCCA  TMAINIDE__CONTROLCLICK,  line 1102 of main.pp
  0x080CE2BE  TCUSTOMNOTEBOOK__CHANGE,  line 422 of 
./include/customnotebook.inc
  0x080CE308  TCUSTOMNOTEBOOK__CNNOTIFY,  line 436 of 
./include/customnotebook.inc
  0x0811A8F5
  0x080EDE94  TCONTROL__WNDPROC,  line 483 of ./include/control.inc
  0x080EBBC7  TWINCONTROL__WNDPROC,  line 707 of ./include/wincontrol.inc
  0x080ED909  TCONTROL__PERFORM,  line 226 of ./include/control.inc
  0x080E9B07  DOCONTROLMSG,  line 890 of controls.pp
  0x080ECBD4  TWINCONTROL__WMNOTIFY,  line 1424 of 
./include/wincontrol.inc
  0x0811A8F5
  0x080EDE94  TCONTROL__WNDPROC,  line 483 of ./include/control.inc
  0x080EBBC7  TWINCONTROL__WNDPROC,  line 707 of ./include/wincontrol.inc
  0x080D67EE  DELIVERMESSAGE,  line 474 of ./interfaces/gtk/gtkproc.inc
  0x080D8309  GTKSWITCHPAGE,  line 645 of 
./interfaces/gtk/gtkcallback.inc
  0x401D6F39  main,  line 35 of graphics.pplcllinux.pp
  0x402045FD  main,  line 35 of graphics.pplcllinux.pp
  0x40203A42  main,  line 35 of graphics.pplcllinux.pp
  0x40201B95  main,  line 35 of graphics.pplcllinux.pp
  0xBFFFF4A7
An unhandled exception occurred at 0x0811558A :
Access violation
  0x0811558A
  0x3020200C  main,  line 35 of graphics.pplcllinux.pp
  0x00000000

[TgtkObject.Destroy] WARNING: There are 140 unreleased DCs and 521 
unreleased GDIObjects

I downloaded and compiled the last CVS version yesterday (saturday, 
march, 10, 2001).

Thanks

José Enrique Alvarez






More information about the Lazarus mailing list