Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

crashlog.txt (21.8 KB ) - added by B. Guns 12 years ago.
system_info.txt (11.5 KB ) - added by B. Guns 12 years ago.

Download all attachments as: .zip

Change History (8)

by B. Guns, 12 years ago

Attachment: crashlog.txt added

by B. Guns, 12 years ago

Attachment: system_info.txt added

in reply to:  description comment:1 by B. Guns, 12 years ago

Replying to plumo:

Latest SVN version. Game gets stuck on loading screen (50 percent)

comment:2 by historic_bruno, 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:3 by B. Guns, 12 years ago

I will try tomorrow when I'm home.

comment:4 by B. Guns, 12 years ago

Ticket can be closed.

This error appears when clicking CTRL ALT DEL while loading a map.

comment:5 by B. Guns, 12 years ago

Resolution: worksforme
Status: newclosed

comment:6 by historic_bruno, 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)

Note: See TracTickets for help on using tickets.