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

**URL:** <https://discourse.cataclysmdda.org/t/game-crashes-on-exit-sdl-version-0-9-1034-g47e0b21/4202>\
**Category:** The Garage\
**Created:** [November 24, 2013, 11:17pm UTC](https://discourse.cataclysmdda.org/t/game-crashes-on-exit-sdl-version-0-9-1034-g47e0b21/4202 "2013-11-24T23:17:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chaz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/chaz/32/3870_2.png) [@Chaz](https://discourse.cataclysmdda.org/u/Chaz)\
**Post date:** [November 24, 2013, 11:17pm UTC](https://discourse.cataclysmdda.org/t/game-crashes-on-exit-sdl-version-0-9-1034-g47e0b21/4202/1 "2013-11-24T23:17:41Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![timtek](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/timtek/32/103_2.png) [@timtek](https://discourse.cataclysmdda.org/u/timtek)\
**Post date:** [November 25, 2013, 5:41am UTC](https://discourse.cataclysmdda.org/t/game-crashes-on-exit-sdl-version-0-9-1034-g47e0b21/4202/2 "2013-11-25T05:41:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Chaz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/chaz/32/3870_2.png) [@Chaz](https://discourse.cataclysmdda.org/u/Chaz)\
**Post date:** [November 25, 2013, 1:11pm UTC](https://discourse.cataclysmdda.org/t/game-crashes-on-exit-sdl-version-0-9-1034-g47e0b21/4202/3 "2013-11-25T13:11:39Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![AerialK7](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@AerialK7](https://discourse.cataclysmdda.org/u/AerialK7)\
**Post date:** [November 25, 2013, 1:25pm UTC](https://discourse.cataclysmdda.org/t/game-crashes-on-exit-sdl-version-0-9-1034-g47e0b21/4202/4 "2013-11-25T13:25:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Chaz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/chaz/32/3870_2.png) [@Chaz](https://discourse.cataclysmdda.org/u/Chaz)\
**Post date:** [November 29, 2013, 12:18am UTC](https://discourse.cataclysmdda.org/t/game-crashes-on-exit-sdl-version-0-9-1034-g47e0b21/4202/5 "2013-11-29T00:18:49Z")

</div>

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.
