LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-15-2003, 11:56 PM   #1
massacrezero
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: Mandrake 9
Posts: 9

Rep: Reputation: 0
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
 
Old 05-16-2003, 05:32 AM   #2
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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.
 
Old 05-16-2003, 02:19 PM   #3
massacrezero
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: Mandrake 9
Posts: 9

Original Poster
Rep: Reputation: 0
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-
 
Old 05-16-2003, 02:20 PM   #4
massacrezero
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: Mandrake 9
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 05-16-2003, 02:23 PM   #5
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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
 
Old 05-17-2003, 10:04 PM   #6
massacrezero
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: Mandrake 9
Posts: 9

Original Poster
Rep: Reputation: 0
hm. that's slightly disconcerting.

thanks.
 
Old 05-17-2003, 10:46 PM   #7
massacrezero
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: Mandrake 9
Posts: 9

Original Poster
Rep: Reputation: 0
+------- 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
 
Old 05-18-2003, 06:48 AM   #8
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
So there's your answer
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation faults winterhunter Linux - Software 5 10-14-2005 04:06 AM
Some help with segmentation faults? captainslushie Linux - Software 5 06-23-2005 03:59 PM
Problems installing fastcgi on Fedora Core 3/Apache segmentation 11 faults bax Linux - Software 3 05-29-2005 11:38 PM
segmentation faults - installing. ulaoulao Linux - General 5 09-22-2004 08:27 AM
Segmentation Faults? floyd Linux - General 5 09-02-2003 12:54 AM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration