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

Bug 341369

Summary: x11-base/xorg-server-1.9.0 loops in autoConfigDevice
Product: Gentoo Linux Reporter: Robert Bradbury <robert.bradbury>
Component: [OLD] Core systemAssignee: Gentoo X packagers <x11>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: N/A
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Edited stack trace of core dump

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.