View Issue Details

IDProjectCategoryView StatusLast Update
0012903Dwarf FortressTitle Screenpublic2025-02-15 19:00
Reporterpelleeroevraren Assigned Tolethosor  
PrioritynormalSeveritycrashReproducibilityalways
Status confirmedResolutionopen 
PlatformLinuxOSArch 
Product Version50.13 
Summary0012903: SIGABRT when quitting from Title Screen on Linux
DescriptionAfter embarking and only running the game for some seconds, I saved and quit to menu.

The game has crashed while quitting from the Title Screen every time I've loaded and exited the save since.
It's happened with or without multithreading enabled, and whether fullscreen or windowed.

Starting up the game and entering menus or simply quitting right away does not cause a crash.

It's been a SIGABRT caused by either a 'free(): Invalid pointer', or 'double free or corruption (out)' that I've noticed.
Steps To Reproducerun game
load the save
quit with or without playing, and with or without saving
'Quit'
Additional InformationVersion: 50.13, classic ASCII mode.

### Console Output

(snipped irrelevant output - lethosor)
free(): invalid pointer
/usr/bin/dwarffortress: line 15: 34739 Aborted (core dumped) LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${DF_DIR}" $DF_DIR/dwarfort "$@"
Tags50.13, 50.14, quit, SIGABRT

Activities

pelleeroevraren

2024-06-25 23:48

reporter   ~0042265

Last edited: 2024-09-28 11:49

https://dffd.bay12games.com/file.php?id=17125

EDIT:
And I'm on Arch Linux 6.9.5.hardened with XWayland.

EDIT:
Corrected save link. Not that the save matters visavis this issue, probably.

lethosor

2024-09-28 19:44

manager   ~0042370

This is fairly common on Linux, from my understanding. Not seeing another report from 50.xx.

lethosor

2024-09-30 19:07

manager   ~0042377

51.01-beta23 may have fixed this: https://store.steampowered.com/news/app/975370/view/4657374909391435287

Does this issue still occur in that build or later?

pelleeroevraren

2024-10-06 08:25

reporter   ~0042386

For the time being, I just tried 50.14-1 — the latest version provided by my package manager, and that still crashes the same.

lethosor

2024-10-07 09:31

manager   ~0042389

51.01-beta23 is 5 days newer. I don't know if that fix will be backported to a potential 50.15 or not. The 51.01 beta track is only available on Steam at the moment.

pelleeroevraren

2025-01-10 08:32

reporter   ~0042487

Last edited: 2025-01-17 22:52

This hasn't happened on 50.15 for a couple times loading and playing a save, so far.

UPDATE: Issue Solved, I'd put.

pelleeroevraren

2025-02-07 20:36

reporter   ~0042535

Last edited: 2025-02-15 18:41

Well:

INFO: Leaked thread (0x3b7083d0)
double free or corruption (out)
/usr/bin/dwarffortress: line 15: 1290 Aborted (core dumped) LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${DF_DIR}" $DF_DIR/dwarfort "$@"

Up until this morning, since the recent switch on Arch Linux from using SDL2 to SDL3 for game media stuff, I couldn't run the game at all without it instantly crashing. Now the game seems to run fine, only the exit crash is back.

I am now running Dwarf Fortress 51.02 as per the latest Arch package.

Dwarf Fortress SDL discussion over at Arch; thread includes link unto related SDL issue on github: https://bbs.archlinux.org/viewtopic.php?id=303005

lethosor

2025-02-14 22:13

manager   ~0042551

It looks like there has been some suggestion on the linked thread. Generally, SDL3 and SDL2-compat are very new and issues are to be expected. DF has not been developed for or tested with either.

If it's still giving you trouble, I would suggest using SDL2. I don't know how easy that is to install on Arch. Building SDL2 from source should also not be too bad on Linux, if it comes to that.

Also, 51.12 isn't an existing DF version, so I'm not sure what you meant (50.12? 51.04?)

pelleeroevraren

2025-02-15 19:00

reporter   ~0042557

The SDL issue seems to have affected many games and things generally, but since a few further updates got dwarf fortress working for me again I'll bear with the exit crash being back. So far, it itself has been unimportant to me as a user.

I corrected the note to say 51.02.

Add Note

Note

Issue History

Date Modified Username Field Change
2024-06-25 16:29 pelleeroevraren New Issue
2024-06-25 16:29 pelleeroevraren Tag Attached: 50.13
2024-06-25 16:29 pelleeroevraren Tag Attached: quit
2024-06-25 16:29 pelleeroevraren Tag Attached: SIGABRT
2024-06-25 23:48 pelleeroevraren Note Added: 0042265
2024-06-26 02:50 pelleeroevraren Note Edited: 0042265
2024-08-22 22:33 lethosor Product Version => 50.13
2024-09-28 11:49 pelleeroevraren Note Edited: 0042265
2024-09-28 19:44 lethosor OS => Arch
2024-09-28 19:44 lethosor Platform => Linux
2024-09-28 19:44 lethosor Note Added: 0042370
2024-09-28 19:45 lethosor Assigned To => lethosor
2024-09-28 19:45 lethosor Status new => confirmed
2024-09-28 19:45 lethosor Summary SIGABRT when quitting from Title Screen => SIGABRT when quitting from Title Screen on Linux
2024-09-28 19:45 lethosor Additional Information Updated
2024-09-28 19:45 lethosor Additional Information Updated
2024-09-30 19:07 lethosor Note Added: 0042377
2024-10-06 08:25 pelleeroevraren Note Added: 0042386
2024-10-07 09:31 lethosor Note Added: 0042389
2024-10-07 09:31 lethosor Tag Attached: 50.14
2025-01-10 08:32 pelleeroevraren Note Added: 0042487
2025-01-17 22:50 pelleeroevraren Note Edited: 0042487
2025-01-17 22:52 pelleeroevraren Note Edited: 0042487
2025-02-07 20:36 pelleeroevraren Note Added: 0042535
2025-02-14 22:13 lethosor Note Added: 0042551
2025-02-15 18:41 pelleeroevraren Note Edited: 0042535
2025-02-15 19:00 pelleeroevraren Note Added: 0042557