Ticket #114 (new bug)

Opened 11 months ago

Last modified 7 months ago

PARPG crashes on exit in Vista 64 bit

Reported by: kaydeth_parpg Owned by: parpg
Priority: minor Milestone: Demo 1
Component: scripts Version: trunk
Keywords: Cc:
Time spent: Time remaining:
Time planned:

Description (last modified by kaydeth_parpg) (diff)

PARPG consistently crashes on exit when running on Windows Vista 64 bit OS.

The crash actually occurs in FIFE and the same behavior can be seen with the Rio de Hola demo. FIFE appears to be crashing in the SDL library call "SDL_QuitSubSystem(SDL_INIT_VIDEO);" which is called by the RenderBackend::deinit() method which is called by the Engine::destroy() method.

After building and using a local copy of the SDL.dll file (version 1.2.13) the crash would no longer occur. This ticket serves as a place holder and reminder that we will likely require a bug fix in SDL to resolve this issue.

Attachments

SDL.dll Download (244.0 KB) - added by kaydeth_parpg 9 months ago.
Locally built SDL.dll on a Windows Vista 64 bit machine. Using this DLL stopped PARPG from crashing on exit.

Change History

Changed 11 months ago by kaydeth_parpg

  • description modified (diff)

Changed 10 months ago by barra_parpg

It's worth investigating if the issue is still present, now that SDL 1.2.14 has been released and ships with the new Win32 devkit (formerly known as the Win32 compile SDK).

For details see:  http://fifengine.de/2009/11/16/new-fife-win32-devkit-available/

Changed 9 months ago by kaydeth_parpg

Locally built SDL.dll on a Windows Vista 64 bit machine. Using this DLL stopped PARPG from crashing on exit.

Changed 9 months ago by kaydeth_parpg

PARPG will still crash with the newest compile SDK that includes SDL 1.2.14. Replacing SDL.dll with a locally built version still corrects the problem. The dll has to be copied to the new location for DLLs which is <FIFE>/engine/swigwrappers/python. The DLL I built to work around the problem has been attached in case it can help others for the moment.

Changed 9 months ago by kaydeth_parpg

Created an SDL forum post for this problem. Hopefully they can help us identify a root cause.

 http://forums.libsdl.org/viewtopic.php?t=5277

Changed 9 months ago by kaydeth_parpg

Some good news. If PARPG is packaged from a 32 bit XP system it can be successfully installed on a my Vista 64-bit machine and will NOT suffer from this crashing problem.

Changed 9 months ago by barra_parpg

That's good news indeed; thanks for testing kaydeth. So we should simply package mingw compiled FIFE binaries with the Windows PARPG packages and things should work fine. If anyone wants to have a native 64bit version of FIFE, he has to build from source. I guess 99% of the users won't care about using a 32bit version of FIFE on their 64bit system.

Changed 9 months ago by kaydeth_parpg

Also I've discovered that the mingw build now works with the new FIFE dev kit. And on top of that the mingw build does not suffer from crashes even when using the original SDL.dll file.

So to summarized. At this point the crash is only seen when I use a FIFE library built with MSVC 2008 and the SDL.dll distributed by the SDL website.

Changed 7 months ago by b0rland_parpg

  • milestone changed from Techdemo 1 to Demo 1

Add/Change #114 (PARPG crashes on exit in Vista 64 bit)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.