Summary: | Segmentation fault when starting Xorg | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Mark Kettenis <kettenis> | ||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | blocker | ||||||
Priority: | high | CC: | chris.ruehl, pvuorela | ||||
Version: | git | ||||||
Hardware: | PowerPC | ||||||
OS: | OpenBSD | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 5387 | ||||||
Attachments: |
|
Description
Mark Kettenis
2005-12-17 06:27:56 UTC
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. *** |
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.