Modify

Ticket #114 (new bug)

Opened 8 years ago

Last modified 7 years ago

PARPG crashes on exit in Vista 64 bit

Reported by: kaydeth_parpg Owned by: parpg
Priority: minor Milestone: Defect backlog
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:
Department:

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 (244.0 KB) - added by kaydeth_parpg 8 years ago.
Locally built SDL.dll on a Windows Vista 64 bit machine. Using this DLL stopped PARPG from crashing on exit.

Change History

comment:1 Changed 8 years ago by kaydeth_parpg

  • Description modified (diff)

comment:2 Changed 8 years 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 8 years ago by kaydeth_parpg

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

comment:3 Changed 8 years 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.

comment:4 Changed 8 years 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

comment:5 Changed 8 years 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.

comment:6 Changed 8 years 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.

comment:7 Changed 8 years 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.

comment:8 Changed 8 years ago by b0rland_parpg

  • Milestone changed from Techdemo 1 to Demo 1

comment:9 Changed 7 years ago by barra_parpg

  • Milestone changed from Techdemo 3 to Product backlog

moved techdemo 3 tickets to product backlog as we haven't agreed upon sprint goals for techdemo 3 yet

comment:10 Changed 7 years ago by barra_parpg

  • Milestone changed from Product backlog to Bugs

moved bugs to new bug milestone

View

Add a comment

Modify Ticket

Action
as new
Author


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

 
Note: See TracTickets for help on using tickets.