登録ログイン     
en-USfr-FRja-JP
 
Loading
Article ID: 4698        Category: IDL, Installation
  IDL 8.1 Workbench crashing on Mac OS X 10.7.2 (and 10.7.3)
Published on 10/31/2011
   
Topic:

There is a known problem in which the IDL workbench fails to launch on Mac OS X 10.7.2. As of 10/31/2011, There are a few of scenarios in which this problem occurs:

1) The user upgrades directly from 10.6 to 10.7.2 (skipping 10.7.0 and 10.7.1)
2) The user downloads 10.7.2 form the Apple store
3) The user re-installs Mac OS X Lion using the new network install/repair functionality (done via Cmd+R at reboot)
4) The user buys a new Apple machine with Mac OS X 10.7.2 already installed

If the user installed Mac OS X 10.7.2 using any of the methods listed above, the IDL 8 workbench may not launch on his or her system. If the user upgrades to Mac OS X 10.7.2 from 10.7.0 or 10.7.1, then the IDL 8 workbench should work without problems.

If you are using Mac OS X 10.7.3 then the workbench crashes will likely occur unless you have performed the workaround shown in this article (even if you upgraded from 10.7.0 or 10.7.1).


NOTE: Mac OS X Lion is not a supported platform for IDL 8.0 and 8.1.

Discussion:
If you download Mac OS X 10.7.2 directly from the Apple store or through Apple's new network recovery/reinstall feature, the IDL 8 workbench may fail to launch on your system. These crashes may also occur on Mac OS X 10.7.3. Typically on these systems, when you start the workbench, the IDL splash page will appear, and the scroll bar at the bottom of the page will reach the end. At this point, a Problem Report window will appear, and the workbench will crash. A sample from a Problem Report generated by this issue can be found at the bottom of the page. If you started the workbench inside the terminal, a segmentation fault will likely occur as shown below:

bash-3.2$ idlde
Segmentation fault: 11
bash-3.2$

Workaround:
If you are experiencing this issue, you can work around this problem by renaming IDL's curl libraries. To do this, please use the following procedure:

1) If you are running any instances of IDL, please shut them down.

2) Open a terminal window and navigate to the /bin/bin.darwin.x86_64 directory. For example, if you are using IDL 8.1 installed in the Applications directory, type the following command:


cd /Applications/itt/idl/idl81/bin/bin.darwin.x86_64


3) Rename the following three files: libcurl.4.0.1.dylib, libcurl.4.dylib and libcurl.dylib. For example,

mv libcurl.4.0.1.dylib libcurl.4.0.1.dylib.bak
mv libcurl.4.dylib libcurl.4.dylib.bak
mv libcurl.dylib libcurl.dylib.bak


If your login does not have adequate permissions to make these changes,
you may need to issue the commands with "sudo" privileges. For example:

sudo mv ./libcurl.4.0.1.dylib libcurl.4.0.1.dylib.bak
sudo mv ./libcurl.4.dylib libcurl.4.dylib.bak
sudo mv ./libcurl.dylib libcurl.dylib.bak


4) Restart IDL. If it still fails to launch, try restarting your system.

The procedure described above is a workaround to get up and running. IDL should still be able to load the version of these libraries provided the OS using the DYLD_LIBRARY_PATH variable. IDL's URL object, JPIP and some OGC functionality have been tested with the libraries renamed and all tests passed. Hence, it should be safe for to rename the curl libraries from the bin.darwin.x86_64 directory.

Example Error Message:

Below is a sample from an Apple Problem Report generated because of this problem. This is just the beginning of the report; it is actually much longer.

Process: idlde [24361]
Path: /Applications/itt/*/idlde.darwin.x86_64.app/Contents/MacOS/idlde
Identifier: org.eclipse.eclipse
Version: 3.5 (3.5)
Code Type: X86-64 (Native)
Parent Process: launchd [198]

Date/Time: 2011-11-03 15:29:46.789 -0600
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9

Interval Since Last Report: 528677 sec
Crashes Since Last Report: 4
Per-App Interval Since Last Report: 23 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 6B5A61E6-0140-434C-AC40-B935C03DC6AA

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
__TEXT 0000000100000000-0000000100004000 [ 16K] r-x/rwx SM=COW /Applications/itt/*/idlde.darwin.x86_64.app/Contents/MacOS/idlde

Application Specific Information:
objc[24361]: garbage collection is OFF

Java information:
Exception type: Bus Error (0xa) at pc=00000000

Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02-383 mixed mode macosx-amd64)

Current thread (103801800): JavaThread "main" [_thread_in_native, id=1932147040, stack(7fff5f400000,7fff5fc00000)]
Stack: [7fff5f400000,7fff5fc00000]

...

Printer friendly format:  print



Rating: rating

  Comments

profile photo

Thank you so much! I rely heavily on IDL, and am so glad to now have it up and running on my Mac!

Awesome Fix!

By Anonymous on 2012/04/27 14:12:50
profile photo

perfect quick solution. Wasnt easy to reach this solution page through google search - happy that I found it finally!

thanks - works!

By Kumari Gurusamy on 2012/04/09 9:51:40
profile photo

see title

mv of the curl Libraries Worked for a new Macbook Air and Lion

By Richard McMahon on 2012/02/14 3:02:31
profile photo

Thanks! This worked for me.

Fixed

By cedrictsui on 2012/02/13 16:03:01
profile photo

Great fix ! My exact problem.

Great !

By Yue on 2012/01/27 8:18:23
profile photo

Just bought a new Macbook Pro and had this exact issue. This simple fix was all that was required to get the workbench up and running. Thanks!

Fixed!

By jmason86 on 2012/01/20 13:52:52

Your Name
Email
Website
Title
Comment
CAPTCHA image
Enter the code
 Like Us.
 Follow Us.
 Watch Us.
Home  | |   Site Map
Permissions/Legal   © 2011 Exelis Visual Information Solutions