Crashing GTK-1.0.1 apps



I wrote an app that was perfectly stable under 1.0.0, yet I have a text
entry box with no triggers on it, no signals attached to it, and as soon
as I touch it with the mouse or change the contents under 1.0.1, the
application segfaults.

The code is trivial, along the lines of
entry = gtk_entry_new
gtk_box_pack_start (GTK_BOX(vertbox), entry, FALSE, TRUE, 0)
gtk_entry_set_text(GTK_ENTRY(entry), "localhost")
gtk_entry_set_selection(whatever testgtk.c uses to get the lot)
gtk_widget_set_focus(entry)
gtk_widget_show(entry)

And there is a button event passing the entry as data, but it doesn't
crash on that. Only when the entry is typed into. However, as soon as a
key is pressed it segfaults.

System is Solaris 2.5.1. The application is stable under 1.0.0 on a P5,
and 1.0.0 under Solaris. I have not tested 1.0.1 on the P5, because I need
to keep it stable.

Thanks.

--
S.
GM/CS/MU -d+ H+>++ s+: !g p2 au0 !a w+++ v-(---) C++++$ UL++++$ UB+
US++ UI+++$ P+>++++ L++++$ 3+ E--- N+ K !W(-----) M+(-) !V -po+ Y+ t+
5++ !j !R G' !tv b+++ D++ B--- e+ u+* h++ f? r-- n---- y?




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