Anonymous | Login | Signup for a new account | 2024-11-01 19:24 PDT |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
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 | |||||
Target Version | 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 | |||||
Attached Files | ||||||
Relationships | ||||||||||||||||||||||||||||||||||||||||||||||
|
Notes | |
(0015649) theli0nheart (reporter) 2011-03-01 16:48 |
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 |
(0017967) kelwyn (reporter) 2011-06-09 23:45 edited on: 2011-08-04 08:56 |
Crash log: http://pastebin.com/XHSt5CeV [^] |
(0018417) Flickering (reporter) 2011-08-02 21:44 |
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) |
(0018425) rustymyers (reporter) 2011-08-03 21:05 |
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. |
(0018435) norova (reporter) 2011-08-05 08:40 |
I can report that this fix works for me as well. |
(0018542) Doolan (reporter) 2011-08-16 17:41 |
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. |
(0018544) Dwarfu (manager) 2011-08-16 17:48 |
Reminder sent to: Doolan Do you happen to have TrueType enabled? |
(0018545) Doolan (reporter) 2011-08-16 18:56 |
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! |
(0018692) dglidden (reporter) 2011-09-08 08:06 |
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. |
(0019189) Explanatory (reporter) 2011-12-17 21:14 |
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.) |
(0020066) jfs (reporter) 2012-02-18 15:22 |
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. |
(0023145) Madd the Sane (reporter) 2012-07-02 20:23 |
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. |
(0027996) lethosor (manager) 2014-07-30 19:29 |
The main problem here was fixed in 0.34.01 (the "df" script now handles OS X 10.7+). |
Issue History | |||
Date Modified | Username | Field | Change |
2011-03-01 16:45 | theli0nheart | New Issue | |
2011-03-01 16:46 | theli0nheart | Issue Monitored: theli0nheart | |
2011-03-01 16:48 | theli0nheart | Note Added: 0015649 | |
2011-03-01 23:32 | Footkerchief | 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 | Footkerchief | Description Updated | View Revisions |
2011-03-01 23:32 | Footkerchief | Additional Information Updated | View Revisions |
2011-06-09 23:45 | kelwyn | Note Added: 0017967 | |
2011-07-24 17:24 | rustymyers | Issue Monitored: rustymyers | |
2011-07-25 06:32 | dglidden | Issue Monitored: dglidden | |
2011-07-25 07:45 | sharlaon | Issue Monitored: sharlaon | |
2011-07-27 07:09 | jagedge | Issue Monitored: jagedge | |
2011-07-27 07:59 | Dwarfu | Relationship added | has duplicate 0004777 |
2011-07-27 08:01 | Dwarfu | Relationship added | has duplicate 0004775 |
2011-07-27 08:01 | Dwarfu | Issue Monitored: stanrandom | |
2011-07-27 08:01 | Dwarfu | Issue Monitored: thunderflesh | |
2011-07-27 08:01 | Dwarfu | Issue Monitored: algrym | |
2011-07-27 08:28 | Dwarfu | Relationship added | related to 0004768 |
2011-07-28 08:21 | phlyingpenguin | Issue Monitored: phlyingpenguin | |
2011-07-29 03:30 | Bitbrit | Issue Monitored: Bitbrit | |
2011-07-30 23:30 | ericp | Issue Monitored: ericp | |
2011-08-02 21:44 | Flickering | Note Added: 0018417 | |
2011-08-02 21:52 | Flickering | Tag Attached: OSX | |
2011-08-02 22:29 | Flickering | Issue Monitored: Flickering | |
2011-08-03 21:05 | rustymyers | Note Added: 0018425 | |
2011-08-03 22:44 | Dwarfu | Relationship added | has duplicate 0004802 |
2011-08-04 08:56 | Footkerchief | Note Edited: 0017967 | View Revisions |
2011-08-04 12:41 | acetech09 | Note Added: 0018430 | |
2011-08-04 12:52 | acetech09 | Note Added: 0018431 | |
2011-08-04 12:52 | acetech09 | Note Deleted: 0018430 | |
2011-08-04 12:52 | acetech09 | Note Deleted: 0018431 | |
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 | Dwarfu | Issue Monitored: Doolan | |
2011-08-16 17:48 | Dwarfu | Note Added: 0018544 | |
2011-08-16 17:48 | Dwarfu | 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 | Footkerchief | Tag Detached: AWAITING UPDATE | |
2011-12-22 09:54 | Footkerchief | Additional Information Updated | View Revisions |
2011-12-22 09:55 | Footkerchief | Relationship added | has duplicate 0004992 |
2011-12-22 19:42 | Dwarfu | Relationship added | has duplicate 0004993 |
2012-01-23 12:37 | Footkerchief | Sticky Issue | No => Yes |
2012-01-23 12:37 | Footkerchief | 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 | Footkerchief | Relationship added | related to 0000048 |
2012-01-23 12:38 | Footkerchief | Relationship deleted | related to 0000048 |
2012-01-23 12:38 | Footkerchief | Relationship replaced | related to 0004804 |
2012-01-23 12:40 | Footkerchief | Issue Monitored: Toady One | |
2012-01-24 04:20 | Dwarfu | Relationship added | has duplicate 0005030 |
2012-02-18 15:22 | jfs | Note Added: 0020066 | |
2012-02-19 02:15 | Footkerchief | Relationship added | related to 0003263 |
2012-03-21 18:26 | Dwarfu | Relationship added | has duplicate 0005580 |
2012-07-02 20:23 | Madd the Sane | Note Added: 0023145 | |
2014-01-27 22:26 | Footkerchief | 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 |
Copyright © 2000 - 2010 MantisBT Group |