Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007462Dwarf FortressAdventure Mode -- Combatpublic2014-07-18 15:412014-08-10 12:13
Khym Chanur 
Footkerchief 
normalcrashalways
assignedopen 
AMD x86, 64 bit Fedora 20Linux 3.15
0.40.03 
 
0007462: After talking to goblin and attempting to attack, game hangs
In a goblin fortress, if I talk to a goblin and then attempt to attack with the "A" key, the game hangs. However, if I talk to the goblin, save, restore, and *then* try attacking, instead of hanging it gives me a list of adjacent goblins to attack.
0) Get the save file at http://dffd.wimbli.com/file.php?id=9061 [^]

1) Go up the ramp until you get to floor with the goblins.
2) Talk to an adjacent goblin who isn't yet at "no quarter" status.
3) Bypass greetings.
4) Either ask the goblin to join you as an adventurer or claim the site for yourself.
5) Attempt to attack with the "A" key.
No tags attached.
related to 0006756resolved Toady One Crash when talking to mute creatures 
related to 0006646resolved Footkerchief Crash while wrestling creatures 
related to 0008316assigned Footkerchief Game freezes when attacking when surrounded by too many creatures 
Issue History
2014-07-18 15:41Khym ChanurNew Issue
2014-07-18 16:32Khym ChanurNote Added: 0026912
2014-07-20 09:18FootkerchiefRelationship addedrelated to 0007501
2014-07-20 09:18FootkerchiefRelationship addedrelated to 0006756
2014-07-20 09:18FootkerchiefRelationship deletedrelated to 0007501
2014-07-20 09:19FootkerchiefRelationship addedrelated to 0006646
2014-08-10 11:02FootkerchiefNote Added: 0028739
2014-08-10 11:02FootkerchiefAssigned To => Footkerchief
2014-08-10 11:02FootkerchiefStatusnew => needs feedback
2014-08-10 12:13Khym ChanurNote Added: 0028747
2014-08-10 12:13Khym ChanurStatusneeds feedback => assigned
2014-08-10 14:50Khym ChanurNote Edited: 0028747bug_revision_view_page.php?bugnote_id=0028747#r11026
2014-09-27 19:53FootkerchiefRelationship addedrelated to 0008316

Notes
(0026912)
Khym Chanur   
2014-07-18 16:32   
Stack trace of the frozen game:

#0 0xf7789b35 in __kernel_vsyscall ()
0000001 0x4eff5a95 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
0000002 0x44ba6042 in SDL_SemWait () from /lib/libSDL-1.2.so.0
0000003 0xf738581f in enablerst::async_wait() ()
   from /home/matt/tmp/df_linux/libs/libgraphics.so
0000004 0xf7385c2c in enablerst::do_frame() ()
   from /home/matt/tmp/df_linux/libs/libgraphics.so
0000005 0xf7385fae in enablerst::eventLoop_SDL() ()
   from /home/matt/tmp/df_linux/libs/libgraphics.so
0000006 0xf7386a3c in enablerst::loop(std::string) ()
   from /home/matt/tmp/df_linux/libs/libgraphics.so
0000007 0xf73870d6 in main () from /home/matt/tmp/df_linux/libs/libgraphics.so
0000008 0x4ee3bb73 in __libc_start_main () from /lib/libc.so.6
0000009 0x0804c9f1 in ?? ()
(0028739)
Footkerchief   
2014-08-10 11:02   
I'm unable to reproduce the crash on Windows. Does it matter which goblin I talk to?
(0028747)
Khym Chanur   
2014-08-10 12:13   
(edited on: 2014-08-10 14:50)
I can reproduce on 0.40.06 with: after loading the game, I do "k", select "initiate a new conversation", choose the first goblin who isn't at "no quarter", ask it to join me on my adventurers, then do "A".

Maybe its Linux only?

**EDIT**: It turns out that, due to the randomness of combat (between when you talk and you can act again) that this doesn't happen 100% of the time. You might have to try several more times before the bug happens to you, even with the above recipe.