LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Segmentation faults fater installing gtk+ 2.2.1 (https://www.linuxquestions.org/questions/linux-software-2/segmentation-faults-fater-installing-gtk-2-2-1-a-60032/)

massacrezero 05-15-2003 10:56 PM

Segmentation faults fater installing gtk+ 2.2.1
 
Hey all,

Ever since installing some packages (from source) I have been getting segmentation faults from a great majority of Gnome applications in the format of:

Application "something" (process XXXX) has crashed due to a fatal error. (Segmentation Fault)

NOTE: I /always/ get two of these messages as soon as I shutdown the computer.

The packages I installed were:

atk 1.3.1
glib-2.2.1
gtk+ 2.2.1
pango 1.2.1
pkgconfig 0.15.0

As best as I can tell, the problems begin after the installation of GTK+. Any advice on how to get rid of this (very annoying) problem?

Thanks,
Ryan

mhearn 05-16-2003 04:32 AM

Run it from the command line.... does it happen as soon as the app starts?

Run it through gdb also:

gdb
->run ./whatever
segmentation fault
-> bt
#0 kajsdfklasdjfksda
#1 adsfasdfsaf
#2 adsgadgasgasd

etc

Paste the numbered lines in here. I suspect I know what's wrong, but want to be sure.

massacrezero 05-16-2003 01:19 PM

From command line:

-------

[zero@localhost zero]$ /usr/bin/gnome-cd

** (gnome-cd:2758): WARNING **: Error reading CD header

(gnome-cd:2758): Gtk-WARNING **: Unable to locate theme engine in module_path: "thinice",

(gnome-cd:2758): GLib-GObject-WARNING **: cannot create instance of abstract (non-instantiatable) type `GtkWidget'
Segmentation fault

----------

through gdb:

---------

(gnome-cd:2841): Gtk-WARNING **: Unable to locate theme engine in module_path: "thinice",

(gnome-cd:2841): GLib-GObject-WARNING **: cannot create instance of abstract (non-instantiatable) type `GtkWidget'
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
g_datalist_id_get_data (datalist=0x8, key_id=48) at gdataset.c:461
461 gdataset.c: No such file or directory.
in gdataset.c

---------


Note: I was trying to run /usr/bin/gnome-cd (if you couldn't tell :P)

-ryan-

massacrezero 05-16-2003 01:20 PM

Forgot to put this in the gdb part :P

-----

#0 g_datalist_id_get_data (datalist=0x8, key_id=48) at gdataset.c:461
#1 0x4088e317 in g_object_notify_queue_freeze (object=0x0, context=0x408afa70)
at gobjectnotifyqueue.c:71
#2 0x4088afba in g_object_newv (object_type=134874120, n_parameters=0,
parameters=0x0) at gobject.c:734
#3 0x4088b5dc in g_object_new_valist (object_type=134874120,
first_property_name=0x0, var_args=0xbffff338 "Xóÿ¿ïÊ\f@\200å\a\b°æ\a\b\b")
at gobject.c:764
#4 0x406d554b in gtk_widget_new (type=134874120, first_property_name=0x0)
at gtkwidget.c:1483
#5 0x4009492b in gnome_interaction_key_return ()
from /usr/lib/libgnomeui-2.so.0
#6 0x400b9415 in _SmcProcessMessage () from /usr/X11R6/lib/libSM.so.6
#7 0x400c5c10 in IceProcessMessages () from /usr/X11R6/lib/libICE.so.6
#8 0x40068fb5 in gnome_ice_init () from /usr/lib/libgnomeui-2.so.0
#9 0x408f78e9 in g_io_unix_dispatch (source=0x807e508,
callback=0x40068f80 <gnome_ice_init+384>, user_data=0x807e508)
at giounix.c:159
#10 0x408d936e in g_main_dispatch (context=0x8079b68) at gmain.c:1653
#11 0x408da349 in g_main_context_dispatch (context=0x8079b68) at gmain.c:2197
#12 0x408da663 in g_main_context_iterate (context=0x8079b68, block=1,
dispatch=1, self=0x8069d60) at gmain.c:2278
#13 0x408dacf4 in g_main_loop_run (loop=0x8131718) at gmain.c:2498
#14 0x4017595d in bonobo_main () from /usr/lib/libbonobo-2.so.0
#15 0x08050cb0 in main ()
#16 0x40937082 in __libc_start_main () from /lib/i686/libc.so.6

mhearn 05-16-2003 01:23 PM

Ah, so it's not threading. Report that backtrace to bugzilla.gnome.org please, that's the only way it'll get fixed. Give some context as well, like what was in the drive at the time

massacrezero 05-17-2003 09:04 PM

hm. that's slightly disconcerting.

thanks.

massacrezero 05-17-2003 09:46 PM

+------- Additional Comments From hp@redhat.com 2003-05-17 22:17
-------
+You must upgrade libgnomeui when upgrading to gtk 2.2, due
+to this bug in libgnomeui 2.0.x

mhearn 05-18-2003 05:48 AM

So there's your answer


All times are GMT -5. The time now is 02:39 PM.