Dwarf Fortress Bug Tracker - Dwarf Fortress |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007389 | Dwarf Fortress | Miscellaneous Crashes | public | 2014-07-16 12:42 | 2016-06-29 18:26 |
|
Reporter | fricy | |
Assigned To | lethosor | |
Priority | normal | Severity | crash | Reproducibility | always |
Status | confirmed | Resolution | open | |
Platform | Mac | OS | OSX | OS Version | 10.8+ |
Product Version | 0.40.03 | |
Target Version | | Fixed in Version | | |
|
Summary | 0007389: freetype missing on OS X; causes crashes when entering fullscreen and/or starting DF |
Description | (Removed partial duplicate of 0005260)
Apple stopped distributing X11 with OS X 10.8+, so players with newer versions of OS X have freetype6.dylib missing from their system, and the game crashes with:
dyld: Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib
Referenced from: /Users/hlavaczech/Downloads/df_osx/libs/SDL_ttf.framework/Versions/A/SDL_ttf
Reason: image not found
|
Steps To Reproduce | Install a clean osx 10.8+ and try to run the game. |
Additional Information | Solution that seems to work: 0007389:0032194 |
Tags | Fixed in 0.43.05? |
Relationships | related to | 0003263 | resolved | Toady One | Mac version unable to load up Dwarf Fortress game at all. | has duplicate | 0005580 | resolved | Dwarfu | Crash on Startup on Mountain Lion | has duplicate | 0007309 | resolved | lethosor | Dwarf Fortress won't open | has duplicate | 0008595 | resolved | Footkerchief | mac version won't run | has duplicate | 0003361 | resolved | Logical2u | Error upon trying to open game | has duplicate | 0009009 | resolved | lethosor | df will NOT start | has duplicate | 0009431 | resolved | lethosor | Mac launch script does not launch DF | related to | 0007638 | acknowledged | Dwarfu | switching to/from fullscreen crashes [Win7] | related to | 0002624 | confirmed | lethosor | Bundled SDL version uses NSQuickDrawView on OS X; deprecated/unavailable in newer versions of OS X |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-07-16 12:42 | fricy | New Issue | |
2014-07-16 12:42 | fricy | Tag Attached: Probable Quick Fix | |
2014-07-16 12:43 | fricy | Tag Attached: OSX | |
2014-07-16 12:57 | fricy | Note Added: 0026661 | |
2014-07-16 12:58 | fricy | Note Edited: 0026661 | bug_revision_view_page.php?bugnote_id=0026661#r9938 |
2014-07-16 13:58 | Footkerchief | Relationship added | related to 0003263 |
2014-07-17 23:15 | fricy | Issue Monitored: fricy | |
2014-07-25 06:40 | lethosor | Note Added: 0027488 | |
2014-07-25 07:41 | fricy | Note Added: 0027494 | |
2014-07-25 13:44 | lethosor | Note Added: 0027540 | |
2014-07-25 13:44 | lethosor | Note Edited: 0027540 | bug_revision_view_page.php?bugnote_id=0027540#r10382 |
2014-07-26 01:46 | fricy | Note Added: 0027579 | |
2014-07-26 02:02 | fricy | Note Added: 0027581 | |
2014-07-26 08:09 | Dwarfu | Relationship added | related to 0007638 |
2014-07-30 19:31 | lethosor | Summary | OSX version of DF crashes when fullscreen, missing freetype6.dylib => freetype6.dylib missing on OS X; causes crashes when entering fullscreen and/or starting DF |
2014-07-30 19:32 | lethosor | Relationship added | has duplicate 0005580 |
2014-07-30 19:34 | lethosor | Note Added: 0027998 | |
2014-07-30 19:34 | lethosor | Assigned To | => lethosor |
2014-07-30 19:34 | lethosor | Status | new => acknowledged |
2014-07-30 19:35 | lethosor | Severity | major => crash |
2014-08-15 13:03 | ToadChild | Issue Monitored: ToadChild | |
2014-08-26 12:25 | lethosor | Status | acknowledged => confirmed |
2014-08-26 13:55 | lsmoura | Note Added: 0029680 | |
2014-08-26 14:05 | lethosor | Note Edited: 0027998 | bug_revision_view_page.php?bugnote_id=0027998#r11455 |
2014-08-26 14:08 | lethosor | Description Updated | bug_revision_view_page.php?rev_id=11457#r11457 |
2014-08-26 14:21 | lethosor | Issue Monitored: Toady One | |
2014-11-07 14:19 | ToadChild | Note Added: 0030905 | |
2014-11-22 16:57 | lethosor | Relationship added | parent of 0007309 |
2014-11-23 04:54 | lethosor | Relationship deleted | parent of 0007309 |
2014-11-23 04:55 | lethosor | Relationship added | has duplicate 0007309 |
2014-11-23 04:55 | lethosor | Issue Monitored: Android5217 | |
2014-12-02 21:30 | Footkerchief | Relationship added | has duplicate 0008595 |
2014-12-06 07:09 | lethosor | Description Updated | bug_revision_view_page.php?rev_id=12489#r12489 |
2014-12-06 07:11 | lethosor | Note Added: 0031283 | |
2014-12-06 07:11 | lethosor | Description Updated | bug_revision_view_page.php?rev_id=12490#r12490 |
2014-12-06 07:18 | lethosor | Relationship added | has duplicate 0003361 |
2014-12-18 18:12 | Madd the Sane | Note Added: 0031360 | |
2015-02-09 12:22 | lethosor | Note Added: 0032193 | |
2015-02-09 12:22 | lethosor | Note View State: 0032193: private | |
2015-02-09 12:25 | lethosor | Note Edited: 0032193 | bug_revision_view_page.php?bugnote_id=0032193#r12904 |
2015-02-09 12:25 | lethosor | Note Added: 0032194 | |
2015-02-09 18:32 | lethosor | Note Edited: 0032193 | bug_revision_view_page.php?bugnote_id=0032193#r12905 |
2015-07-06 07:52 | lethosor | Note Edited: 0032194 | bug_revision_view_page.php?bugnote_id=0032194#r13173 |
2015-07-06 07:52 | lethosor | Relationship added | has duplicate 0009009 |
2015-07-06 11:22 | lethosor | Tag Detached: OSX | |
2015-07-06 11:23 | lethosor | Description Updated | bug_revision_view_page.php?rev_id=13174#r13174 |
2015-07-06 11:25 | lethosor | Description Updated | bug_revision_view_page.php?rev_id=13175#r13175 |
2015-07-06 11:25 | lethosor | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13177#r13177 |
2015-10-18 10:50 | lethosor | Note Edited: 0032194 | bug_revision_view_page.php?bugnote_id=0032194#r13337 |
2015-10-18 10:50 | lethosor | Note Edited: 0032194 | bug_revision_view_page.php?bugnote_id=0032194#r13338 |
2015-10-18 10:54 | lethosor | Relationship added | related to 0002624 |
2015-10-18 10:56 | lethosor | Description Updated | bug_revision_view_page.php?rev_id=13339#r13339 |
2015-10-18 10:56 | lethosor | Additional Information Updated | bug_revision_view_page.php?rev_id=13341#r13341 |
2015-10-19 14:19 | lethosor | Summary | freetype6.dylib missing on OS X; causes crashes when entering fullscreen and/or starting DF => freetype missing on OS X; causes crashes when entering fullscreen and/or starting DF |
2015-11-27 14:37 | lethosor | Note Deleted: 0032193 | |
2015-12-26 10:22 | Footkerchief | Tag Detached: Probable Quick Fix | |
2015-12-26 10:59 | lethosor | Additional Information Updated | bug_revision_view_page.php?rev_id=13778#r13778 |
2015-12-28 06:44 | lethosor | Relationship added | has duplicate 0009431 |
2016-06-26 09:00 | lethosor | Note Edited: 0032194 | bug_revision_view_page.php?bugnote_id=0032194#r14309 |
2016-06-29 18:25 | lethosor | Tag Attached: Fixed in 0.43.05? | |
2016-06-29 18:26 | lethosor | Note Added: 0035526 | |
2016-09-05 07:50 | lethosor | Note Edited: 0035526 | bug_revision_view_page.php?bugnote_id=0035526#r14453 |
Notes |
|
(0026661)
|
fricy
|
2014-07-16 12:57
(edited on: 2014-07-16 12:58) |
|
Related to 0003263, but not quite the same.
|
|
|
|
Reminder sent to: fricy Does this occur without DFHack? |
|
|
(0027494)
|
fricy
|
2014-07-25 07:41
|
|
Ok, a small correction is in order: The "wrong mach-o" message happens only with dfhack, pure vanilla opens a pop-up with missing X11 and instructs you to read this page: http://support.apple.com/kb/HT5293 [^]
If I copy freetype6 to df/libs both versions launch without complain.
Further: Xquartz is 68 mega, freetype is about 1 mega.
I only noticed this problem with dfhack-r5, because freetype was bundled with stonesense in r3, and dfhack/deplibs was refered in the startup script. Relevant conversation: http://goo.gl/RLdA65 [^]
The SDL fullscreen bug is present in both version, df does not CTD, but stops responding with the music playing in the background.
This is on an unmodified 10.9.3, no patches, hotfixes, etc. |
|
|
|
Ah, so DFHack blocks the "Download XQuartz" dialog, but the problem occurs either way. For me, the library is located in /usr/X11R6/lib/libfreetype.6.dylib - does copying it into libs/ fix it for you? (Interestingly enough, Freetype is mentioned on the "About DF" screen, so it may be an accidental omission.)
The fullscreen bug is a different, already-reported bug.
|
|
|
(0027579)
|
fricy
|
2014-07-26 01:46
|
|
Freetype is included as a .dll in windows, so I'm sure it's intended to be bundled. Perhaps in pre 10.8 Toady felt that it's already in OSX, so no need to bundle it. This has changed, and that is my point.
About your question: Yes, there is a freetype.6 included default in Mavericks in /usr/X11/lib. No, it does not work if copied into df/libs. The problem is with the dylib, not the path.
This file comes with 10.9.3:
ls -l libfreetype_maverick.6.dylib
-rwxr-xr-x@ 1 fricy staff 25968 Júl 16 20:05 libfreetype_maverick.6.dylib
otool -L libfreetype_maverick.6.dylib
/usr/X11/lib/libfreetype.6.dylib (compatibility version 15.0.0, current version 15.1.0)
/usr/X11/lib/libxstub.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
And this is the working one from XQuartz:
ls -l libfreetype.6.dylib
-rwxr-xr-x 1 fricy staff 1089968 Feb 16 2012 libfreetype.6.dylib
otool -L libfreetype.6.dylib
/usr/X11/lib/libfreetype.6.dylib (compatibility version 14.0.0, current version 14.2.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
I don't know why is it only 25kb, I don't know Apple's reason for this change. I only know that the game from Toady's download page does not work out of the box for newbies, and it's a simple fix. |
|
|
(0027581)
|
fricy
|
2014-07-26 02:02
|
|
Sorry, the tracker doesn't let me edit the post:
1. This problem goes back 2 years, see: 5580
2. Can't find the bugreport you mentioned above about SDL. Can you help me out? |
|
|
(0027998)
|
lethosor
|
2014-07-30 19:34
(edited on: 2014-08-26 14:05) |
|
0005260 is the fullscreen bug. It appears that DF crashes on startup on OS X 10.6 without freetype - copying /usr/X11/lib/libfreetype.6.dylib to DF/libs/libfreetype.6.dylib fixes this problem as well.
Edit: This also eliminates the X11/XQuartz dependency, according to http://www.bay12forums.com/smf/index.php?topic=142925.0 [^]
|
|
|
|
Problem still exists on 0.40.10. (tested on OS X 10.9 and 10.10 beta).
Adding libfreetype.6.dylib and replacing SDL.framework to 1.2.15 on the libs folder solves the issue. |
|
|
|
Encountered this with OS X 10.10 (yosemite) and 0.40.15.
This was my first time running DF since my OS upgrade. I have XQuartz installed since before the OS upgrade.
I resolved my issue by copying /opt/X11/lib/libfreetype.6.dylib into the DF directory, as per lethosor's comment. (Note that the source path has changed) |
|
|
|
I changed the error message in the description to the one from 0008595. The previous message referenced DFHack, but this isn't DFHack-specific. |
|
|
|
Note that you may have to re-install XQuartz if you've upgraded your OS. I had to do this myself. |
|
|
(0032194)
|
lethosor
|
2015-02-09 12:25
(edited on: 2016-06-26 09:00) |
|
|
|
(0035526)
|
lethosor
|
2016-06-29 18:26
(edited on: 2016-09-05 07:50) |
|
May be fixed in 0.43.05 - Toady is working on getting a newer SDL_ttf working.
Edit: appears fixed in the 64-bit build, but not in the 32-bit one.
|
|