Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk2 programs crash X
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nagzi
n00b
n00b


Joined: 29 Dec 2003
Posts: 37
Location: Canada

PostPosted: Thu Sep 02, 2004 3:22 pm    Post subject: gtk2 programs crash X Reply with quote

For the last little while some gtk2 programs will crash X.

Pan will load up just fine, but when I click on a newsgroup it'll crash X about half way loading the headers.

gDesklets will load, but when I goto to a config to change a colour property it crashes X.

evolution will crash X just after the splash screen.

however, galeon, gaim, the gimp, beep media player all work without any probs. This is all under gnome 2.6.2, but if I switch to enlightenment 0.16.7.1 every gtk2 program will crash X.

Code:

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


Thats the few lines from my log file. I can post the whole if its needed.

I'v tried recompiling the entire world, just to see if that would fix anything.

I am using gcc3.4.1, but wasn't having anything at all until recently.
Back to top
View user's profile Send private message
dhalsiim
Guru
Guru


Joined: 29 Jan 2003
Posts: 486

PostPosted: Sat Sep 04, 2004 11:33 pm    Post subject: Reply with quote

OMG :cry: this happened to me just today. I'm still looking trying to find out what's wrong.

I was relating this to yesterday when I backed up my / and un-tared it back and had some permission problems. But I guess this isn't the case >_<;

Gaim suggests to add the "debug" USE flag and trace what happened last (like I know how to do that eh?). But I found something interesting :D (no cookies?), for now only Gaim crashes on me with the exact same error. I did a "startx -- :1" on a second console (while X was already running on F7), and then ran gaim, and it didn't crash!!

Is that the same with you? Please answer back. Maybe we'll work this out together ^^

Thank you.

EDIT: https://forums.gentoo.org/viewtopic.php?t=214973 This guy fixed his problem with gtk apps crashing, I asked him for the solution too. Let's keep an eye there xD
Back to top
View user's profile Send private message
dj_goku
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2003
Posts: 78
Location: Earth

PostPosted: Sun Sep 05, 2004 5:26 pm    Post subject: Reply with quote

ditto
_________________
dj_goku | www.tektronic.org
Back to top
View user's profile Send private message
dhalsiim
Guru
Guru


Joined: 29 Jan 2003
Posts: 486

PostPosted: Sun Sep 05, 2004 7:49 pm    Post subject: Reply with quote

Hrm.. last night I read up on Gaim's FAQ and followed the procedure to debug gaim.

Since gaim takes X down along with it, there's no way I can debug it so (well maybe there is, start gdb from console and work gaim in X but I don't know if that works .. anyways), I left the idea of trying to fix it and went to bed.

Today morning I ran gaim again (hoping for it to crash my X), and it didn't >_<; Was it a simple RESTART that fixed it, or was it a logout? I can't tell, but I haven't had any problems all day long today. Gaim hasn't crashed once (I re-logged in many times, tried to make it crash and it wouldn't).

How about you guys?

Edit: well to be entirely truthful, we also get the error about "libdri" right, so I was thinking let's compile xorg again too. And I did,although I had no immediate changes, here I am after a reboot and it's working alright. There's another thread I found https://forums.gentoo.org/viewtopic.php?t=20910 and the guy has the same error as us.

You said that you recompiled world, but you didn't logout or reboot right after it right? Are things working out for you today?
Back to top
View user's profile Send private message
MetatronX99
n00b
n00b


Joined: 24 Jul 2004
Posts: 70
Location: Warren, MI

PostPosted: Sun Sep 05, 2004 9:21 pm    Post subject: Reply with quote

um

what are your cflags?

GCC 3.4.1 does NOT like -O2/3 -march=pentium4 in its CFLAGS for Xorg 6.7.0-rX

my suggestion is to either use -march=pentium3 in gcc, or drop to GCC 3.3.x for Xorg.

I had to the same thing.

Xorg 6.7.99.904 compiles cleanly though.
_________________
GCC 3.4.2-r2
Glibc 20040808 +NPTL +Prelink
Linux 2.6.9-rc2-love4
~x86 System
Back to top
View user's profile Send private message
dhalsiim
Guru
Guru


Joined: 29 Jan 2003
Posts: 486

PostPosted: Sun Sep 05, 2004 11:01 pm    Post subject: Reply with quote

Ohh please don't say that :( it was a really painstaking process to re-compile everything just to get gcc 3.4. And how can it be that I ran xorg for 2 whole days without any problems, and this suddenly happened, and then it got fixed on its own?

My flags are -march=pentium4 -O2 -pipe

Sigh.. and what about nagzi, you got the same CFLAGS?

And I can live without gaim for a while, untill 6.8.0 is released ^^. I just hope this doesn't happen again, sigh.
Back to top
View user's profile Send private message
MrStaticVoid
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 114
Location: Maryland

PostPosted: Mon Sep 06, 2004 1:44 am    Post subject: Reply with quote

This was happening to me. When I would put my mouse on a tree in a GTK2 program, X would just crash. It stopped when I didn't use GDM. I later discovered that the problem didn't happen when I toggled the "Always disallow TCP connections" off in gdmsetup. Then again, my problem may be completely unrelated to what you are having.
Back to top
View user's profile Send private message
dhalsiim
Guru
Guru


Joined: 29 Jan 2003
Posts: 486

PostPosted: Mon Sep 06, 2004 3:57 am    Post subject: Reply with quote

Yes what you say could be related. Because by default TCP isn't used on xorg (at least that's what the ebuild says after a successful compile), but I didn't change anything and this problem went away.

Perhaps nagzi should try your suggestion!

Thank you for your kind post ^^ much appreciated.
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Mon Sep 06, 2004 4:14 am    Post subject: Reply with quote

I had the same problem, and it went away after I recompiled gtk+ with CFLAGS="" and CXXFLAGS="". I'm sure it was a specific flag which caused the problem, but I was too lazy to track it down.
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
dhalsiim
Guru
Guru


Joined: 29 Jan 2003
Posts: 486

PostPosted: Mon Sep 06, 2004 4:27 am    Post subject: Reply with quote

Thank you for your post Darckness. Yeah I know it can get really troublesome tracking down stuff like that, oh well, as long as things are working out fine for us ^^
Back to top
View user's profile Send private message
spitefulcrow
n00b
n00b


Joined: 18 Jul 2004
Posts: 44

PostPosted: Sat Oct 02, 2004 9:42 pm    Post subject: Reply with quote

Hm. So it's a GCC-3.4 and Xorg-6.7.0 issue.
Well, I'm upgrading to 6.8.0 anyway so hopefully this will resolve the dead gaim problem for me. Nothing else was bothering my X server. Now just to wait for an Xorg compile...
_________________
Athlon XP 2600+ (1.9gHz)/1024MB DDR333/Asus A7V880/Samsung 160GB SATA HDD/Chaintech GeForce FX5500 256MB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum