Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010808Dwarf FortressAdventure Mode -- Generalpublic2018-06-30 17:482019-02-28 07:12
Toady One 
0010808: Game crashes after a short amount of time playing Adventure Mode.
I start up Adventure Mode, and walk a short distance to try and leave the fortress I am in. After a couple of steps the game crashes - Segmentation fault. I can't play this save without it happening.

The game is being managed through pacman.
Just try walking around for a bit.
http://dffd.bay12games.com/file.php?id=13861 [^]
No tags attached.
Issue History
2018-06-30 17:48vivivoxNew Issue
2018-07-04 20:27Toady OneNote Added: 0038537
2018-07-04 20:27Toady OneAssigned To => Toady One
2018-07-04 20:27Toady OneStatusnew => needs feedback
2018-07-11 08:380_GravitasNote Added: 0038582
2018-07-11 08:400_GravitasNote Edited: 0038582bug_revision_view_page.php?bugnote_id=0038582#r15694
2018-07-11 08:410_GravitasNote Edited: 0038582bug_revision_view_page.php?bugnote_id=0038582#r15695
2018-07-12 18:25vivivoxNote Added: 0038592
2018-07-12 18:25vivivoxStatusneeds feedback => assigned
2019-02-28 07:12risusinfNote Added: 0039249

Toady One   
2018-07-04 20:27   
I walked to the staircase to the southeast and then up and off the map to the north. Does the reproduce for others?
2018-07-11 08:38   
(edited on: 2018-07-11 08:41)
I reliably crash with a segmentation fault long before I can make it to any staircase. I also crash if I do any other activity that passes time, and the amount of time seems pretty consistent.

I'm on Arch 4.16.5-1 running 0.44.11 installed via pacman.

I get segmentation faults after a while in my own saves, but I'm not sure if they're related, and it usually runs for at least an hour before a crash.

2018-07-12 18:25   
More detailed error log:

[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
Dwarf_Fortress: xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)

It doesn't seem to happen with other Adventure saves.
2019-02-28 07:12   
No walking required, pressing . (dot) 10-20 times does the trick. From my experience with DF segfaults they tend to be not always reproducible on windows+intel platform for some reason, linux with the same cpu is more reliable.