Opened 14 years ago

Closed 14 years ago

Last modified 6 years ago

#5703 closed defect (fixed)

Switching from HQ2x->HQ3x crashes ScummVM

Reported by: SF/doc_wagon Owned by: lordhoto
Priority: normal Component: Graphics: Scalers
Version: Keywords:
Cc: Game:

Description

Switching from HQ2x to HQ3x in the launcher repoducibly crashes ScummVM on Win32. Built with MSVC2008.

Here's a backtrace:

scummvm_debug.exe!memcpy(unsigned char * dst=0x02b74a28, unsigned char * src=0x0389c720, unsigned long count=1920) Zeile 188 Asm > scummvm_debug.exe!SdlGraphicsManager::grabOverlay(unsigned short * buf=0x02b74a28, int pitch=640) Zeile 1604 + 0x16 Bytes C++ scummvm_debug.exe!ModularBackend::grabOverlay(unsigned short * buf=0x02af7028, int pitch=640) Zeile 192 + 0x1d Bytes C++ scummvm_debug.exe!GUI::ThemeEngine::clearAll() Zeile 421 + 0x25 Bytes C++ scummvm_debug.exe!GUI::GuiManager::redraw() Zeile 201 C++ scummvm_debug.exe!GUI::GuiManager::closeTopDialog() Zeile 439 C++ scummvm_debug.exe!GUI::Dialog::close() Zeile 101 C++ scummvm_debug.exe!GUI::OptionsDialog::close() Zeile 517 C++ scummvm_debug.exe!GUI::GlobalOptionsDialog::close() Zeile 1293 C++ scummvm_debug.exe!GUI::OptionsDialog::handleCommand(GUI::CommandSender * sender=0x02a788b8, unsigned int cmd=1869291552, unsigned int data=0) Zeile 555 + 0xf Bytes C++ scummvm_debug.exe!GUI::GlobalOptionsDialog::handleCommand(GUI::CommandSender * sender=0x02a788b8, unsigned int cmd=1869291552, unsigned int data=0) Zeile 1401 C++ scummvm_debug.exe!GUI::CommandSender::sendCommand(unsigned int cmd=1869291552, unsigned int data=0) Zeile 53 + 0x23 Bytes C++ scummvm_debug.exe!GUI::ButtonWidget::handleMouseUp(int x=24, int y=5, int button=1, int clickCount=1) Zeile 296 + 0x1c Bytes C++ scummvm_debug.exe!GUI::Dialog::handleMouseUp(int x=356, int y=226, int button=1, int clickCount=1) Zeile 196 + 0x63 Bytes C++ scummvm_debug.exe!GUI::GuiManager::runLoop() Zeile 345 + 0x2a Bytes C++ scummvm_debug.exe!GUI::Dialog::runModal() Zeile 74 C++ scummvm_debug.exe!GUI::LauncherDialog::handleCommand(GUI::CommandSender * sender=0x02a24580, unsigned int cmd=1330664526, unsigned int data=0) Zeile 984 C++ scummvm_debug.exe!GUI::CommandSender::sendCommand(unsigned int cmd=1330664526, unsigned int data=0) Zeile 53 + 0x23 Bytes C++ scummvm_debug.exe!GUI::ButtonWidget::handleMouseUp(int x=34, int y=10, int button=1, int clickCount=1) Zeile 296 + 0x1c Bytes C++ scummvm_debug.exe!GUI::Dialog::handleMouseUp(int x=543, int y=291, int button=1, int clickCount=1) Zeile 196 + 0x63 Bytes C++ scummvm_debug.exe!GUI::GuiManager::runLoop() Zeile 345 + 0x2a Bytes C++ scummvm_debug.exe!GUI::Dialog::runModal() Zeile 74 C++ scummvm_debug.exe!launcherDialog() Zeile 83 + 0xb Bytes C++ scummvm_debug.exe!scummvm_main(int argc=2, const char * const * argv=0x003f3c90) Zeile 412 C++ scummvm_debug.exe!SDL_main(int argc=2, char * * argv=0x003f3c90) Zeile 60 + 0xd Bytes C++ scummvm_debug.exe!WinMain(HINSTANCE__ * __formal=0x00400000, HINSTANCE__ * __formal=0x00400000, HINSTANCE__ * __formal=0x00400000, HINSTANCE__ * __formal=0x00400000) Zeile 44 + 0x12 Bytes C++ scummvm_debug.exe!__tmainCRTStartup() Zeile 263 + 0x2c Bytes C scummvm_debug.exe!WinMainCRTStartup() Zeile 182 C kernel32.dll!_BaseProcessStart@4() + 0x23 Bytes

And yes, this time I'm using the current GIT checkout ;-)

ScummVM 1.4.0git (May 17 2011 07:53:35) Features compiled in: Vorbis FLAC MP3 RGB zLib Theora

I do have a coredump but I currently can't upload it because my server is down. I will provide it later if there is interest.

Ticket imported from: #3303501. Ticket imported from: bugs/5703.

Change History (3)

comment:1 by lordhoto, 14 years ago

Owner: set to lordhoto
Resolution: fixed
Status: newclosed

comment:2 by lordhoto, 14 years ago

Thanks for reporting. Should be fixed with commit 8a46c017cf7c3a367a5caaa06c34921bbe76feb2.

comment:3 by digitall, 6 years ago

Component: Graphics: Scalers
Note: See TracTickets for help on using tickets.