Bug 19621

Summary: Xorg crashed with SIGFPE in miScreenInit()
Product: xorg Reporter: Kees Cook <kees>
Component: Server/GeneralAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/317957
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
fix FPE in libfb none

Description Kees Cook 2009-01-16 14:03:09 UTC
Created attachment 22041 [details] [review]
fix FPE in libfb

The radeon driver under strange situations when plugging/unplugging an external display can call fbScreenInit with 0 dpi, leading to an FPE.

stack:
 miScreenInit ()
 fbFinishScreenInit () from /usr/lib/xorg/modules//libfb.so
 fbScreenInit () from /usr/lib/xorg/modules//libfb.so
 ?? () from /usr/lib/xorg/modules/drivers//radeon_drv.so
 AddScreen ()

Attached is a patch to fix the FPE.
Comment 1 Adam Jackson 2018-06-12 18:43:53 UTC
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please file a new report if you continue to experience issues with a current server.

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.