# Crash when loading a character

**URL:** <https://discourse.cataclysmdda.org/t/crash-when-loading-a-character/993>\
**Category:** The Garage\
**Created:** [April 25, 2013, 1:01am UTC](https://discourse.cataclysmdda.org/t/crash-when-loading-a-character/993 "2013-04-25T01:01:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bakuryu](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bakuryu](https://discourse.cataclysmdda.org/u/Bakuryu)\
**Post date:** [April 25, 2013, 1:01am UTC](https://discourse.cataclysmdda.org/t/crash-when-loading-a-character/993/1 "2013-04-25T01:01:43Z")

</div>

I searched and found no mention of this, when loading one of my characters it immediately crashes and shell says this:

> terminate called after throwing an instance of 'std::bad\_alloc' what(): std::bad\_alloc Aborted (core dumped)

\_

(Linux)

I’ll just start another character since this one wasn’t very far anyway, but asking just in case if anyone has any idea what might have caused this.

---

<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:** [April 25, 2013, 1:30am UTC](https://discourse.cataclysmdda.org/t/crash-when-loading-a-character/993/2 "2013-04-25T01:30:16Z")

</div>

[font=georgia]Id have no idea, if it happens again I suggest re-compiling it[/font]

---

<div class="post-metadata">

**Author:** ![Bakuryu](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bakuryu](https://discourse.cataclysmdda.org/u/Bakuryu)\
**Post date:** [April 25, 2013, 1:44am UTC](https://discourse.cataclysmdda.org/t/crash-when-loading-a-character/993/3 "2013-04-25T01:44:17Z")

</div>

Just happened again \>.\>

I’ll recompile.

---

<div class="post-metadata">

**Author:** ![Soron](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/soron/32/885_2.png) [@Soron](https://discourse.cataclysmdda.org/u/Soron)\
**Post date:** [April 25, 2013, 2:08am UTC](https://discourse.cataclysmdda.org/t/crash-when-loading-a-character/993/4 "2013-04-25T02:08:25Z")

</div>

In addition to recompiling, you might want to delete your save directory and templates, as well.

If you’re still getting the error, then you may want to get a stack trace. Luckily, I know how to do that on Linux.

Run “gdb cataclysm”, (may have to install gdb first), which causes Cataclysm to be run via a debugger. Once the debugger’s loaded everything, type “run”. Continue playing as normal, but now if it crashes, it’ll give you a chance to poke at things.

If you just want to get a stack trace after a crash (which is a huge help at times), type “where”, and it should spit out some coding-jargony stuff. Tell us what it says, and we can hopefully help :).

---

<div class="post-metadata">

**Author:** ![Williham](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/williham/32/845_2.png) [@Williham](https://discourse.cataclysmdda.org/u/Williham)\
**Post date:** [April 25, 2013, 7:07am UTC](https://discourse.cataclysmdda.org/t/crash-when-loading-a-character/993/5 "2013-04-25T07:07:23Z")

</div>

This is a known (and fixed) bug. Updating to the latest git version should resolve this.
