Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 248733

Summary: XOrg segfaults after using a whole lot of memory
Product: Gentoo Linux Reporter: Jonathan Glines <antiNeo2000>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: log of the segfaulted server
xorg config file

Description Jonathan Glines 2008-11-25 04:19:58 UTC
I've been having problems with X for about six months now. I've browsed the fourms and asked around, and I've seen people with similar problems, but none of their solutions work for me.

X uses up a lot of memory. It starts off fairly small, but keeps growing until it's using almost all of my 2GB and quite a bit of my 4GB of swap. Eventually it segfaults (see the attached log). I'm guessing that the memory usage and the segfault are related because it never crashes right away; only after using the majority of my memory does it crash.

My problems seem to have started when I switched from a 2 monitor twinview setup to a 3 monitor xinerama setup. I have 4 monitors now and the problem seems worse than ever (see the attached config file).

I've observed that when browsing large collections of images, X's memory usage skyrockets. I usually use Konqueror to browse images, but I don't think it is specific to Konqueror because I've noticed the effect with other applications.

I have the memory problem on both Kubuntu and Arch Linux, but the segfault is unique to Gentoo. I used Arch for about five days without a segfault, but on Gentoo X segfaults at least once per day.

I'm using version x11-base/xorg-server-1.5.2 of the server.

Possibly related: from time to time, X simply ignores the mouse button input. I.e. I can move the cursor around, but it won't listen to mouse clicks. I don't have this problem on Arch.
Comment 1 Jonathan Glines 2008-11-25 04:21:12 UTC
Created attachment 173295 [details]
log of the segfaulted server
Comment 2 Jonathan Glines 2008-11-25 04:22:04 UTC
Created attachment 173297 [details]
xorg config file
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-11-27 16:50:24 UTC
What if you use twinview instead of xinerama?

Thanks
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-02-20 15:32:06 UTC
Please don't hesitate to reopen this bug after testing what I suggested in comment #3.

Thanks