[lazarus] Segfault opening editor

Michael Anthon mca at tams.com.au
Tue May 18 04:42:01 EDT 1999


Since updating from CVS this morning I am not able to open a file in the
editor as it segfaults as soon as I try opening the file.  I am including a
backtrace for it.  

Is it possible to debug the pascal code using gdb?  If so, how would I
enable debug symbols?  I'd like to get a bit more info on where it is
failing and try to track it down...

Cheers
Michael Anthon

(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x806e1a0 in _SYSLINUX ()
(gdb) bt
#0  0x806e1a0 in _SYSLINUX ()
#1  0x806e00c in _SYSLINUX ()
#2  0x806b876 in _SYSLINUX ()
#3  0x806be57 in _SYSLINUX ()
#4  0x806bb3f in FPC_SHORTSTR_TO_ANSISTR ()
#5  0x804bf85 in _EDITOR ()
#6  0x804d6a7 in _EDITOR ()
#7  0x804bb8f in _DIALOGS ()
#8  0x804b98e in gtkOnOK ()
#9  0x401fdcf3 in gtk_marshal_NONE__NONE (object=0x82b3650, func=0x804b95c
<gtkOnOK>, func_data=0x8085e48, args=0xbfffeebc)
    at gtkmarshal.c:344
#10 0x401c61a6 in gtk_handlers_run (handlers=0x82bee60, signal=0xbfffee78,
object=0x82b3650, params=0xbfffeebc, after=0)
    at gtksignal.c:1909
#11 0x401c56bc in gtk_signal_real_emit (object=0x82b3650, signal_id=73,
params=0xbfffeebc) at gtksignal.c:1469
#12 0x401c3a58 in gtk_signal_emit (object=0x82b3650, signal_id=73) at
gtksignal.c:552
#13 0x401423b8 in gtk_button_clicked (button=0x82b3650) at gtkbutton.c:338
#14 0x4017a43c in gtk_file_selection_file_button (widget=0x82b78d0, row=2,
column=0, bevent=0x82aec3c, user_data=0x82b08b8)
    at gtkfilesel.c:1236
#15 0x401fdcd3 in gtk_marshal_NONE__INT_INT_POINTER (object=0x82b78d0,
func=0x4017a348 <gtk_file_selection_file_button>, 
    func_data=0x82b08b8, args=0xbffff234) at gtkmarshal.c:328
#16 0x401c61a6 in gtk_handlers_run (handlers=0x82a1740, signal=0xbffff1f0,
object=0x82b78d0, params=0xbffff234, after=0)
    at gtksignal.c:1909
#17 0x401c56bc in gtk_signal_real_emit (object=0x82b78d0, signal_id=77,
params=0xbffff234) at gtksignal.c:1469
#18 0x401c3a58 in gtk_signal_emit (object=0x82b78d0, signal_id=77) at
gtksignal.c:552
#19 0x4015396c in gtk_clist_button_press (widget=0x82b78d0, event=0x82aec3c)
at gtkclist.c:5000
#20 0x401fd9d1 in gtk_marshal_BOOL__POINTER (object=0x82b78d0,
func=0x40153598 <gtk_clist_button_press>, func_data=0x0, 
    args=0xbffff594) at gtkmarshal.c:30
#21 0x401c56f3 in gtk_signal_real_emit (object=0x82b78d0, signal_id=20,
params=0xbffff594) at gtksignal.c:1484
#22 0x401c3a58 in gtk_signal_emit (object=0x82b78d0, signal_id=20) at
gtksignal.c:552
#23 0x401f57c0 in gtk_widget_event (widget=0x82b78d0, event=0x82aec3c) at
gtkwidget.c:2788
#24 0x4019bd9d in gtk_propagate_event (widget=0x82b78d0, event=0x82aec3c) at
gtkmain.c:1295
#25 0x4019b106 in gtk_main_do_event (event=0x82aec3c) at gtkmain.c:752
#26 0x400bcbee in gdk_event_dispatch (source_data=0x0,
current_time=0xbffff914, user_data=0x0) at gdkevents.c:2086
#27 0x402d8b13 in g_main_dispatch (current_time=0xbffff914) at gmain.c:656
#28 0x402d909b in g_main_iterate (block=1, dispatch=1) at gmain.c:865
#29 0x402d921d in g_main_run (loop=0x82ae0f0) at gmain.c:923
#30 0x4019ab9b in gtk_main () at gtkmain.c:475
#31 0x8050ec0 in _GUIAPI ()
#32 0x80634fd in _FORMS ()
#33 0x80713da in program_init ()






More information about the Lazarus mailing list