View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004103 | Dwarf Fortress | Technical -- General | public | 2011-03-01 16:45 | 2014-08-05 16:53 |
Reporter | theli0nheart | Assigned To | Toady One | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Mac | OS | OS X | OS Version | 10.7 (11A390) |
Product Version | 0.31.19 | ||||
Fixed in Version | 0.34.01 | ||||
Summary | 0004103: Command line client does not launch on OS X 10.7 Lion (READ FOR FIX) | ||||
Description | When launching df on OS X 10.7, dwarf fortress crashes. | ||||
Steps To Reproduce | 1. Download DF Mac version 2. Run ./df 3. Dwarf Fortress Crashes | ||||
Additional Information | http://www.bay12forums.com/smf/index.php?topic=90246.msg2501128#msg2501128 To fix this error, replace the 'df' script with this text: OSREV=`uname -r | cut -d. -f1` if [ "$OSREV" -ge 11 ] ; then # OSX Lion export DYLD_LIBRARY_PATH="${PWD}/libs" export DYLD_FRAMEWORK_PATH="${PWD}/libs" else # Pre-Lion export DYLD_FALLBACK_LIBRARY_PATH="${PWD}/libs" export DYLD_FALLBACK_FRAMEWORK_PATH="${PWD}/libs" fi | ||||
Tags | OSX | ||||
related to | 0003263 | resolved | Toady One | Mac version unable to load up Dwarf Fortress game at all. |
has duplicate | 0004777 | resolved | Dwarf Fortress cannot start on Mac OS X Lion | |
has duplicate | 0004775 | resolved | Crashes on startup on Lion | |
has duplicate | 0004802 | resolved | Mac OSX Lion Startup Failure | |
has duplicate | 0004804 | resolved | DF crashes upon Embark every time | |
has duplicate | 0004992 | resolved | Won't run | |
has duplicate | 0004993 | resolved | Dwarf Fortress will not open in Lion | |
has duplicate | 0005030 | resolved | Game crashes immediately. | |
related to | 0004768 | new | DF crashes before fully loading. Something about a missing symbol. |
|
Wow, I have to apologize, with all my editing, I totally botched up the English in this report. Summary: Command line client does not launch *on* OS X 10.7 Lion Description: When launching df on OS X 10.7, dwarf fortress crashes. Additional information: same error repeats 1468 times |
|
Crash log: http://pastebin.com/XHSt5CeV |
|
I have a workaround/fix for this issue.. The standard DF script has: export DYLD_FALLBACK_LIBRARY_PATH=${PWD}/libs export DYLD_FALLBACK_FRAMEWORK_PATH=${PWD}/libs Which puts the libraries DF ships with right at the end of the search path. If I change those to: export DYLD_LIBRARY_PATH=${PWD}/libs export DYLD_FRAMEWORK_PATH=${PWD}/libs Then the executable is loading happily (OSX Lion on a Mac Pro) |
|
I am running OS X Lion and the fix reported by Flickering is working for me. I'm on a Macbook Core 2 duo. Thanks dude. |
|
I can report that this fix works for me as well. |
|
I can report the fix lets the game launch, but it crashes again when you attempt an aimed attack in adventurer mode. Reproduced the crash six times in a row. |
|
Reminder sent to: Doolan Do you happen to have TrueType enabled? |
|
Aha, thank you Dwarfu, that was indeed the issue. With the fix suggested in this thread and disabling TrueType it runs smooth as silk. Thanks again! |
|
Changing the startup script to set the DYLD paths does NOT work for me. The executable crashes with: "397 Abort trap" Even when extracting 31_25 from the original distribution and changing only the startup script it still crashes with the same error. |
|
Flickering's fix works for me to. I was getting the exact same problem. I'm just wondering why this less-than-one-minute-to-fix critical bug fix wasn't immediately fixed when a solution was found. (I'm using a version I just downloaded.) |
|
There is another ticket with OS X startup issues (0003263), I posted a proper fix there, which involves creating a proper application bundle instead of relying on a shell script. I believe it should be quite easy to integrate into the build toolchain used to compile Dwarf Fortress. The gist of the fix is arranging the files into an .app bundle and fixing the binaries with the install_name_tool provided by Apple so they refer to libraries inside the bundle, that removes the need for DYLD environment hacks. |
|
Part of the problem is that the Mac version of Dwarf Fortress uses a custom c++ and gcc library. I do not understand why it does this (Cross-compiling issue, perhaps?), but using the system-supplied libraries will mean that the hack needed to get it working won't be needed. |
|
The main problem here was fixed in 0.34.01 (the "df" script now handles OS X 10.7+). |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-03-01 16:45 | theli0nheart | New Issue | |
2011-03-01 16:48 | theli0nheart | Note Added: 0015649 | |
2011-03-01 23:32 |
|
Summary | Command line client does not launch is OS X 10.7 Lion => Command line client does not launch on OS X 10.7 Lion |
2011-03-01 23:32 |
|
Description Updated | |
2011-03-01 23:32 |
|
Additional Information Updated | |
2011-06-09 23:45 | kelwyn | Note Added: 0017967 | |
2011-07-27 07:59 |
|
Relationship added | has duplicate 0004777 |
2011-07-27 08:01 |
|
Relationship added | has duplicate 0004775 |
2011-07-27 08:28 |
|
Relationship added | related to 0004768 |
2011-08-02 21:44 | Flickering | Note Added: 0018417 | |
2011-08-02 21:52 | Flickering | Tag Attached: OSX | |
2011-08-03 21:05 | rustymyers | Note Added: 0018425 | |
2011-08-03 22:44 |
|
Relationship added | has duplicate 0004802 |
2011-08-04 08:56 |
|
Note Edited: 0017967 | |
2011-08-05 08:40 | norova | Note Added: 0018435 | |
2011-08-05 18:21 | Logical2u | Relationship added | parent of 0004804 |
2011-08-16 17:41 | Doolan | Note Added: 0018542 | |
2011-08-16 17:48 |
|
Note Added: 0018544 | |
2011-08-16 17:48 |
|
Tag Attached: AWAITING UPDATE | |
2011-08-16 18:56 | Doolan | Note Added: 0018545 | |
2011-09-08 08:06 | dglidden | Note Added: 0018692 | |
2011-12-17 21:14 | Explanatory | Note Added: 0019189 | |
2011-12-22 09:52 |
|
Tag Detached: AWAITING UPDATE | |
2011-12-22 09:54 |
|
Additional Information Updated | |
2011-12-22 09:55 |
|
Relationship added | has duplicate 0004992 |
2011-12-22 19:42 |
|
Relationship added | has duplicate 0004993 |
2012-01-23 12:37 |
|
Sticky Issue | No => Yes |
2012-01-23 12:37 |
|
Summary | Command line client does not launch on OS X 10.7 Lion => Command line client does not launch on OS X 10.7 Lion (READ FOR FIX) |
2012-01-23 12:37 |
|
Relationship added | related to 0000048 |
2012-01-23 12:38 |
|
Relationship deleted | related to 0000048 |
2012-01-23 12:38 |
|
Relationship replaced | related to 0004804 |
2012-01-24 04:20 |
|
Relationship added | has duplicate 0005030 |
2012-02-18 15:22 | jfs | Note Added: 0020066 | |
2012-02-19 02:15 |
|
Relationship added | related to 0003263 |
2012-03-21 18:26 |
|
Relationship added | has duplicate 0005580 |
2012-07-02 20:23 | Madd the Sane | Note Added: 0023145 | |
2014-01-27 22:26 |
|
Relationship replaced | has duplicate 0004804 |
2014-07-30 19:29 | lethosor | Note Added: 0027996 | |
2014-07-30 19:29 | lethosor | Status | new => resolved |
2014-07-30 19:29 | lethosor | Fixed in Version | => 0.34.01 |
2014-07-30 19:29 | lethosor | Resolution | open => fixed |
2014-07-30 19:29 | lethosor | Assigned To | => Toady One |
2014-07-30 19:32 | lethosor | Relationship deleted | has duplicate 0005580 |
2014-08-05 16:53 | lethosor | Sticky Issue | Yes => No |