View Issue Details

IDProjectCategoryView StatusLast Update
0002019Slicer4Core: Base Codepublic2014-03-06 05:02
Reporterpieper Assigned Tojcfr  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformmac os 10.5.8OSOS Version10.5.8
Product VersionSlicer 4.1.0 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002019: slicer won't start on mac os 10.5.8 (latest leopard)
Description

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."

Additional Information

Process: Slicer [53313]
Path: /Volumes/Slicer-4.1.0-2012-05-10-macosx-amd64/Slicer.app/Contents/MacOS/Slicer
Identifier: Slicer
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [104]

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

TagsNo tags attached.

Relationships

related to 0001966 closedmhalle Add disclaimer associated with 32bit on download.slicer.org 

Activities

jcfr

jcfr

2012-05-11 08:00

administrator   ~0004321

Some relevant info about "Base SDK and Deployment Target" [1]

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 [2]

[1] https://developer.apple.com/library/mac/#documentation/developertools/conceptual/cross_development/Configuring/configuring.html

[2] https://developer.apple.com/library/mac/#releasenotes/MacOSX/WhatsNewInOSX/WhatsNewInOSX.html

pieper

pieper

2012-05-11 08:25

administrator   ~0004326

No: the issue is not with "10.8" but with "10.5.8" as reported.

jcfr

jcfr

2012-05-11 10:58

administrator   ~0004329

Is that machine 32-bit ?

pieper

pieper

2012-05-11 11:52

administrator   ~0004334

Hmm, 10.5 appears to be a little of both 32 and 64.

http://superuser.com/questions/19396/is-mac-os-x-leopard-10-5-x-32-bit-or-64-bit

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.

jcfr

jcfr

2012-05-11 13:59

administrator   ~0004337

Even if the "Core 2 Duo" is 64bit [1], looking at the output of "uname -a", the kernel run in 32-bit mode [2][3] ... I guess this why it can't start the 64-bit package of Slicer.

You could probably try to use the "kernel mode selector .." [4]

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 [5]

[1] http://www.intel.com/products/processor/core2duo/specifications.htm
[2] http://stackoverflow.com/a/9953265
[3] http://www.macobserver.com/tmo/article/checking_32_or_64-bit_kernel_boot_mode_in_snow_leopard/
[4] http://www.macupdate.com/app/mac/32252/32--or-64-bit-kernel-startup-mode-selector
[5] http://asqueella.blogspot.com/2010/12/dyld-unknown-required-load-command.html

pieper

pieper

2012-05-11 15:26

administrator   ~0004341

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 ;)

jcfr

jcfr

2012-05-11 17:46

administrator   ~0004343

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 [2]

I believe the solution is in Michael hands.

[2] https://github.com/midasplatform/slicerpackages/blob/master/public/js/jquery.client.js

pieper

pieper

2012-05-12 03:59

administrator   ~0004358

I agree - having the download page detect a 32 bit mac os and generate a warning would be a very good solution.

pieper

pieper

2012-07-31 12:47

administrator   ~0005473

Mike - is this something you have time to work on?

halazar

halazar

2012-07-31 13:12

reporter   ~0005476

A browser's user agent strings don't allow detection of 32 vs. 64 bit operations, even for Safari:

http://www.useragentstring.com/pages/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.

pieper

pieper

2012-07-31 14:22

administrator   ~0005478

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.

halazar

halazar

2012-07-31 15:18

reporter   ~0005479

Last edited: 2012-08-01 05: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:

http://superuser.com/questions/100780/is-it-possible-to-run-64bit-applications-on-a-32bit-operating-system-if-the-har

The bug report clearly shows that the executable is trying to run (rather than just generating a "wrong architecture" incompatibility warning).

jcfr

jcfr

2013-08-27 12:32

administrator   ~0009646

Resolving this issue - There are no mac package for 32-bit arch.

jcfr

jcfr

2014-03-06 05:00

administrator   ~0010842

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2012-05-11 05:39 pieper New Issue
2012-05-11 05:39 pieper Status new => assigned
2012-05-11 05:39 pieper Assigned To => jcfr
2012-05-11 07:52 jcfr Target Version => Slicer 4.4.0
2012-05-11 08:00 jcfr Note Added: 0004321
2012-05-11 08:25 pieper Note Added: 0004326
2012-05-11 10:58 jcfr Note Added: 0004329
2012-05-11 11:52 pieper Note Added: 0004334
2012-05-11 13:46 jcfr Relationship added related to 0001966
2012-05-11 13:59 jcfr Note Added: 0004337
2012-05-11 13:59 jcfr Status assigned => resolved
2012-05-11 13:59 jcfr Fixed in Version => Slicer 4.2.0 AHM Summer 2012
2012-05-11 13:59 jcfr Resolution open => fixed
2012-05-11 15:26 pieper Note Added: 0004341
2012-05-11 15:26 pieper Status resolved => feedback
2012-05-11 15:26 pieper Resolution fixed => reopened
2012-05-11 17:46 jcfr Note Added: 0004343
2012-05-12 03:59 pieper Note Added: 0004358
2012-05-12 03:59 pieper Assigned To jcfr => mhalle
2012-05-12 03:59 pieper Priority high => normal
2012-05-14 10:07 jcfr Fixed in Version Slicer 4.2.0 AHM Summer 2012 =>
2012-05-14 10:07 jcfr Target Version Slicer 4.4.0 => Slicer 4.2.0 AHM Summer 2012
2012-07-31 12:47 pieper Note Added: 0005473
2012-07-31 13:12 halazar Note Added: 0005476
2012-07-31 14:22 pieper Note Added: 0005478
2012-07-31 15:18 halazar Note Added: 0005479
2012-08-01 05:58 halazar Note Edited: 0005479
2012-08-20 12:11 jcfr Target Version Slicer 4.2.0 - Feature freeze Sept 1st 2012 => Slicer 4.2.5
2012-08-21 09:39 jcfr Target Version Slicer 4.2.5 => Slicer 4.3.0
2013-03-07 08:35 jcfr Status feedback => assigned
2013-03-07 08:35 jcfr Assigned To mhalle => jcfr
2013-08-27 12:32 jcfr Note Added: 0009646
2013-08-27 12:32 jcfr Status assigned => resolved
2013-08-27 12:32 jcfr Fixed in Version => Slicer 4.3.0
2013-08-27 12:32 jcfr Resolution reopened => fixed
2014-03-06 05:00 jcfr Note Added: 0010842
2014-03-06 05:02 jcfr Status resolved => closed