Page MenuHome

OSX crashes on launch
Closed, ResolvedPublic

Description

I've seen some other people that have been having a failure to launch, but not like this. In fact, I downloaded a bunch of older builds and the only version I can get to start is 2.49 with python2.3.

Here's what I'm running on:
Model: iMac11,2, BootROM IM112.0057.B00, 2 processors, Intel Core i3, 3.2 GHz, 4 GB, SMC 1.64f5
Graphics: ATI Radeon HD 5670, ATI Radeon HD 5670, PCIe, 512 MB
OS Version: Mac OS X 10.6.8 (10K549)

I tried to get some more info by running Blender from the Terminal. Here's what I get:

[new-host:blender.app/Contents/MacOS] ryan% ./blender
ndof: 3Dx driver not found
found bundled python: /Applications/blender-2.63-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/python
Fatal Python error: Py_Initialize: unable to load the file system codec
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/encodings/__init__.py", line 109
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Abort


The crash report window that pops up gives the following info. I don't know what any of it means.


Process: blender [53404]
Path: /Applications/blender-2.63-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/./blender
Identifier: org.blenderfoundation.blender
Version: 2.63 (2.63, 2012-Apr-26, Blender Foundation)
Code Type: X86-64 (Native)
Parent Process: tcsh [53362]

Date/Time: 2012-04-28 22:38:18.613 -0700
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6

Interval Since Last Report: 361251 sec
Crashes Since Last Report: 32
Per-App Interval Since Last Report: 15 sec
Per-App Crashes Since Last Report: 6
Anonymous UUID: 23B097A9-7E9B-4E30-9085-7F47D1D3679A

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff88bb50b6 __kill + 10
1 libSystem.B.dylib 0x00007fff88c559f6 abort + 83
2 org.blenderfoundation.blender 0x0000000100e58012 Py_InitializeEx + 1218
3 org.blenderfoundation.blender 0x0000000100788c67 BPY_python_start + 119
4 org.blenderfoundation.blender 0x000000010000ecee WM_init + 206
5 org.blenderfoundation.blender 0x0000000100004c72 main + 448
6 org.blenderfoundation.blender 0x00000001000024b4 start + 52

Thread 1:
0 libSystem.B.dylib 0x00007fff88ba1a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff88ba5881 _pthread_cond_wait + 1286
2 org.blenderfoundation.blender 0x0000000100fe5ae6 IlmThread::Semaphore::wait() + 70
3 org.blenderfoundation.blender 0x0000000100fe4e72 IlmThread::(anonymous namespace)::WorkerThread::run() + 178
4 libSystem.B.dylib 0x00007fff88b9ffd6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff88b9fe89 thread_start + 13

Thread 2:
0 libSystem.B.dylib 0x00007fff88ba1a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff88ba5881 _pthread_cond_wait + 1286
2 org.blenderfoundation.blender 0x0000000100fe5ae6 IlmThread::Semaphore::wait() + 70
3 org.blenderfoundation.blender 0x0000000100fe4e72 IlmThread::(anonymous namespace)::WorkerThread::run() + 178
4 libSystem.B.dylib 0x00007fff88b9ffd6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff88b9fe89 thread_start + 13

Thread 3:
0 libSystem.B.dylib 0x00007fff88ba1a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff88ba5881 _pthread_cond_wait + 1286
2 org.blenderfoundation.blender 0x0000000100fe5ae6 IlmThread::Semaphore::wait() + 70
3 org.blenderfoundation.blender 0x0000000100fe4e72 IlmThread::(anonymous namespace)::WorkerThread::run() + 178
4 libSystem.B.dylib 0x00007fff88b9ffd6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff88b9fe89 thread_start + 13

Thread 4:
0 libSystem.B.dylib 0x00007fff88ba1a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff88ba5881 _pthread_cond_wait + 1286
2 org.blenderfoundation.blender 0x0000000100fe5ae6 IlmThread::Semaphore::wait() + 70
3 org.blenderfoundation.blender 0x0000000100fe4e72 IlmThread::(anonymous namespace)::WorkerThread::run() + 178
4 libSystem.B.dylib 0x00007fff88b9ffd6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff88b9fe89 thread_start + 13

Thread 5: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff88b7fc0a kevent + 10
1 libSystem.B.dylib 0x00007fff88b81add _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff88b817b4 _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff88b812de _dispatch_worker_thread2 + 252
4 libSystem.B.dylib 0x00007fff88b80c08 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff88b80aa5 start_wqthread + 13

Thread 6:
0 libSystem.B.dylib 0x00007fff88b80a2a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff88b80e3c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff88b80aa5 start_wqthread + 13

Thread 7:
0 libSystem.B.dylib 0x00007fff88b66dda semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x00007fff88ba5772 _pthread_cond_wait + 1015
2 com.apple.audio.CoreAudio 0x00007fff82d6d68c CAGuard::WaitFor(unsigned long long) + 168
3 com.apple.audio.CoreAudio 0x00007fff82d6fc1b CAGuard::WaitUntil(unsigned long long) + 185
4 com.apple.audio.CoreAudio 0x00007fff82d6dd85 HP_IOThread::WorkLoop() + 1369
5 com.apple.audio.CoreAudio 0x00007fff82d6d827 HP_IOThread::ThreadEntry(HP_IOThread*) + 9
6 com.apple.audio.CoreAudio 0x00007fff82d6d755 CAPThread::Entry(CAPThread*) + 125
7 libSystem.B.dylib 0x00007fff88b9ffd6 _pthread_start + 331
8 libSystem.B.dylib 0x00007fff88b9fe89 thread_start + 13

Thread 8:
0 libSystem.B.dylib 0x00007fff88b80a2a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff88b80e3c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff88b80aa5 start_wqthread + 13


Any clue what's happening here?
Thanks
Ryan

Event Timeline

Hi
I tried to reproduce but cannot ( OSX 10.6.8 ).
There´s some odd line that explained the errorwindup but is not to explain atm:
"Fatal Python error: Py_Initialize: unable to load the file system codec
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/encodings/__init__.py", line 109
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Abort"

As we don't use anything from ( too old ) system python-frameworks, i suspect you have something outdated
in your addons ( scripts ) that call py 2.3.

Try to clean your user addons out first and start with a vomplete clean Blender 2.63.
The following issues seem all related to this python mess : "Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff88bb50b6 __kill + 10
1 libSystem.B.dylib 0x00007fff88c559f6 abort + 83
2 org.blenderfoundation.blender 0x0000000100e58012 Py_InitializeEx + 1218
3 org.blenderfoundation.blender 0x0000000100788c67 BPY_python_start + 119"

See?

Jens

P.S. assigned to myself

Additional:
-----> I've seen some other people that have been having a failure to launch, but not like this. In fact, I downloaded a bunch of older builds and the only version I can get to start is 2.49 with python2.3.

This verifies my guess, find the outdated script and all will be fine.
Closing this now

Jens

jens verwiebe (jensverwiebe) changed the task status from Unknown Status to Resolved.Apr 29 2012, 1:34 PM