BUG: segfault in GtkCList and GtkCTree (1.1.7 through 1.1.12)



Hi,


I have noticed that GTK 1.1.7 through 1.1.12 always segfault when using
CList or CTree. (Version 1.1.2 was the last I used and it worked fine)
It barfs in the same spot every time. Run the testgtk program, click on
the clist or ctree button and boom. Here is the gdb output:

Starting program: /proj/gnome/gtk+-1.1.12/gtk/.libs/testgtk

Program received signal SIGSEGV, Segmentation fault.
0x300c9904 in draw_row (clist=0x189bf80, area=0x1898182, row=0,
    clist_row=0x18a1a78) at gtkclist.c:5824
5824            }
(gdb) bt
#0  0x300c9904 in draw_row (clist=0x189bf80, area=0x1898182, row=0,
    clist_row=0x18a1a78) at gtkclist.c:5824
#1  0x300c98f8 in draw_row (clist=0x189bf80, area=0x1898182, row=0,
    clist_row=0x18a1a78) at gtkclist.c:5823
#2  0x300c9c7c in draw_rows (clist=0x4, area=0x18a1a78) at
gtkclist.c:5903
#3  0x300c7080 in gtk_clist_expose (widget=0x189bf80, event=0x4)
    at gtkclist.c:4747
#4  0x301b044c in gtk_marshal_BOOL__POINTER (object=0x1,
    func=0x300c98f8 <draw_row+1772>, func_data=0x186933c, args=0x0)
    at gtkmarshal.c:32
#5  0x301629ec in gtk_signal_real_emit (object=0x189bf80, signal_id=14,
    params=0x0) at gtksignal.c:1449
#6  0x3015ffa0 in gtk_signal_emit (object=0x0, signal_id=4) at
gtksignal.c:517
#7  0x301a4350 in gtk_widget_event (widget=0x189bf80, event=0x4)
    at gtkwidget.c:2628
#8  0x30127514 in gtk_main_do_event (event=0x189bf80) at gtkmain.c:717
#9  0x3050262c in gdk_event_dispatch (source_data=0x1,
current_time=0x18bc5a0,
    user_data=0x186933c) at gdkevents.c:1966
#10 0x302860d4 in g_main_dispatch (current_time=0x189bf80) at
gmain.c:390
#11 0x302865c8 in g_main_iterate (block=14, dispatch=25827960) at
gmain.c:574
#12 0x30286764 in g_main_run (loop=0x189bf80) at gmain.c:618
#13 0x30126d74 in gtk_main () at gtkmain.c:458
#14 0x181e2a0 in main (argc=1, argv=0x7ffffa44) at testgtk.c:8507
---Type <return> to continue, or q <return> to quit---q 

stack getting mugged? why is it in draw_row twice??

It is always at the call to gdk_draw_string. If I comment out this call,
it doesn't seg fault. Note that the clist is a basic element of the file
open/save dialog box, so with this problem, I can't use gtk or gnome.

Has anyone else seen this problem? I am on a PPC platform, but at least
one other has verified this with glibc-2.0.108 and egcs-1.1.1

Running glibc-0.961212-1m
egcs-1.0-2e
kernel 2.1.125 ppc unknown

Thanks,
Scott Sams
-- 
 ____ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      Scott Sams         
(____  _  _-|-|-                    sbsams@eos.ncsu.edu      
_____)(__(_)| |        http://www.catt.ncsu.edu/~sbsams
~~~~~~~~~~~~~~~~



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