comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Issues with XQuartz 2.7.11 on macOS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Issues with XQuartz 2.7.11 on macOS [message #93891 is a reply to message #93863] Wed, 16 November 2016 08:10 Go to previous messageGo to previous message
Matt Haffner is currently offline  Matt Haffner
Messages: 34
Registered: October 2000
Member
Helpful fix--thanks.

This also fixes the hard crash that some widgets are causing (e.g., Coyote routine error messages):

IDL> cgplot, indgen(100), /blah
% Compiled module: CGERRORMSG.
Warning: Fatal Error:
_XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL
Segmentation fault: 11

The detailed thread dumps (in ~/Library/Logs/DiagnosticReports/) did point to an interaction between libXt in the new X11 and libXm (Motif library) included with IDL.

Looks like it's a known problem now (as posted in another thread):

http://www.harrisgeospatial.com/Support/HelpArticlesDetail/T abId/219/ArtMID/900/ArticleID/14944/XQuartz-2710-is-Not-Comp atible-with-ENVI-531-and-IDL-851.aspx

Their suggestion in that link to update the dylib load path in the "idl" start script works fine too. However, you'd also need to edit the "init" script inside of the /Contents/MacOS/ path if you use the IDE.

mh

On Friday, November 11, 2016 at 11:55:59 AM UTC-6, Mike Galloy wrote:
> Upgrading from XQuartz from 2.7.9 to 2.7.11 on macOS Sierra broke IDL
> widgets for me:
>
> ~$ idl
> IDL Version 8.5.1, Mac OS X (darwin x86_64 m64).
> (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary
> of Harris Corporation.
>
> IDL> xloadct
> Error: attempt to add non-widget child "dsm" to parent "idl" which
> supports only widgets
>
> The fix that worked for me were the following two commands:
>
> sudo mv /opt/X11/lib/libXt.6.dylib{,.bak}
> sudo cp /opt/X11/lib{/flat_namespace,}/libXt.6.dylib
>
> [Downgrading] to 2.7.9 (but not 2.7.10) also worked for me.
>
>
> [Downgrading]: https://www.xquartz.org/releases/index.html "XQuartz -
> Releases"
>
> Mike
> --
> Michael Galloy
> www.michaelgalloy.com
> Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CURSOR without mouse
Next Topic: two-point correlation, friends of friends

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:30:09 PDT 2025

Total time taken to generate the page: 0.00262 seconds