bug contest




There seems to be a funky bug down in the depths of the code somewhere -
could be in Guppi, or Gtk--, or Gtk+, I don't know. Anyway if anyone is up
for a challenge, I will love you if you can explain this segfault. A
similar one was happening when the window was created a few days ago, but
now it's happening when the window's contents are created. And a couple
times it didn't happen at all. Someone somewhere is randomly overwriting
memory...  anyone own purify or insure++ or the like? 

Thanks for any advice - here's the trace, caused by choosing the Info...
item from Guppi's popup menu. Up to frame 16 is just the callback from the
menuitem, then the creation of the Info dialog begins.

#0  0x4069d4cd in chunk_alloc (ar_ptr=0x406f18a0, nb=1032) at
malloc.c:2796
#1  0x4069ce85 in __libc_malloc (bytes=1024) at malloc.c:2556
#2  0x402981a1 in g_malloc (size=1024) at gmem.c:156
#3  0x4029878b in g_mem_chunk_alloc (mem_chunk=0x806c2e8) at gmem.c:608
#4  0x40295a6d in g_hash_node_new (key=0x809bd98, value=0x66) at
ghash.c:353
#5  0x402951e1 in g_hash_table_insert (hash_table=0x8073bf0,
key=0x809bd98, 
    value=0x66) at ghash.c:154
#6  0x401d4979 in gtk_signal_newv (r_name=0x40233ec0 "changed", 
    signal_flags=GTK_RUN_LAST, object_type=52757, function_offset=256, 
    marshaller=0x4022d9ac <gtk_marshal_NONE__NONE>, return_val=1,
nparams=0, 
    params=0x0) at gtksignal.c:327
#7  0x401d4af8 in gtk_signal_new (name=0x40233ec0 "changed", 
    signal_flags=GTK_RUN_LAST, object_type=52757, function_offset=256, 
    marshaller=0x4022d9ac <gtk_marshal_NONE__NONE>, return_val=1,
nparams=0)
    at gtksignal.c:376
#8  0x40157900 in gtk_editable_class_init (class=0x80dbcb0)
    at gtkeditable.c:141
#9  0x4020f3f4 in gtk_type_class_init (type=52757) at gtktypeutils.c:574
#10 0x4020f19b in gtk_type_class_init (type=53013) at gtktypeutils.c:535
#11 0x4020f19b in gtk_type_class_init (type=53269) at gtktypeutils.c:535
#12 0x4020e6da in gtk_type_class (type=53269) at gtktypeutils.c:321
#13 0x4020e818 in gtk_type_new (type=53269) at gtktypeutils.c:341
#14 0x40070063 in Gtk_Entry::Gtk_Entry (this=0x80d9860, __in_chrg=1)
---Type <return> to continue, or q <return> to quit---
    at ./../entry.gen_h:34
#15 0x8055305 in ColumnWindowImpl::ColumnWindowImpl (this=0x80d91d8, 
    __in_chrg=1, cd=@0x809f180, dialog=@0x80d7038) at columnwindow.cc:94
#16 0x80550b4 in ColumnWindow::ColumnWindow (this=0x80d7038, __in_chrg=1, 
    cd=@0x809f180) at columnwindow.cc:73
#17 0x8057e16 in ColumnListImpl::column_info (this=0x8095dd8)
    at columnlist.cc:336
#18 0x805cca1 in Slot0<ColumnListImpl>::callback (s=0x80a7c88)
    at /home/hp/local/include/gtk--sigslot.h:57
#19 0x4022d9d3 in gtk_marshal_NONE__NONE (object=0x809c168, 
    func=0x805cc74 <Slot0<ColumnListImpl>::callback(_GtkWidget *,
Slot0<ColumnLi
stImpl> *)>, func_data=0x80a7c88, args=0xbffff16c) at gtkmarshal.c:363
#20 0x401d88c2 in gtk_handlers_run (handlers=0x8075f10, signal=0xbffff128, 
    object=0x809c168, params=0xbffff16c, after=0) at gtksignal.c:1725
#21 0x401d7dcb in gtk_signal_real_emit (object=0x809c168, signal_id=97, 
    params=0xbffff16c) at gtksignal.c:1387
#22 0x401d523b in gtk_signal_emit (object=0x809c168, signal_id=97)
    at gtksignal.c:507
#23 0x40221b09 in gtk_widget_activate (widget=0x809c168) at
gtkwidget.c:2631
#24 0x401a08df in gtk_menu_shell_activate_item (menu_shell=0x809b510, 
    menu_item=0x809c168, force_deactivate=1) at gtkmenushell.c:850
#25 0x4019f4c6 in gtk_menu_shell_button_release (widget=0x809b510, 
    event=0x80d4550) at gtkmenushell.c:513
---Type <return> to continue, or q <return> to quit---
#26 0x4008abd4 in Gtk_Widget::button_release_event_impl (this=0x80961a8, 
    p1=0x80d4550) at widget.cc:216
#27 0x4008ac66 in Gtk_Widget::button_release_event_callback (o=0x809b510, 
    p1=0x80d4550) at widget.cc:223
#28 0x4022d49e in gtk_marshal_BOOL__POINTER (object=0x809b510, 
    func=0x4008abe8 <Gtk_Widget::button_release_event_callback(_GtkWidget
*, _Gd
kEventButton *)>, func_data=0x0, args=0xbffff524) at gtkmarshal.c:32
#29 0x401d7e2a in gtk_signal_real_emit (object=0x809b510, signal_id=26, 
    params=0xbffff524) at gtksignal.c:1401
#30 0x401d523b in gtk_signal_emit (object=0x809b510, signal_id=26)
    at gtksignal.c:507
#31 0x40221911 in gtk_widget_event (widget=0x809b510, event=0x80d4550)
    at gtkwidget.c:2607
#32 0x40195be0 in gtk_propagate_event (widget=0x809b510, event=0x80d4550)
    at gtkmain.c:1754
#33 0x40193f31 in gtk_main_iteration_do (blocking=1) at gtkmain.c:860
#34 0x40193a83 in gtk_main_iteration () at gtkmain.c:658
#35 0x40193808 in gtk_main () at gtkmain.c:562
#36 0x8054196 in main (argc=1, argv=0xbffff8b8) at guppi.cc:269




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