PCoelho07 / opennero

Automatically exported from code.google.com/p/opennero
Other
0 stars 0 forks source link

App crash after compiling and building latest source on Mac OS X 10.5.8 #101

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Followed the Prerequisites

    Download and install cmake (version 2.8.6 darwin-universal)
    Install Xcode (optional install on the Mac OS X DVD) (version 3.1)
    Install wxPython (version wxPython2.8-osx-unicode-2.8.11.0-universal-py2.5)
    Build and install Boost Libraries (1.47.0) - no errors, with default root set to usr/local)
2. And Steps to build

    (recommended) create a new directory for your build
    in your build directory, run cmake -G Xcode /path/to/opennero/checkout
    open the resulting OpenNERO.xcodeproja Xcode project file
    Build OpenNERO using Xcode  
3. Now opening the OpenNERO executable causes a crash.

What is the expected output? What do you see instead?
-The app should run successfully.

What version of the product are you using? On what operating system?
- Mac OSX 10.5.8, python 2.5.2, Latest open-nero source 
System spec:-
Model: MacBookPro5,5, BootROM MBP55.00AC.B03, 2 processors, Intel Core 2 Duo, 
2.26 GHz, 2 GB
Graphics: kHW_NVidiaGeForce9400MItem, NVIDIA GeForce 9400M, sppci_pci_device, 
256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom 
BCM43xx 1.0 (5.10.91.22)
Bluetooth: Version 2.1.9f10, 2 service, 0 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS545016B9SA02, 149.05 GB
Serial ATA Device: HL-DT-ST DVDRW  GS23N
USB Device: Internal Memory Card Reader, (null) mA
USB Device: Built-in iSight, (null) mA
USB Device: BRCM2046 Hub, (null) mA
USB Device: Bluetooth USB Host Controller, (null) mA
USB Device: Apple Internal Keyboard / Trackpad, (null) mA
USB Device: IR Receiver, (null) mA

Please provide any additional information below.
Crash log is attached

Original issue reported on code.google.com by dexte...@gmail.com on 15 Nov 2011 at 2:07

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can you see where the crash is happening if you start the executable from 
within the Xcode debugger? (Run -> Debug and Run -> Debugger).

Original comment by ikarpov on 17 Nov 2011 at 7:35

GoogleCodeExporter commented 9 years ago
Hi,

Sorry for replying late..
Yes, I can build OpenNERO and debug on XCode. I have attached a snap shot of 
the crash window.
I don't know how much will that help...but there seems to be a problem just 
when trying to import python.

Dexter.

Original comment by dexte...@gmail.com on 18 Nov 2011 at 8:14

Attachments:

GoogleCodeExporter commented 9 years ago
Ok...after some experimentation, now it seems to me OpenNERO is incompatible 
with python 2.5 (my current default version) and is  dependent on python 2.7!

Original comment by dexte...@gmail.com on 18 Nov 2011 at 9:06

GoogleCodeExporter commented 9 years ago
The binary will unfortunately link against whatever version was available at 
the time of build. Does this mean that it will work if you install 2.7?

Original comment by ikarpov on 19 Nov 2011 at 7:54

GoogleCodeExporter commented 9 years ago
I haven't tried changing the default version (as it's bit of a pain and gives 
rise to other problems in XCode), I tried an alternate way to change the 
'MacPorts' python (inside opt/local) version to 2.5. from 2.7  
Also if you see the crash log NERO is trying to access the python in 
/opt/local/Library/Frameworks/Python.framework/Version

0x1000 -   0x27bffb +edu.utexas.cs.nnrg.OpenNERO 0.1 (0.1) 
<77e36d8dadb61c677f27ad75c72e877a> 
/Users/path/Downloads/OpenNERO/dist/Release/OpenNERO.app/Contents/MacOS/OpenNERO
\
  0x4e7000 -   0x91bfff +libIrrlicht.dylib ??? (???) <2fb1031701d56862ea8fcdaeb4c79ce1> /Users/path/Downloads/OpenNERO/dist/Release/libIrrlicht.dylib\
  0xacf000 -   0xc0dfe3 +org.python.python 2.7.2, (c) 2004-2011 Python Software Foundation. (2.7.2) <941ed9f4df172ed5b5ba032f63798ee7> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python\
  0xcc9000 -   0xcfdff7 +libboost_python.dylib ??? (???) <092d6d846a84ad0ccedf8b82ac313c23> /usr/local/lib/libboost_python.dylib\
  0xd49000 -   0xd5dff7 +libboost_filesystem.dylib ??? (???) <13e934ff932e96e5050e58e2b45c36b8> /usr/local/lib/libboost_filesystem.dylib\
  0xd77000 -   0xdaeff2 +libboost_serialization.dylib ??? (???) <d2bc04dfccc3161e4feba1dba63bdf68> /usr/local/lib/libboost_serialization.dylib\
  0xe1f000 -   0xe21fff +libboost_system.dylib ??? (???) <92b3a6e39d594ec56fa49bbd8692e9f7> /usr/local/lib/libboost_system.dylib\
  0xe27000 -   0xe2efe3 +libboost_date_time.dylib ??? (???) <3edaf24a44b106fcc667e41b7d8f2bf8> /usr/local/lib/libboost_date_time.dylib\
  0xe3e000 -   0xf0afeb  org.python.python 2.5 (2.5) <baa8cd76f6ef60c89a4380c9463c14f4> /System/Library/Frameworks/Python.framework/Versions/2.5/Python\
0x8fe00000 - 0x8fe2db43  dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603> 
/usr/lib/dyld\

Original comment by dexte...@gmail.com on 20 Nov 2011 at 5:33

GoogleCodeExporter commented 9 years ago

Original comment by ikarpov on 1 Sep 2013 at 7:01