When starting the Xorg with # Xorg -configure the server crashes immediately with a segmentation fault.
Created attachment 4113 [details] [review] Fix for the problem The crash is caused by bogus code in fixup_vide_driver_list(). In the current version of the code, the comment /* if we get here, ati was already ahead of atimisc */ should probably read /* if we get here, ati was already ahead of atimisc and we crash */ ;-). Seriously though, the problem is that if the list is already correctly sorted, we end the inner loop because drv == end. Then the drv++ in the outer loop gets executed, so drv != end, and the code continues comparing strings beyond the end of the list.
applied to modular. alan, please close when this hits the monolith.
Fixed in monolith too.
*** Bug 5887 has been marked as a duplicate of this bug. ***
*** Bug 5594 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.