Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011925Dwarf FortressTechnical -- Generalpublic2022-11-07 20:232022-11-09 08:37
oSketchMastah 
 
highcrashalways
newopen 
LinuxUbuntu22.04.1
0.47.05 
 
0011925: Crash guaranteed
Something occurs invariably within a small interval (maybe a point) of time that ultimately causes the game to crash (segmentation fault). I tried saving often thinking it was a random occurence, but in doing have only moved the save point really close to the crash event (making it really hard to try anything to fix it). I ran the game with gdb and the debug information (in the additional information) is at least consistent (the hex code in the last line was the same twice in a row).
Starting program: /home/sketch/Documents/df_linux/libs/Dwarf_Fortress
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Gtk-Message: 22:45:18.748: Failed to load module "canberra-gtk-module"
[New Thread 0x7ffff497c640 (LWP 132454)]
[New Thread 0x7ffff417b640 (LWP 132455)]
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
[New Thread 0x7ffff3667640 (LWP 132456)]
[Thread 0x7ffff3667640 (LWP 132456) exited]
[New Thread 0x7ffff35e6640 (LWP 132457)]
[Thread 0x7ffff35e6640 (LWP 132457) exited]
[New Thread 0x7ffff35e6640 (LWP 132458)]
[New Thread 0x7ffff2de5640 (LWP 132459)]
[New Thread 0x7ffff23bd640 (LWP 132460)]
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
New window size: 640x300
Font size: 8x12
Resizing grid to 80x25
Resizing font to 8x12

Resetting textures
Resizing font to 8x12

Thread 3 "Dwarf_Fortress" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff417b640 (LWP 132455)]
0x00000000011fe1b3 in ?? ()
No tags attached.
Issue History
2022-11-07 20:23oSketchMastahNew Issue
2022-11-08 05:51oSketchMastahNote Added: 0041344
2022-11-08 19:23ZiusudraNote Added: 0041345
2022-11-09 08:37oSketchMastahNote Added: 0041346
2022-11-09 11:14oSketchMastahIssue Monitored: oSketchMastah
2022-11-09 11:14oSketchMastahIssue End Monitor: oSketchMastah
2022-11-09 11:14oSketchMastahIssue Monitored: oSketchMastah

Notes
(0041344)
oSketchMastah   
2022-11-08 05:51   
Forgive me for being a gdb noob, but I just figured out how to print the whole stack. This is what the stack looks like when it crashes:
(gdb) backtrace full
#0 0x00000000011fe1b3 in ?? ()
No symbol table info available.
0000001 0x0000000000da4024 in ?? ()
No symbol table info available.
0000002 0x0000000000da497d in ?? ()
No symbol table info available.
0000003 0x00000000007a20ba in ?? ()
No symbol table info available.
0000004 0x00007ffff7864eb2 in interfacest::loop() ()
   from /home/sketch/Documents/df_linux/libs/libgraphics.so
No symbol table info available.
0000005 0x0000000000a4921e in mainloop() ()
No symbol table info available.
0000006 0x00007ffff78491c5 in enablerst::async_loop() ()
   from /home/sketch/Documents/df_linux/libs/libgraphics.so
No symbol table info available.
0000007 0x00007ffff78494e0 in call_loop(void*) ()
   from /home/sketch/Documents/df_linux/libs/libgraphics.so
No symbol table info available.
0000008 0x00007ffff7f21cbc in ?? () from /lib/x86_64-linux-gnu/libSDL-1.2.so.0
No symbol table info available.
0000009 0x00007ffff7f61e5f in ?? () from /lib/x86_64-linux-gnu/libSDL-1.2.so.0
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--
0000010 0x00007ffff706cb43 in start_thread (arg=<optimized out>)
    at ./nptl/pthread_create.c:442
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737488345760,
                2747316258291746954, 140737288582720, 11, 140737337804880,
                140737488346112, -2747330205518231414, -2747332553720428406},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
0000011 0x00007ffff70fea00 in clone3 ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.
(0041345)
Ziusudra   
2022-11-08 19:23   
Most helpful would be to provide the save at some place like https://dffd.bay12games.com/category.php?id=20 [^]
(0041346)
oSketchMastah   
2022-11-09 08:37   
Thanks for the advice! The save is here https://dffd.bay12games.com/file.php?id=16147 [^]