Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010203Dwarf FortressMiscellaneous Crashespublic2017-04-22 06:122018-05-08 08:21
Creidieki 
lethosor 
normalcrashrandom
resolvedunable to reproduce 
0.43.05 
 
0010203: Occasional OSX crash with libfmodex dynamic linking
I'm getting periodic crashes in OSX with the executable saying it's unable to find libfmodex.dylib (which is still in the lib/ subdirectory where it belongs.) Based on the output of "otool -L dwarfort.exe", this is the only library dynamically linked with @executable_path instead of @rpath. Based on the crash reports, somehow the executable thinks it's running in a different directory sometimes.

My guess is that changing the dynamic linking to use @executable_path would clear up these occasional osx crashes? But to be honest I'm a little out of my depth here.

Example crash report: https://pastebin.com/anMwLupp [^]
Output of "otool -L dwarfort.exe": https://pastebin.com/Jriw3AE3 [^]
No tags attached.
Issue History
2017-04-22 06:12CreidiekiNew Issue
2017-04-23 15:07lethosorNote Added: 0036450
2017-04-23 15:07lethosorAssigned To => lethosor
2017-04-23 15:07lethosorStatusnew => needs feedback
2018-05-08 08:21lethosorNote Added: 0038296
2018-05-08 08:21lethosorStatusneeds feedback => resolved
2018-05-08 08:21lethosorResolutionopen => unable to reproduce

Notes
(0036450)
lethosor   
2017-04-23 15:07   
I assume you mean that using @rpath would fix the issue. Are you using the 64-bit or 32-bit build of 0.43.05? Are you doing anything different to launch DF when this happens?
(0038296)
lethosor   
2018-05-08 08:21   
We need the above information to be able to reproduce this. I haven't seen other reports of this behavior, so it might be something system-specific.