Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248733 - XOrg segfaults after using a whole lot of memory
Summary: XOrg segfaults after using a whole lot of memory
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 04:19 UTC by Jonathan Glines
Modified: 2009-02-20 15:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
log of the segfaulted server (Xorg.0.log.crash,21.91 KB, text/plain)
2008-11-25 04:21 UTC, Jonathan Glines
Details
xorg config file (xorg.conf,3.73 KB, text/plain)
2008-11-25 04:22 UTC, Jonathan Glines
Details

Note You need to log in before you can comment on or make changes to this bug.
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