GMC segfaults on Edit->Preferences

In GMC, when I select Edit->Preferences, it segfaults.

This is a RedHat 5.1/Rawhide system with a 2.1.131 kernel and glibc
2.0.108.  Glib and GTK+ are both versions 1.1.11, gnome-libs and
gnome-core from GNOME_STABLE anonymous CVS on Friday.

Here's the debug session:

$ gdb gmc
GNU gdb 4.17
[copyright & disclaimer snipped]
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /opt/gnome/bin/gmc 

** WARNING **: Root window clicks will not work as no GNOME-compliant
window manager could be found!
[I'm running FVWM version 2.0.47]

[At this point the main window came up]
[Edit->Preferences selected from the menu]

Program received signal SIGSEGV, Segmentation fault.
0x403e2e69 in g_copy_strings (
    first=0x12 <Address 0x12 out of bounds>) at gnome-util.c:283
283             len = strlen (first);
(gdb) bt
#0  0x403e2e69 in g_copy_strings (
    first=0x12 <Address 0x12 out of bounds>) at gnome-util.c:283
#1  0x40093002 in gnome_stock_button (
    type=0x12 <Address 0x12 out of bounds>) at gnome-stock.c:858
#2  0x80ab0a2 in x_create_button (h=0x81edd80, parent=136240624, 
    b=0x81f6818) at gwidget.c:118
#3  0x80685e2 in button_callback (h=0x81edd80, b=0x81f6818, Msg=0, 
    Par=0) at widget.c:86
#4  0x8064863 in init_dlg (h=0x81edd80) at dlg.c:385
#5  0x8064d25 in run_dlg (h=0x81edd80) at dlg.c:902
#6  0x809321a in configure_box () at option.c:250
#7  0x402a870d in gtk_marshal_NONE__NONE (object=0x8177fa0, 
    func=0x8093204 <configure_box>, func_data=0x8168020, 
    args=0xbffff300) at gtkmarshal.c:363
#8  0x402699c5 in gtk_handlers_run (handlers=0x8141960, 
    signal=0xbffff2bc, object=0x8177fa0, params=0xbffff300, after=0)
    at gtksignal.c:1866
#9  0x40269078 in gtk_signal_real_emit (object=0x8177fa0, 
    signal_id=76, params=0xbffff300) at gtksignal.c:1434
#10 0x402678b5 in gtk_signal_emit (object=0x8177fa0, signal_id=76)
    at gtksignal.c:517
#11 0x4029f19c in gtk_widget_activate (widget=0x8177fa0)
    at gtkwidget.c:2654
#12 0x4024341a in gtk_menu_shell_activate_item (
    menu_shell=0x8175278, menu_item=0x8177fa0, force_deactivate=1)
    at gtkmenushell.c:850
#13 0x40242842 in gtk_menu_shell_button_release (widget=0x8175278, 
    event=0x817bed8) at gtkmenushell.c:513
#14 0x402a8345 in gtk_marshal_BOOL__POINTER (object=0x8175278, 
    func=0x402426fc <gtk_menu_shell_button_release>, func_data=0x0, 
    args=0xbffff674) at gtkmarshal.c:32
#15 0x402690b1 in gtk_signal_real_emit (object=0x8175278, 
    signal_id=27, params=0xbffff674) at gtksignal.c:1449
#16 0x402678b5 in gtk_signal_emit (object=0x8175278, signal_id=27)
    at gtksignal.c:517
#17 0x4029f049 in gtk_widget_event (widget=0x8175278, 
    event=0x817bed8) at gtkwidget.c:2628
#18 0x4023b782 in gtk_propagate_event (widget=0x8177fa0, 
    event=0x817bed8) at gtkmain.c:1239
#19 0x4023b2ad in gtk_main_do_event (event=0x817bed8)
    at gtkmain.c:698
#20 0x402e7ac9 in gdk_event_dispatch (source_data=0x0, 
    current_time=0xbffff9ec, user_data=0x0) at gdkevents.c:1966
#21 0x40437ba3 in g_main_dispatch (current_time=0xbffff9ec)
    at gmain.c:390
#22 0x40437fc1 in g_main_iterate (block=1, dispatch=1) at gmain.c:574
#23 0x40438849 in g_main_run (loop=0x81e3900) at gmain.c:618
#24 0x4023af57 in gtk_main () at gtkmain.c:458
#25 0x809fbdc in gtkrundlg_event (h=0x8166c38) at gmain.c:343
#26 0x8064d2b in run_dlg (h=0x8166c38) at dlg.c:903
#27 0x809f812 in create_panels () at gmain.c:544
#28 0x8062a1b in do_nc () at main.c:1826
#29 0x80635de in main (argc=1, argv=0xbffffb54) at main.c:2985
#30 0x40465827 in __libc_start_main (main=0x8063274 <main>, argc=1, 
    argv=0xbffffb54, init=0x805ede0 <_init>, fini=0x80d4b0c <_fini>, 
    rtld_fini=0x4000a710 <_dl_fini>, stack_end=0xbffffb4c)
    at ../sysdeps/generic/libc-start.c:78
(gdb) print first
$1 = 0x12 <Address 0x12 out of bounds>

As far as I can tell, things look like they go wrong somewhere in either
option.c, dlg.c, widget.c or gwidget.c.  I can't locate any of these
files, so I don't know what's going wrong.

Thanks alot,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]