Re: segfault .....



Bruno Boettcher said:
On Tue, Jun 15, 2004 at 02:25:53PM -0400, muppet wrote:
i think you mean 2.0.x of each?
2.0.0 for both

glib/gtk+ 2.0.0 is really old, and rather buggy. if it's possible upgrading
glib/gtk+ would probably be a good idea. the oldes system i have around is
2.0.6 which was redhat 8, ~3 years old.

what (if any) error messages do you see?
none... that's the problem... :(

and, even better, can you get a backtrace from gdb?
#0  0x405d83e0 in _gdk_xsettings_client_get_setting ()
   from /usr/lib/libgdk-x11-2.0.so.0
#1  0x405c6ca6 in gdk_setting_get () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x4047c9da in gtk_settings_get_default () from
...
#33 0x4034a35e in XS_Gtk2__Window_new ()
   from /usr/local/lib/perl5/site_perl/5.8.3/i686-linux/auto/Gtk2/Gtk2.so
#34 0x080b14b9 in Perl_pp_entersub ()
#35 0x080ab800 in Perl_runops_standard ()
#36 0x08060f75 in S_run_body ()
#37 0x08060ccb in perl_run ()
#38 0x0805e34f in main ()
#39 0x4009f14f in __libc_start_main () from /lib/libc.so.6

that doesn't really look like it's a Gtk2 problem. Gtk2::Window->new is a
trivial wrapper around gtk_window_new so it's unlikely the problems are
stemming from that. it's dying pretty low down in gtk/gdk to boot.

my only, unlikely, thought would be that maybe Gtk2->init (or use Gtk2
'-init') was called before the call to Gtk2::Window->new? the app is dying in
settings related stuff which you probably aren't dealing with in your app.

-rm



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