Game crashes on exit (SDL version 0.9-1034-g47e0b21)

0.9-1034-g47e0b21
SDL
Windows 7 64 Bit

Whenever I quit the game (Whether it’s through the main menu or just by clicking the X on my window), the game closes, and then I get a “cataclysm-tiles.exe has stopped working” error.

Error log is:

Problem signature: Problem Event Name: APPCRASH Application Name: cataclysm-tiles.exe Application Version: 0.0.0.0 Application Timestamp: 52926d6e Fault Module Name: cataclysm-tiles.exe Fault Module Version: 0.0.0.0 Fault Module Timestamp: 52926d6e Exception Code: c0000005 Exception Offset: 0003c53c OS Version: 6.1.7601.2.1.0.768.3 Locale ID: 2057 Additional Information 1: ff25 Additional Information 2: ff25a1640e9776ce8d600bc17fee902f Additional Information 3: 2156 Additional Information 4: 215698a870f5cc7df80a12fd88b4881b

This has been happening in the past few expirmentals I’ve tried as well on WinXP. Doesn’t affect anything but it is kind of annoying.

I can confirm that this is still happening on Windows 7 as of build 0.9-1150-g457dadc.

Problem signature:

Problem signature: Problem Event Name: APPCRASH Application Name: cataclysm-tiles.exe Application Version: 0.0.0.0 Application Timestamp: 52933f5b Fault Module Name: cataclysm-tiles.exe Fault Module Version: 0.0.0.0 Fault Module Timestamp: 52933f5b Exception Code: c0000005 Exception Offset: 0003c678 OS Version: 6.1.7601.2.1.0.768.3 Locale ID: 2057 Additional Information 1: ff25 Additional Information 2: ff25a1640e9776ce8d600bc17fee902f Additional Information 3: 2156 Additional Information 4: 215698a870f5cc7df80a12fd88b4881b

Also happening on Curses version of the same build:

Problem signature: Problem Event Name: APPCRASH Application Name: cataclysm.exe Application Version: 0.0.0.0 Application Timestamp: 52933f5a Fault Module Name: cataclysm.exe Fault Module Version: 0.0.0.0 Fault Module Timestamp: 52933f5a Exception Code: c0000005 Exception Offset: 0033ae50 OS Version: 6.1.7601.2.1.0.768.3 Locale ID: 2057 Additional Information 1: 0b1a Additional Information 2: 0b1aca3175b9032a5e613e3343057c03 Additional Information 3: af06 Additional Information 4: af06d094ba443edfebf7d6fd4b62a98f

It doesnt happen if you “close” the program (ie pressing the red x) only if you quit the game from the menu screen. Atleast for me anyways

As an update, I tried a manual build and the game works fine with that (Unfortunately for whatever reason manual-building the game doesn’t give me a specific git number), so I’m wondering if this has anything to do with the way Jenkins builds the games each time new commits are pushed to master.

This applies to the Curses build of Cataclysm, I can’t vouch for the SDL/Tiles build however, as I’m having problems compiling that build properly right now.

Either way, I have a sneaking suspicion it’s Jenkins’ build doing something wrong somewhere, as I was getting the crash-on-exit on both the Curses and SDL versions of Jenkins’ build, and the curses version of my own build has not experienced crash-on-exit.