[lazarus] Just another bug
Vasily I. Volchenko
Vasily.Volchenko at mstu.edu.ru
Tue Nov 5 06:25:37 EST 2002
> > Sounds like the old streaming bug in the fcl. When it happens next time,
> > plz send the lfm and lrs file of the form with the error. And also the
> > gdb backtrace.
>
> Ok, I'll send this tomorrow.
Here they are. Source code and dumps.
lclcmd.tgz
[root at localhost LCMDLCL]# ./lincmd
Form Stream "TFORM1" Signature=TPF0
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
TODO: TCustomListView.UpdateScrollbars
Form Stream "TCOPYFORM" Signature=TPF0
Form Stream "TFEDVIEW" Signature=TPF0
Form streaming "TFEDVIEW" error: Error while reading TFEDVIEW.HEIGHT: Access violation
**SH: Warn: creating MenuItem with Owner = nil
An unhandled exception occurred at 0x08081901 :
Access violation
0x08081901 TFEDVIEW__CREATE, line 62 of edview.pas
0x00000010
An unhandled exception occurred at 0x080EF9EA :
Access violation
0x080EF9EA
[TgtkObject.Destroy] WARNING: There are 474 unreleased DCs, a detailed dump follows:
[TgtkObject.Destroy] DCs: 081ED844 081ECCC4 081EAAA4 081EA494 081E9F04 081E8DE4 081E8854
[TgtkObject.Destroy] WARNING: There are 2853 unreleased GDIObjects, a detailed dump follows:
[TgtkObject.Destroy] GDIOs: 081EEBC4 081EEB14 081EEA84 081EEA34 081EE684 081EE584 081EE4F4
[TgtkObject.Destroy] gdiBitmap: 474
[TgtkObject.Destroy] gdiBrush: 954
[TgtkObject.Destroy] gdiFont: 948
[TgtkObject.Destroy] gdiPen: 477
forms.pp - finalization section
[root at localhost LCMDLCL]#gdb ./lincmd
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 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-redhat-linux"...
(gdb) r
Starting program: /usr/src/pascal/my/LCMDLCL/lincmd
Form Stream "TFORM1" Signature=TPF0
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED!
TODO: TCustomListView.UpdateScrollbars
Form Stream "TCOPYFORM" Signature=TPF0
Form Stream "TFEDVIEW" Signature=TPF0
Program received signal SIGSEGV, Segmentation fault.
TREADER__READPROPVALUE (INSTANCE=$81eed74, PROPINFO=$8102df9, this=$81f0284)
at reader.inc:994
994 reader.inc: No such file or directory.
in reader.inc
Current language: auto; currently pascal
(gdb) bt
#0 TREADER__READPROPVALUE (INSTANCE=$81eed74, PROPINFO=$8102df9,
this=$81f0284) at reader.inc:994
#1 $080eb015 in TREADER__READPROPERTY (AINSTANCE=$81eed74, this=$81f0284)
at reader.inc:952
#2 $080eaa3c in TREADER__READDATA (INSTANCE=$81eed74, this=$81f0284)
at reader.inc:789
#3 $080e4f1d in TCOMPONENT__READSTATE (READER=$81f0284, this=$81eed74)
at compon.inc:249
#4 $080eb8d6 in TREADER__READROOTCOMPONENT (AROOT=$81eed74, this=$81f0284)
at reader.inc:1117
#5 $080df1af in TSTREAM__READCOMPONENT (INSTANCE=$81eed74, this=$8138d34)
at streams.inc:185
#6 $080aa5e1 in INITCOMPONENT (CLASSTYPE=$81025e8) at forms.pp:650
#7 $080aa75a in INITRESOURCECOMPONENT (INSTANCE=$81eed74,
ROOTANCESTOR=$8118be0) at forms.pp:673
#8 $080ac60e in TCUSTOMFORM__CREATE (AOWNER=$812dec4, this=$81eed74)
at customform.inc:766
#9 $080818ad in TFEDVIEW__CREATE (AOWNER=$812dec4, this=$81eed74)
at edview.pas:59
#10 $080adbdd in TAPPLICATION__CREATEFORM (NEWFORM=$81025e8, REF=void,
this=$812dec4) at application.inc:373
#11 $080a6222 in TFORM1__F3CLICK (SENDER=$81332c4, this=$81332c4)
at lcmdu1.pas:162
#12 $080a793a in TFORM1__FORM1KEYDOWN (SENDER=$81332c4, KEY=114,
---Type <return> to continue, or q <return> to quit---
SHIFT=[SSSUPER..SSALTGR, SSNUM..SSTRIPLE], this=$81332c4) at lcmdu1.pas:368
#13 $080c9c05 in TWINCONTROL__KEYDOWN (KEY=114, SHIFT=[], this=$81332c4)
at wincontrol.inc:1260
#14 $080c9cf6 in TWINCONTROL__DOKEYDOWN (MESSAGE=
{MSG = 256, CHARCODE = 114, UNUSED = 0, KEYDATA = 1, RESULT = 0},
this=$81332c4) at wincontrol.inc:1301
#15 $080cab3d in TWINCONTROL__WMKEYDOWN (MESSAGE=
{MSG = 256, CHARCODE = 114, UNUSED = 0, KEYDATA = 1, RESULT = 0},
this=$81332c4) at wincontrol.inc:2041
#16 $080f5385 in _SYSLINUX ()
#17 $080cc650 in TCONTROL__WNDPROC (THEMESSAGE=
{MSG = 256, WPARAM = 114, LPARAM = 1, RESULT = 0, WPARAMLO = 114, WPARAMHI = 0, LPARAMLO = 1, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=$81332c4)
at control.inc:840
#18 $080c9b3c in TWINCONTROL__WNDPROC (MESSAGE=
{MSG = 256, WPARAM = 114, LPARAM = 1, RESULT = 0, WPARAMLO = 114, WPARAMHI = 0, LPARAMLO = 1, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=$81332c4)
at wincontrol.inc:1209
#19 $080ac38b in TCUSTOMFORM__WNDPROC (THEMESSAGE=
{MSG = 256, WPARAM = 114, LPARAM = 1, RESULT = 0, WPARAMLO = 114, WPARAMHI = 0, LPARAMLO = 1, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=$81332c4)
at customform.inc:660
#20 $08053b93 in DELIVERMESSAGE (TARGET=$81332c4, AMESSAGE=void)
at gtkproc.inc:1071
---Type <return> to continue, or q <return> to quit---
#21 $08058bc1 in GTKKEYUPDOWN (WIDGET=$8910398, EVENT=$892ae20, DATA=$81332c4)
at gtkcallback.inc:502
#22 $401cda9c in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#23 $402013e6 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#24 $4020071d in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#25 $401fe4d5 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#26 $40238b49 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#27 $401cd978 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#28 $401cca1f in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#29 $4027dd6f in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#30 $402ac773 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#31 $402acd39 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#32 $402ace1e in g_main_iteration () from /usr/lib/libglib-1.2.so.0
#33 $401cc5e6 in gtk_main_iteration_do () from /usr/lib/libgtk-1.2.so.0
#34 $08069863 in TGTKOBJECT__WAITMESSAGE (this=$812e994) at gtkobject.inc:711
#35 $080ad74c in TAPPLICATION__IDLE (this=$812dec4) at application.inc:229
#36 $080ada38 in TAPPLICATION__HANDLEMESSAGE (this=$812dec4)
at application.inc:314
#37 $080ada5f in TAPPLICATION__RUN (this=$812dec4) at application.inc:327
#38 $080f9d5e in main () at lincmd.lpr:17
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) c
Continuing.
Form streaming "TFEDVIEW" error: Error while reading TFEDVIEW.HEIGHT: Access violation
**SH: Warn: creating MenuItem with Owner = nil
Program received signal SIGSEGV, Segmentation fault.
$08081901 in TFEDVIEW__CREATE (AOWNER=$812dec4, this=$81eed74) at edview.pas:62
62 MMenu.Items.Add(MI);
(gdb) bt
#0 $08081901 in TFEDVIEW__CREATE (AOWNER=$812dec4, this=$81eed74)
at edview.pas:62
#1 $080adbdd in TAPPLICATION__CREATEFORM (NEWFORM=$81025e8, REF=void,
this=$812dec4) at application.inc:373
#2 $080a6222 in TFORM1__F3CLICK (SENDER=$81332c4, this=$81332c4)
at lcmdu1.pas:162
#3 $080a793a in TFORM1__FORM1KEYDOWN (SENDER=$81332c4, KEY=114, SHIFT=[],
this=$81332c4) at lcmdu1.pas:368
#4 $080c9c05 in TWINCONTROL__KEYDOWN (KEY=114, SHIFT=[], this=$81332c4)
at wincontrol.inc:1260
#5 $080c9cf6 in TWINCONTROL__DOKEYDOWN (MESSAGE=
{MSG = 256, CHARCODE = 114, UNUSED = 0, KEYDATA = 1, RESULT = 0},
this=$81332c4) at wincontrol.inc:1301
#6 $080cab3d in TWINCONTROL__WMKEYDOWN (MESSAGE=
{MSG = 256, CHARCODE = 114, UNUSED = 0, KEYDATA = 1, RESULT = 0},
this=$81332c4) at wincontrol.inc:2041
#7 $080f5385 in _SYSLINUX ()
#8 $080cc650 in TCONTROL__WNDPROC (THEMESSAGE=
{MSG = 256, WPARAM = 114, LPARAM = 1, RESULT = 0, WPARAMLO = 114, WPARAMHI = 0, LPARAMLO = 1, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=$81332c4)
at control.inc:840
#9 $080c9b3c in TWINCONTROL__WNDPROC (MESSAGE=
{MSG = 256, WPARAM = 114, LPARAM = 1, RESULT = 0, WPARAMLO = 114, WPARAMHI = 0, LPARAMLO = 1, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=$81332c4)
---Type <return> to continue, or q <return> to quit---
at wincontrol.inc:1209
#10 $080ac38b in TCUSTOMFORM__WNDPROC (THEMESSAGE=
{MSG = 256, WPARAM = 114, LPARAM = 1, RESULT = 0, WPARAMLO = 114, WPARAMHI = 0, LPARAMLO = 1, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, this=$81332c4)
at customform.inc:660
#11 $08053b93 in DELIVERMESSAGE (TARGET=$81332c4, AMESSAGE=void)
at gtkproc.inc:1071
#12 $08058bc1 in GTKKEYUPDOWN (WIDGET=$8910398, EVENT=$892ae20, DATA=$81332c4)
at gtkcallback.inc:502
#13 $401cda9c in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#14 $402013e6 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#15 $4020071d in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#16 $401fe4d5 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#17 $40238b49 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#18 $401cd978 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#19 $401cca1f in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#20 $4027dd6f in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#21 $402ac773 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#22 $402acd39 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#23 $402ace1e in g_main_iteration () from /usr/lib/libglib-1.2.so.0
#24 $401cc5e6 in gtk_main_iteration_do () from /usr/lib/libgtk-1.2.so.0
#25 $08069863 in TGTKOBJECT__WAITMESSAGE (this=$812e994) at gtkobject.inc:711
#26 $080ad74c in TAPPLICATION__IDLE (this=$812dec4) at application.inc:229
#27 $080ada38 in TAPPLICATION__HANDLEMESSAGE (this=$812dec4)
---Type <return> to continue, or q <return> to quit---
at application.inc:314
#28 $080ada5f in TAPPLICATION__RUN (this=$812dec4) at application.inc:327
#29 $080f9d5e in main () at lincmd.lpr:17
(gdb) q
The program is running. Exit anyway? (y or n) y
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00007.bin
Type: application/octet-stream
Size: 27230 bytes
Desc: "[root at localhost LCMDLCL]#"
Url : http://localhost/pipermail/lazarus/attachments/20021105/fafc6451/bin00007.bin
More information about the Lazarus
mailing list