#1196 closed defect (worksforme)
Crash in wsdl.cpp:438 (SDL_SetVideoMode)
Reported by: | B. Guns | Owned by: | |
---|---|---|---|
Priority: | Release Blocker | Milestone: | |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
Latest SVN version.
Attachments (2)
Change History (8)
by , 12 years ago
Attachment: | crashlog.txt added |
---|
by , 12 years ago
Attachment: | system_info.txt added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Can you run the game in a debugger, and put a breakpoint at wsdl.cpp:438 (SDL_SetVideoMode) to find the value of status
? Then we can match it up with one of the return codes listed here, to find out why it's failing.
Also I'm not sure this qualifies as a release blocker.
comment:4 by , 12 years ago
Ticket can be closed.
This error appears when clicking CTRL ALT DEL while loading a map.
comment:5 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:6 by , 12 years ago
Milestone: | Alpha 9 |
---|
Ah, strange error. You have to be in fullscreen mode and then switch to the login screen while the game is loading. I found you can choose "Continue" in the error dialog and it will continue loading in windowed mode. If anyone's interested, the error is:
DISP_CHANGE_FAILED - The display driver failed the specified graphics mode.
Apparently, the problem is once you're on the login screen, you're no longer in the same desktop thread and you can't ChangeDisplaySettings
on the current thread (obviously). I don't think this is a problem we can trivially solve, so the best advice may be: don't use Ctrl+Alt+Delete
while the game is loading :)
(I do wonder if we can detect this situation though and either show a less scary message or make the application wait until the thread returns to the user's desktop)
Replying to plumo: