team-phoenix / Phoenix

A multi-system emulator and library manager designed to be both powerful and easy to use.
http://phoenix.vg
GNU General Public License v2.0
376 stars 40 forks source link

Windows: Crash when launching large zipped game #305

Open athairus opened 8 years ago

athairus commented 8 years ago

GameLauncher::trimmedGame( QString game ) gamelauncher.cpp:88

I noticed the bug when launching a compressed 1.8GB PSP game.

HEAP[Phoenix.exe]: Invalid address specified to RtlValidateHeap( 0000020DEC6B0000, 0000020DF95075C0 )

Caused by some kind of heap corruption maybe? The culprit is the dtor of game. That QString came from the QML. The bug is "fixed" by creating an explicit temp variable that's a copy of game and used by the entire function. However, I think the real problem is quazip... or something else that's corrupting the heap guards.