0.11.3 64bit for Mac 10.6 to 10.8 Crash

Asked by Alchymy Laboratory

Hi, have tried the 64bit version of 0.11.3 on my iMac and it crashes. Are there any known issues, as this seems to be the most downloaded version? I can provide the dump from OS X if that helps.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Solved by:
Alchymy Laboratory
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Wolf (alexwolf) said :
#1

Yes, give me dump, please.

Revision history for this message
Alchymy Laboratory (alchymylab) said :
#2

Will do, I have a suspicion this is connected to the error when attempting to compile stellarium from source on my iMac - if 64 bit is the default it compiles to. Is there a 'switch' to try and compile at 32 bit?

Revision history for this message
Alexander Wolf (alexwolf) said :
#3

Please read CMakeLists.txt file - we have instructions for OSX for compile both intel and both ppc binaries.

Revision history for this message
Alchymy Laboratory (alchymylab) said :
#4

The 64 bit version dump is available under:

http://www.alchymy.com/Projects/StellariumCompileOSX/Stellarium64bitMacpgmDump.rtf

And System Software Overview:

  System Version: Mac OS X 10.7.4 (11E53)
  Kernel Version: Darwin 11.4.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Secure Virtual Memory: Enabled
  64-bit Kernel and Extensions: Yes
  Time since boot: 4:40

Revision history for this message
Alchymy Laboratory (alchymylab) said :
#5

The dump shows the code type as X86-64(native), however if I try and compile source for this then it fails with:

Linking CXX executable stellarium
[ 64%] Built target stellarium
Scanning dependencies of target ManPages
[ 64%] Generating stellarium.1
Launch of "RosettaNonGrata" failed: the PowerPC architecture is no longer supported.
make[2]: *** [doc/stellarium.1] Error 2
make[1]: *** [doc/CMakeFiles/ManPages.dir/all] Error 2
make: *** [all] Error 2
IRON:macosx alchymylab$

CMakeLists.txt was set as:

# best way to get to APPLE?
IF(APPLE)
 SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fno-common -Wall -Wextra")
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-common -Wall -Wextra -Wno-unused-parameter")

 # uncomment one of the following, depending on minimum OS level you want
 #SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.5")
 #SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk/")
 SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.7")
 SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.7.sdk/")

 # uncomment one of the following, depending on what platforms you want.
 # NOTE: Qt build for Cocoa is Intel only. Qt with Carbon is both, but does not seem
 # to handle 64bit well.
 #SET(CMAKE_OSX_ARCHITECTURES "i386;x86_64;ppc;ppc64")
 #SET(CMAKE_OSX_ARCHITECTURES "i386;x86_64")
 SET(CMAKE_OSX_ARCHITECTURES "x86_64")
ENDIF()

Am I selecting the correct Architecture?

Revision history for this message
treaves (treaves) said :
#6

Have you tried deleting the build directory, and making a new one, then rerunning cmake?

Revision history for this message
Alchymy Laboratory (alchymylab) said :
#7

Yes - deleted builds/macosx. Below is the log from the 64bit version downloaded from this site which crashes, seems to have some issue opening windows.

2012-08-22T22:10:08
Unsupported Mac version
Compiled with GCC 4.2.1
Qt runtime version: 4.8.1
Qt compilation version: 4.8.1
Addressing mode: 64-bit
Model Name: iMac
Model Identifier: iMac11,2
Processor Name: Intel Core i5
Processor Speed: 3.6 GHz
Number of Processors: 1
Memory: 12 GB
Processor Interconnect Speed: 6.4 GT/s
Chipset Model: ATI Radeon HD 5670
VRAM (Total): 512 MB
/Applications/Stellarium.app/Contents/MacOS/stellarium
 -------------------------------------------------------
[ This is Stellarium 0.11.4 - http://www.stellarium.org ]
[ Copyright (C) 2000-2012 Fabien Chereau et al ]
 -------------------------------------------------------
Writing log file to: "/Users/alchymylab/Library/Application Support/Stellarium/log.txt"
File search paths:
  0 . "/Users/alchymylab/Library/Application Support/Stellarium"
  1 . "/Applications/Stellarium.app/Contents/Resources"
Attempting to use an existing older config file.
Config file is: "/Users/alchymylab/Library/Application Support/Stellarium/config.ini"
OpenGL supported version: "2.1 ATI-7.18.18"
Qt GL paint engine is: "OpenGL2"

Revision history for this message
Alexander Wolf (alexwolf) said :
#8

Can you check linked libraries?

Revision history for this message
Alchymy Laboratory (alchymylab) said :
#9

Will check linked libs.

Is SET(CMAKE_OSX_ARCHITECTURES "x86_64") for generating 64 bit version only ?

What does SET(CMAKE_OSX_ARCHITECTURES "i386;x86_64") do, is this 32 bit only ?

Revision history for this message
Alexander Wolf (alexwolf) said :
#10

SET(CMAKE_OSX_ARCHITECTURES "x86_64") for 64 bit only; SET(CMAKE_OSX_ARCHITECTURES "i386;x86_64") for universal binary for both bits

Revision history for this message
Alchymy Laboratory (alchymylab) said :
#11

Ok - will stick to x86_64. As it happens have just downloaded Stellarium-0.11.4.dmg and this now works on my iMac and log.txt shows 64bit! Will restart compile testing with 0.11.4 source.

2012-08-25T18:08:54
Unsupported Mac version
Compiled using GCC 4.2.1
Qt runtime version: 4.8.1
Qt compilation version: 4.8.1
Addressing mode: 64-bit
Model Name: iMac
Model Identifier: iMac11,2
Processor Name: Intel Core i5
Processor Speed: 3.6 GHz
Number of Processors: 1
Memory: 12 GB
Processor Interconnect Speed: 6.4 GT/s
Chipset Model: ATI Radeon HD 5670
VRAM (Total): 512 MB
/Volumes/Stellarium/Stellarium.app/Contents/MacOS/stellarium
 -------------------------------------------------------
[ This is Stellarium 0.11.4 - http://www.stellarium.org ]
[ Copyright (C) 2000-2012 Fabien Chereau et al ]
 -------------------------------------------------------