Bug 10348

Summary: vesa driver xrandr crash
Product: xorg Reporter: wsh <wsh19811118>
Component: Driver/VesaAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.2 (2007.02)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 10101    

Description wsh 2007-03-20 02:00:59 UTC
when issue xrandr -s <modenumber>, xserver exists.
Duplicate steps:
1.Launch X-Window with VESA driver
2.issue 'xrandr -s 1'
3.X-window exists abnormally.
Comment 1 wsh 2007-03-20 02:08:15 UTC
It seems that the root cause is :
in VESA driver, xf86EnableDisableFBAccess is called to disable the 
display,however this function is already called in xf86RandR.c, as a result, the second call empties pScrnInfo->pixmapPrivate, which is used to keep the copy of pspix->devPrivate.
Comment 2 Andrew Randrianasulu 2008-04-30 13:45:53 UTC
commit f5315667c0d827cca56a0a855b33e0efe83e3fa0 in xorg/driver/xf86-video-vesa should fix this, no? At least i tried recently and it doesn't crash anymore. (but i'm using xserver and vesa driver from git, Build Date: 29 April 2008  12:54:06AM)
Comment 3 Luc Verhaegen 2008-04-30 14:51:18 UTC
Yeah, you're right, this was indeed fixed by aaronp in may 2007. Good thing you poked this bug, this way i caught it in the maelstrom, it caught my eye as i ended up investigating the same issue and then ended backporting the fix to some SUSE version.

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.