|Anonymous | Login | Signup for a new account||2013-12-05 16:50 EST|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0002019||[Slicer4] Core: Base Code||crash||always||2012-05-11 09:39||2013-08-27 16:32|
|Status||resolved||Product Version||Slicer 4.1.0|
|Summary||0002019: slicer won't start on mac os 10.5.8 (latest leopard)|
Downloaded mac nightly to machine running 10.5: package downloads and mounts correctly.
Doubleclick slicer app icon and instantly get crash report (pasted below).
Same result if application is copied to desktop.
Downloading same executable to machine running 10.7 (lion) works as expected.
According to http://download.slicer.org/ [^]
"Slicer is built and tested on many hardware and software platforms. 3D Slicer runs on Microsoft Windows XP, Vista, and Windows 7; Mac OS X versions 10.5 (Leopard), 10.6 (Snow Leopard), and 10.7 (Lion); and a variety of Linux distributions."
Process: Slicer 
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd 
Interval Since Last Report: 70 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 1
Date/Time: 2012-05-11 09:25:02.937 -0400
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: A9BC122B-C81E-4870-A2FB-4280E74B706E
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Dyld Error Message:
unknown required load command 0x80000022
|Tags||No tags attached.|
Some relevant info about "Base SDK and Deployment Target" 
Let's also note that 10.8 hasn't been released yet, still a pre-release, the change introduced in 10.8 are not available on this page yet 
 https://developer.apple.com/library/mac/#documentation/developertools/conceptual/cross_development/Configuring/configuring.html [^]
 https://developer.apple.com/library/mac/#releasenotes/MacOSX/WhatsNewInOSX/WhatsNewInOSX.html [^]
|No: the issue is not with "10.8" but with "10.5.8" as reported.|
|Is that machine 32-bit ?|
Hmm, 10.5 appears to be a little of both 32 and 64.
This is a mac mini with Core 2 Duo processor:
binder:~ pieper$ uname -a
Darwin binder.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
I don't know how many users would still have this os / machine combination (obviously not too many since I seem to be the first one to complain). If we don't support this OS, we should remove it from the list of supported OSes - do we have other 10.5 machines that work? If we only support it on a few machines, then it would be good for the launcher to detect the issue.
Even if the "Core 2 Duo" is 64bit , looking at the output of "uname -a", the kernel run in 32-bit mode  ... I guess this why it can't start the 64-bit package of Slicer.
You could probably try to use the "kernel mode selector .." 
You could also probably try to use the "arch x86_64 ./Slicer" command but I double it would work to run 64-bit on top of 32-bit kernel. See 
 http://www.intel.com/products/processor/core2duo/specifications.htm [^]
 http://stackoverflow.com/a/9953265 [^]
 http://www.macobserver.com/tmo/article/checking_32_or_64-bit_kernel_boot_mode_in_snow_leopard/ [^]
 http://www.macupdate.com/app/mac/32252/32--or-64-bit-kernel-startup-mode-selector [^]
 http://asqueella.blogspot.com/2010/12/dyld-unknown-required-load-command.html [^]
|Actually, I don't really care if I can run the program on this particular machine or not - but I do think we need to at the very least fix the web page so that we don't claim to support 10.5 if we don't support it (or at we don't support all variants). Even better, we should have the launcher support a wide range of target platforms and then have it detect whether the actual program will run on the given platform -- this would be friendlier than having the program crash ;)|
Considering the launcher is not used on mac, I am not sure this is feasible.
More generally, having a program that support different platform and architecture would be challenging. That said, the same windows launcher is used on both 32/64 bits. We could probably extends the concept on linux and have the possibility to configure the support bitness in the launcher settings.
The page "download.slicer.org" could be updated to detect platform and arch and display lightbox/dialog to the user.
For "slicer.kitware.com", I originally found a jquery module that reveals very convenient to detect arch/platform. See 
I believe the solution is in Michael hands.
 https://github.com/midasplatform/slicerpackages/blob/master/public/js/jquery.client.js [^]
|I agree - having the download page detect a 32 bit mac os and generate a warning would be a very good solution.|
|Mike - is this something you have time to work on?|
A browser's user agent strings don't allow detection of 32 vs. 64 bit operations, even for Safari:
For the download page, only platform (Mac OS, Windows, Linux) is detected.
I can change the text for supported OS versions if that's the final verdict.
|Right now we don't support 32 bit mac, so yes, it would be great if you can change the text on the download page to reflect that.|
edited on: 2012-08-01 09:58
Is there confirmation Slicer4 runs on 10.5 64 bit? I don't have a Leopard machine to check.
I'm really not sure this is a 32bit vs. 64 bit bug. On most processors, 32 bit 10.5 machines can run 64 bit binaries:
The bug report clearly shows that the executable is trying to run (rather than just generating a "wrong architecture" incompatibility warning).
|Resolving this issue - There are no mac package for 32-bit arch.|
|2012-05-11 09:39||pieper||New Issue|
|2012-05-11 09:39||pieper||Status||new => assigned|
|2012-05-11 09:39||pieper||Assigned To||=> jcfr|
|2012-05-11 11:52||jcfr||Target Version||=> Slicer 4.4.0|
|2012-05-11 12:00||jcfr||Note Added: 0004321|
|2012-05-11 12:25||pieper||Note Added: 0004326|
|2012-05-11 14:58||jcfr||Note Added: 0004329|
|2012-05-11 15:52||pieper||Note Added: 0004334|
|2012-05-11 17:46||jcfr||Relationship added||related to 0001966|
|2012-05-11 17:59||jcfr||Note Added: 0004337|
|2012-05-11 17:59||jcfr||Status||assigned => resolved|
|2012-05-11 17:59||jcfr||Fixed in Version||=> Slicer 4.2.0 AHM Summer 2012|
|2012-05-11 17:59||jcfr||Resolution||open => fixed|
|2012-05-11 19:26||pieper||Note Added: 0004341|
|2012-05-11 19:26||pieper||Status||resolved => feedback|
|2012-05-11 19:26||pieper||Resolution||fixed => reopened|
|2012-05-11 21:46||jcfr||Note Added: 0004343|
|2012-05-12 07:59||pieper||Note Added: 0004358|
|2012-05-12 07:59||pieper||Assigned To||jcfr => mhalle|
|2012-05-12 07:59||pieper||Priority||high => normal|
|2012-05-14 14:07||jcfr||Fixed in Version||Slicer 4.2.0 AHM Summer 2012 =>|
|2012-05-14 14:07||jcfr||Target Version||Slicer 4.4.0 => Slicer 4.2.0 AHM Summer 2012|
|2012-07-31 16:47||pieper||Note Added: 0005473|
|2012-07-31 17:12||halazar||Note Added: 0005476|
|2012-07-31 18:22||pieper||Note Added: 0005478|
|2012-07-31 19:18||halazar||Note Added: 0005479|
|2012-08-01 09:58||halazar||Note Edited: 0005479|
|2012-08-20 16:11||jcfr||Target Version||Slicer 4.2.0 - Feature freeze Sept 1st 2012 => Slicer 4.2.5|
|2012-08-21 13:39||jcfr||Target Version||Slicer 4.2.5 => Slicer 4.3.0|
|2013-03-07 13:35||jcfr||Status||feedback => assigned|
|2013-03-07 13:35||jcfr||Assigned To||mhalle => jcfr|
|2013-08-27 16:32||jcfr||Note Added: 0009646|
|2013-08-27 16:32||jcfr||Status||assigned => resolved|
|2013-08-27 16:32||jcfr||Fixed in Version||=> Slicer 4.3.0|
|2013-08-27 16:32||jcfr||Resolution||reopened => fixed|
|Mantis 1.1.4[^] Copyright © 2000 - 2008 Mantis Group|