View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006856 | Dwarf Fortress | Dwarf Mode -- Embark/Setup | public | 2014-07-09 12:17 | 2014-07-26 00:55 |
Reporter | Fayceless | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 0.40.01 | ||||
Summary | 0006856: Frequent crashes while preparing carefully | ||||
Description | Game crashes sometimes when pressing "v" to view or "c" to customize a dwarf. | ||||
Steps To Reproduce | Enter and exit view and customize menus repeatedly - eventually it will crash. | ||||
Additional Information | I haven't been able to get an embark set up yet. I like to assign my roles carefully. | ||||
Tags | No tags attached. | ||||
|
This seems to be related to the turning on/off of the music. With sound disabled, the game does not crash. When it's enabled, every time you enter 'v'iew, the music turns on. This seems to randomly crash the game. |
|
Are you using SDL or Legacy? Does switching help? |
|
SDL, and yes, switching to Legacy prevented the crash. Playing SDL without sound also fixed it. |
|
I've been having the same issue with 40.04 (SDL). Crashed three times while preparing carefully for a new fort, didn't crash after I turned off the sound. EDIT: I've been poking at this one a bit. I can confirm that it's a null pointer dereference in fmodex.dll, from calling playSound() when (v)iewing a dwarf. E2: corrected some info E3: So I've spent some more time trying to track this one down. The game doesn't always crash with a null pointer; sometimes it simply locks up. When it does crash, the null pointer issue seems to move around... I've seen it happen in 4 or 5 different places. I have what seems to be the most frequent spot pretty heavily instrumented, so I can hopefully figure out where they're coming from, but at this point it's looking more and more like memory corruption (perhaps something writing over bits of the Sound, Channel, or System objects). Will update if I can catch anything in the act... |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-07-09 12:17 | Fayceless | New Issue | |
2014-07-13 15:33 | Fayceless | Note Added: 0026216 | |
2014-07-13 15:33 | Fayceless | Note Edited: 0026216 | |
2014-07-13 15:54 |
|
Note Added: 0026223 | |
2014-07-13 15:54 |
|
Assigned To | => user6 |
2014-07-13 15:54 |
|
Status | new => feedback |
2014-07-13 19:53 | Fayceless | Note Added: 0026261 | |
2014-07-13 19:53 | Fayceless | Status | feedback => assigned |
2014-07-26 00:55 | thewonderidiot | Note Added: 0027577 | |
2014-07-26 11:44 | thewonderidiot | Note Edited: 0027577 | |
2014-07-26 13:29 | thewonderidiot | Note Edited: 0027577 | |
2014-07-27 15:18 | thewonderidiot | Note Edited: 0027577 |