[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Re: [gtkmm] Please help! -- gtk segfaults: Solution
From:       D-Man <dsh8290 () rit ! edu>
Date:       2000-04-28 23:44:16
[Download RAW message or body]

The sysadmin recompiled gtk and had it link against /usr/openwin X libs
instead of /usr/local/X11.  Then when I set my app to link against
/usr/openwin too, it works.

Could that be automatically determined in a configure script? 

-D


D-Man wrote:
> 
> 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.  You (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)
> 
> _______________________________________________
> to unsubscribe or change your subscription parameters :
> http://lists.sourceforge.net/mailman/listinfo/gtkmm-main


_______________________________________________
to unsubscribe or change your subscription parameters :
http://lists.sourceforge.net/mailman/listinfo/gtkmm-main

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic