testgtk crashes in bsearch



I updated to latest glib, pango, gtk+ this morning and found that testgtk 
crashes on Solaris 8 with the following stack trace

=>[1] style_property_values_cmp(0xffbeb1d0, 0x0, 0xffffffff, 0x0, 0xff3e0000, 
0xff3b1f08), at 0xff051568
  [2] bsearch(0x60, 0xffffffd0, 0x0, 0x30, 0x0, 0xff051540), at 0xfe935878
  [3] _gtk_style_peek_property_value(0xbc690, 0x2012, 0x71520, 0x0, 0xff3e0000, 
0xff3b0b0c), at 0xff051a04
  [4] gtk_widget_style_get_valist(0x88ea0, 0xff1b5330, 0xffbeb3ec, 0x0, 0x7b1d0, 
0x80), at 0xff151e1c
  [5] gtk_widget_style_get(0x88ea0, 0xff1b5330, 0xffbeb43c, 0xff1b5348, 0xffbeb4
...

I assume that it is related to the following change.

------------- Begin Included Message -------------

Sat Sep  8 13:53:09 2001  Owen Taylor  <otaylor redhat com>

        * gtk/gtkrc.[ch] gtk/gtkstyle.[ch]: Replace uses of GBSearchArray
        with GArray and bsearch(), to remove dependency on a still
        evolving interface that we want to keep private to glib/gobject.

------------- End Included Message -------------

Has anyone experienced this on another platform?

Padraig





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