Page MenuHome

BL 2.81 Instant crash OSX 10.11.6
Closed, ResolvedPublic

Description

System Information
Operating system: Darwin-15.6.0-x86_64-i386-64bit 64 Bits
Graphics card: ATI Radeon HD 5770 OpenGL Engine ATI Technologies Inc. 4.1 ATI-1.42.15

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Worked: (optional)

Short description of error
I try to follow the new 2.81 weekly and noticed thats since 2 weeks it crashes a lot. Since last week i cant seem to run the app no more.

Exact steps for others to reproduce the error
Open 2.81 on a machine running OSX 10.11.6

Below you see the code from Console and i added a OSX crash report.

MAC-PRO-3:~ macpro1$ /Applications/blender-2.81/Blender.app/Contents/MacOS/Blender ; exit;
dyld: lazy symbol binding failed: Symbol not found: _os_unfair_lock_lock
  Referenced from: /Applications/blender-2.81/Blender.app/Contents/MacOS/Blender
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _os_unfair_lock_lock
  Referenced from: /Applications/blender-2.81/Blender.app/Contents/MacOS/Blender
  Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap: 5
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...54 completed.

[Process completed]

Last week with one of the daily builds it showed something like "illegal action{F7774942}", i didnt copy/paste the full code then. I do know and read that blender minimal requirements are something like 10.12.+ i belive, but it always kept working since bl 2.80 and all betas and alpha i tested. Wonder what or why the sudden change now

Event Timeline

try starting blender with this string

blender --debug-gpu-force-workarounds

I can't 100% know this, but I'm pretty sure this solves some issues with this gpu also on osx

Brecht Van Lommel (brecht) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

@Stefan Werner (swerner) usually these kinds of new APIs still work by our use of deployment target 10.11, but it seems in this case it requires 10.12 or newer:
https://developer.apple.com/documentation/os/1646466-os_unfair_lock_lock

I think we have to revert to the old spin lock for now.

What does that mean "revert to the old spinlock for now"? Probably that is in context to that article you linked @Brecht Van Lommel (brecht)

@noki paike (amonpaike) tried you input, still crashes and got this back

MBP-Schroef:~ Admin$ /Applications/Blender-281_alpha/Blender.app/Contents/MacOS/Blender --debug-gpu-force-workarounds
dyld: lazy symbol binding failed: Symbol not found: _os_unfair_lock_lock
  Referenced from: /Applications/Blender-281_alpha/Blender.app/Contents/MacOS/Blender
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _os_unfair_lock_lock
  Referenced from: /Applications/Blender-281_alpha/Blender.app/Contents/MacOS/Blender
  Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap: 5
MBP-Schroef:~ Admin$

There were some recent changes in this code made by @Stefan Werner (swerner) that cause this problem, I'm referring to that.

Blender 2.80 requires 10.12 or newer. If I remember correctly, that was decided because of bugs in older OpenGL drivers. It is also mentioned on the Download page.

If despite that we still want to maintain 10.11 compatibility, I can revert that patch, no problem.

Please revert the patch yes, and leave a code comment linking to the commit so we can restore it when we fully drop 10.11.

There are some platforms we don't officially support, but if there is something simple we can do to keep them working we generally do it.

I see this is closed, is there a build which i can test? I tried the one from Blender official site, but that doesnt work yet. That was a build from Sunday (September 29, 23:15:39 - ff10ff782bde)

It will be in the next build.

Just wanted to let you know this build works; 2.81 (sub 9), 6be3348505ce, 2019-09-09 17:22

PS one weird detail, look at the date

That must be an old build, not the latest one from builder.blender.org.

I checked it again. I made a mistake here, i use a shortcut to 2.81 to run it so i have the console. It started an old version which still works

This one, 60a827a2a991, still crashes. Its from 30 September 30:27

Is the error still the same?

I tried this build blender-2.81-3b23685c7dc1 1 October 23:38 and it does crash. Though i get a different error now.

MAC-PRO-3:~ macpro1$ /Applications/blender-2.81/Blender.app/Contents/MacOS/Blender ; exit;
Read prefs: /Users/macpro1/Library/Application Support/Blender/2.81/config/userpref.blend
2019-10-02 13:10:15.688 Blender[2268:69070] -[CocoaOpenGLView setAllowedTouchTypes:]: unrecognized selector sent to instance 0x7fd7234a4320
2019-10-02 13:10:15.702 Blender[2268:69070] An uncaught exception was raised
2019-10-02 13:10:15.702 Blender[2268:69070] -[CocoaOpenGLView setAllowedTouchTypes:]: unrecognized selector sent to instance 0x7fd7234a4320
2019-10-02 13:10:15.702 Blender[2268:69070] (
	0   CoreFoundation                      0x00007fff827c6452 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff837b973c objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8283010d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x00007fff827364d1 ___forwarding___ + 1009
	4   CoreFoundation                      0x00007fff82736058 _CF_forwarding_prep_0 + 120
	5   Blender                             0x0000000108bea051 _ZN17GHOST_WindowCocoaC2EP17GHOST_SystemCocoaRK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextTypebb + 1393
	6   Blender                             0x0000000108be5090 _ZN17GHOST_SystemCocoa12createWindowERK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextType16GHOST_GLSettingsbi + 400
	7   Blender                             0x0000000108bdd240 GHOST_CreateWindow + 112
	8   Blender                             0x000000010490416c wm_window_ghostwindows_ensure + 572
	9   Blender                             0x00000001048d69ef WM_check + 175
	10  Blender                             0x00000001048e4c20 wm_homefile_read + 1776
	11  Blender                             0x00000001048ecf7a WM_init + 346
	12  Blender                             0x00000001043cfe65 main + 757
	13  libdyld.dylib                       0x00007fff877cb5ad start + 1
	14  ???                                 0x0000000000000001 0x0 + 1
)
2019-10-02 13:10:15.703 Blender[2268:69070] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CocoaOpenGLView setAllowedTouchTypes:]: unrecognized selector sent to instance 0x7fd7234a4320'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff827c6452 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff837b973c objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8283010d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x00007fff827364d1 ___forwarding___ + 1009
	4   CoreFoundation                      0x00007fff82736058 _CF_forwarding_prep_0 + 120
	5   Blender                             0x0000000108bea051 _ZN17GHOST_WindowCocoaC2EP17GHOST_SystemCocoaRK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextTypebb + 1393
	6   Blender                             0x0000000108be5090 _ZN17GHOST_SystemCocoa12createWindowERK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextType16GHOST_GLSettingsbi + 400
	7   Blender                             0x0000000108bdd240 GHOST_CreateWindow + 112
	8   Blender                             0x000000010490416c wm_window_ghostwindows_ensure + 572
	9   Blender                             0x00000001048d69ef WM_check + 175
	10  Blender                             0x00000001048e4c20 wm_homefile_read + 1776
	11  Blender                             0x00000001048ecf7a WM_init + 346
	12  Blender                             0x00000001043cfe65 main + 757
	13  libdyld.dylib                       0x00007fff877cb5ad start + 1
	14  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...6 completed.

[Process completed]

I tried moving the config fodler, still got an error

MAC-PRO-3:~ macpro1$ /Applications/blender-2.81/Blender.app/Contents/MacOS/Blender ; exit;
2019-10-02 13:12:53.561 Blender[2333:71715] -[CocoaOpenGLView setAllowedTouchTypes:]: unrecognized selector sent to instance 0x7fdc3ad88f80
2019-10-02 13:12:53.575 Blender[2333:71715] An uncaught exception was raised
2019-10-02 13:12:53.575 Blender[2333:71715] -[CocoaOpenGLView setAllowedTouchTypes:]: unrecognized selector sent to instance 0x7fdc3ad88f80
2019-10-02 13:12:53.575 Blender[2333:71715] (
	0   CoreFoundation                      0x00007fff827c6452 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff837b973c objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8283010d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x00007fff827364d1 ___forwarding___ + 1009
	4   CoreFoundation                      0x00007fff82736058 _CF_forwarding_prep_0 + 120
	5   Blender                             0x0000000113ccd051 _ZN17GHOST_WindowCocoaC2EP17GHOST_SystemCocoaRK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextTypebb + 1393
	6   Blender                             0x0000000113cc8090 _ZN17GHOST_SystemCocoa12createWindowERK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextType16GHOST_GLSettingsbi + 400
	7   Blender                             0x0000000113cc0240 GHOST_CreateWindow + 112
	8   Blender                             0x000000010f9e716c wm_window_ghostwindows_ensure + 572
	9   Blender                             0x000000010f9b99ef WM_check + 175
	10  Blender                             0x000000010f9c7c20 wm_homefile_read + 1776
	11  Blender                             0x000000010f9cff7a WM_init + 346
	12  Blender                             0x000000010f4b2e65 main + 757
	13  libdyld.dylib                       0x00007fff877cb5ad start + 1
	14  ???                                 0x0000000000000001 0x0 + 1
)
2019-10-02 13:12:53.575 Blender[2333:71715] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CocoaOpenGLView setAllowedTouchTypes:]: unrecognized selector sent to instance 0x7fdc3ad88f80'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff827c6452 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff837b973c objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8283010d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x00007fff827364d1 ___forwarding___ + 1009
	4   CoreFoundation                      0x00007fff82736058 _CF_forwarding_prep_0 + 120
	5   Blender                             0x0000000113ccd051 _ZN17GHOST_WindowCocoaC2EP17GHOST_SystemCocoaRK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextTypebb + 1393
	6   Blender                             0x0000000113cc8090 _ZN17GHOST_SystemCocoa12createWindowERK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextType16GHOST_GLSettingsbi + 400
	7   Blender                             0x0000000113cc0240 GHOST_CreateWindow + 112
	8   Blender                             0x000000010f9e716c wm_window_ghostwindows_ensure + 572
	9   Blender                             0x000000010f9b99ef WM_check + 175
	10  Blender                             0x000000010f9c7c20 wm_homefile_read + 1776
	11  Blender                             0x000000010f9cff7a WM_init + 346
	12  Blender                             0x000000010f4b2e65 main + 757
	13  libdyld.dylib                       0x00007fff877cb5ad start + 1
	14  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

I see new build, 2.81 (sub 14), branch: master, commit date: 2019-10-06 14:05, hash: rB54a9649e2636, works now. I do see lots of errors from keymaps, not sure which addon this produces these errors though. This is just a small part of the errors

arning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'tab' not found in keymap item 'OperatorProperties'
Warning: property 'with_menu' not found in keymap item 'OperatorProperties'
Warning: property 'with_menu' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'option' not found in keymap item 'OperatorProperties'
Warning: property 'replace' not found in keymap item 'OperatorProperties'
Warning: property 'use_node_name' not found in keymap item 'OperatorProperties'
Warning: property 'use_outputs_names' not found in keymap item 'OperatorProperties'
Warning: property 'replace' not found in keymap item 'OperatorProperties'
Warning: property 'use_node_name' not found in keymap item 'OperatorProperties'
Warning: property 'use_outputs_names' not found in keymap item 'OperatorProperties'
Warning: property 'replace' not found in keymap item 'OperatorProperties'
Warning: property 'use_node_name' not found in keymap item 'OperatorProperties'
Warning: property 'use_outputs_names' not found in keymap item 'OperatorProperties'
Warning: property 'replace' not found in keymap item 'OperatorProperties'
Warning: property 'use_node_name' not found in keymap item 'OperatorProperties'
Warning: property 'use_outputs_names' not found in keymap item 'OperatorProperties'
Warning: property 'replace' not found in keymap item 'OperatorProperties'
Warning: property 'use_node_name' not found in keymap item 'OperatorProperties'
Warning: property 'use_outputs_names' not found in keymap item 'OperatorProperties'
Warning: property 'replace' not found in keymap item 'OperatorProperties'
Warning: property 'use_node_name' not found in keymap item 'OperatorProperties'
Warning: property 'use_outputs_names' not found in keymap item 'OperatorProperties'
Warning: property 'blend_type' not found in keymap item 'OperatorProperties'
Warning: property 'operation' not found in keymap item 'OperatorProperties'
Warning: property 'blend_type' not found in keymap item 'OperatorProperties'
Warning: property 'operation' not found in keymap item 'OperatorProperties'
Warning: property 'blend_type' not found in keymap item 'OperatorProperties'
Warning: property 'operation' not found in keymap item 'OperatorProperties'
Warning: property 'blend_type' not found in keymap item 'OperatorProperties'
Warning: property 'operation' not found in keymap item 'OperatorProperties'
Warning: property 'blend_type' not found in keymap item 'OperatorProperties'
Warning: property 'operation' not found in keymap item 'OperatorProperties'
Warning: property 'blend_type' not found in keymap item 'OperatorProperties'
Warning: property 'operation' not found in keymap item 'OperatorProperties'
Warning: property 'blend_type' not found in keymap item 'OperatorProperties'
Warning: property 'operation' not found in keymap item 'OperatorProperties'
Warning: property 'blend_type' not found in keymap item 'OperatorProperties'

You can create a separate report if you find what is happening there, the original bug here seems to be solved.