Bug 12260 - segfault in SavageSwitchMode when ppracer switches mode
Summary: segfault in SavageSwitchMode when ppracer switches mode
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/savage (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: https://launchpad.net/bugs/136824
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-02 12:05 UTC by Tormod Volden
Modified: 2007-09-17 12:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
gdb session after crash (6.50 KB, text/plain)
2007-09-02 12:06 UTC, Tormod Volden
no flags Details

Description Tormod Volden 2007-09-02 12:05:19 UTC
(reported in Ubuntu https://launchpad.net/bugs/136824)
xserver-xorg-core 2:1.3.0.0.dfsg-12ubuntu4
xserver-xorg-video-savage 1:2.1.2-6

"My laptop screen resolution is 1024x768. If I start ppracer with no config file, it will use 800x600 in fullscreen, and this makes the X server crash. If I set 1024x800 in .ppracer/config it works fine. If I change resolution with "xrandr 800x600" before starting ppracer it also works fine."

(gdb) bt full
#0  0xb7bee1cf in SavagePanningCheck (pScrn=0x8214ea0) at ../../src/savage_driver.c:4545
        psav = (SavagePtr) 0x8215f68
        pMode = (DisplayModePtr) 0x0

4545        psav->iResX = pMode->CrtcHDisplay;

pScrn->currentMode is 0x0
Comment 1 Tormod Volden 2007-09-02 12:06:57 UTC
Created attachment 11392 [details]
gdb session after crash
Comment 2 Brice Goglin 2007-09-04 11:51:33 UTC
Same problem has been reported with Savage driver 2.1.3 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440839

"When I start dosemu in fullscreen mode X crashes. It does not happen on
other graphics hardware or when I disable the fullscreen feature."
Comment 3 Alex Deucher 2007-09-14 17:21:48 UTC
This should be fixed in commit: 846a69f70d189c486448df269a512b8d42fab0c2 
Comment 4 Tormod Volden 2007-09-17 12:26:57 UTC
Thanks! That solved the problem.


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.