Please help! -- gtk segfaults



I asked about this before on the gtk-- list.  My program segfaults in
Gtk::Main() (the backtrace is given below).  This is on a Sun Solaris
system.  Havoc said that there was a problem with Sun's X-server
and that gtk needed to be recompiled with the configure option
"--disable-xim-inst".  The administrator did recompile the library, but
I still get the same backtrace.

I really need a solution to this within a week for my school project to
work.

Thank you again for all of your help!
-D


(gdb) bt
#0  0xfee37804 in strncpy () from /usr/lib/libc.so.1
#1  0xfed8823c in _XimMakeImName () from
/usr/local/X11/lib/libX11.so.6.1
#2  0xfed88380 in _XimOpenIM () from /usr/local/X11/lib/libX11.so.6.1
#3  0xff150ae0 in gdk_im_real_open () at gdkim.c:376
#4  0xff150c4c in gdk_im_open () at gdkim.c:419
#5  0xff13e130 in gdk_init_check (argc=0x1, argv=0xffbef798) at
gdk.c:436
#6  0xff249424 in gtk_init_check (argc=0xffbef794, argv=0xffbef798) at
gtkmain.c:199
#7  0xff249980 in gtk_init (argc=0xffbef794, argv=0xffbef798) at
gtkmain.c:423
#8  0xff04a84c in Gtk::Main::init (this=0xffbef720, argc=0xffbef794,
argv=0xffbef798, have_locale=false) at main.cc:46
#9  0xff04a790 in Gtk::Main::Main (this=0xffbef720, __in_chrg=1,
argc=0xffbef794, argv=0xffbef798, have_locale=false) at main.cc:33
#10 0xf754c in main (argc=1, argv=0xffbef7b4) at product.cc:23
(gdb)



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