Bug 98591

Summary: XQuartz 2.7.11 Crashes on start-up for Mac OSX 10.12.1
Product: XQuartz Reporter: Samuel Dupree <sdupree>
Component: New BugsAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: RESOLVED INVALID QA Contact: Jeremy Huddleston Sequoia <jeremyhu>
Severity: critical    
Priority: medium    
Version: 2.7.11 (xserver-1.18.4)   
Hardware: Other   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Crash Dump from XQuartz

Description Samuel Dupree 2016-11-04 17:19:05 UTC
Created attachment 127763 [details]
Crash Dump from XQuartz

XQuartz v. 2.7.11 crashes on start-up on Mac Pro running Mac OS X v. 10.12.1 (Sierra). The crash dump has been attached.
Comment 1 Jeremy Huddleston Sequoia 2016-11-05 00:24:37 UTC
This is behaving correctly.  You've instructed dyld to use your libraries in DYLD_LIBRARY_PATH instead of the ones we ship, and the crash happened because of your libraries.  dyld now does a great job of pointing out where you've shot yourself in the foot:

DYLD_LIBRARY_PATH=/Applications/MATLAB_R2016b.app/bin/maci64:/Users/user/dislin:/Applications/Absoft16.0/shlib64:/Applications/Absoft16.0/shlib::/Users/user/ODTBX_6_5/GMAT-R2014a-Darwin/bin:/usr/local/Cellar/hdf5/1.8.15/:/Users/user/s2plot-3.2.1/darwin-gnu-x86_64:/Users/user/local/bin

Don't do that!  Don't set DYLD_LIBRARY_PATH unless you really understand what it's doing.  If someone told you to use DYLD_LIBRARY_PATH, go tell them they were wrong.
Comment 2 conorowenswalton 2017-09-07 11:18:28 UTC
Thanks so much for this fix, you are 100% correct.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.