Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341369 - x11-base/xorg-server-1.9.0 loops in autoConfigDevice
Summary: x11-base/xorg-server-1.9.0 loops in autoConfigDevice
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: N/A
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-16 19:04 UTC by Robert Bradbury
Modified: 2015-02-22 21:50 UTC (History)
0 users

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


Attachments
emerge --info (EmrgInfo.lst,4.71 KB, text/plain)
2010-10-16 19:04 UTC, Robert Bradbury
Details
Edited stack trace of core dump (core.X.gdb2,3.01 KB, text/plain)
2010-10-16 19:12 UTC, Robert Bradbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2010-10-16 19:04:17 UTC
xorg-server-1.9.0 has an infinite loop which core dumps with a SEGV (stack overflow) in autoConfigDevice().

Reproducible: Sometimes

Steps to Reproduce:
1. Start X server with a previously working (1.8.2) xorg-server xorg.conf.
2. X terminals do not start and it is impossible to switch to simple VT terminals.

Actual Results:  
A large core dump is produced (due to stack overflow).

Expected Results:  
X server should not produce stack overflows and should not core dump.

May have been due to the fact that the evdev driver was not recompiled after upgrade to 1.9.  The evdev driver was not loaded and any mouse/keyboard drivers fell back to the non-evdev drivers.
Comment 1 Robert Bradbury 2010-10-16 19:04:51 UTC
Created attachment 250929 [details]
emerge --info
Comment 2 Robert Bradbury 2010-10-16 19:12:18 UTC
Created attachment 250933 [details]
Edited stack trace of core dump

Shows loop involving autoConfigDevice().

It would be very helpful if xdm could limit the stack size of Xorg processes so they do not produce large core dumps/lengthy stack traces.  Xorg stacks should not get "infinitely" large (174,000+ calls) except when something runs amok.
Comment 3 Matt Turner gentoo-dev 2015-02-22 21:50:05 UTC
Hopefully fixed long ago.