Jump to content

Xcode SceneKit Crash


DuarteAr
 Share

1 post in this topic

Recommended Posts

Hi, I have a problem with SceneKit in Xcode and would like some help with this. Whenever I try to open a .scn ou .dae file Xcode crashes immediately.

My PC:
Motherboard: Asrock 990FX Killer
CPU: FX 8350
Graphics Card: Sapphire R9 290

 

OS:

High Sierra

Bronya's Kernel

Whatevergreen

Lilu

I'm using lilo and whatevergreen and everything is working fine except for this issue.

Here is a portion of the crash report:

Process:               Xcode [673]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               9.0.1 (13249)
Build Info:            IDEFrameworks-13249000000000000~2
App Item ID:           497799835
App External ID:       823984564
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [673]
User ID:               501

Date/Time:             2017-10-21 17:45:51.705 +0100
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        130D9B06-BC13-26A0-D4FE-864978BB240D


Time Awake Since Boot: 960 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.scenekit.renderingQueue.SKESceneView0x7fc3e9232260

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]

Application Specific Information:
ProductBuildVersion: 9A1004

Thread 0 Crashed:: Dispatch queue: com.apple.scenekit.renderingQueue.SKESceneView0x7fc3e9232260
0   com.apple.SceneKit            	0x0000000117542b3a C3DCullingSystem_CullRange_x8(CullContext const&, unsigned int, unsigned int) + 90
1   com.apple.SceneKit            	0x0000000117671e1c C3DCullingSystemCull + 232
2   com.apple.SceneKit            	0x00000001177b5d00 C3DCullingContextCull + 481
3   com.apple.SceneKit            	0x0000000117744177 __appendTechnique + 1108
4   com.apple.SceneKit            	0x00000001177446b4 C3DEngineContextRenderMainTechnique + 723
5   com.apple.SceneKit            	0x00000001176835c3 -[SCNRenderer _renderSceneWithEngineContext:sceneTime:] + 392
6   com.apple.SceneKit            	0x0000000117683728 -[SCNRenderer _drawSceneWithNewRenderer:] + 299
7   com.apple.SceneKit            	0x0000000117683d64 -[SCNRenderer _drawScene:] + 66
8   com.apple.SceneKit            	0x0000000117684298 -[SCNRenderer _drawAtTime:] + 1018
9   com.apple.SceneKit            	0x000000011766b589 -[SCNView _drawAtTime:WithContext:] + 448
10  com.apple.SceneKit            	0x000000011766ed42 __35-[SCNView drawForMetalBackingLayer]_block_invoke + 36
11  libdispatch.dylib             	0x00007fffcd5d58fc _dispatch_client_callout + 8
12  libdispatch.dylib             	0x00007fffcd5d6536 _dispatch_barrier_sync_f_invoke + 83
13  com.apple.SceneKit            	0x000000011766ecbd -[SCNView drawForMetalBackingLayer] + 142
14  com.apple.QuartzCore          	0x00007fffbda3f052 CA::Layer::display_if_needed(CA::Transaction*) + 572
15  com.apple.QuartzCore          	0x00007fffbda3f17d CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35
16  com.apple.QuartzCore          	0x00007fffbda34934 CA::Context::commit_transaction(CA::Transaction*) + 280
17  com.apple.QuartzCore          	0x00007fffbd9297e1 CA::Transaction::commit() + 475
18  com.apple.AppKit              	0x00007fffb596a8b1 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.31 + 323
19  com.apple.CoreFoundation      	0x00007fffb7a5fde7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
20  com.apple.CoreFoundation      	0x00007fffb7a5fd57 __CFRunLoopDoObservers + 391
21  com.apple.CoreFoundation      	0x00007fffb7a40b09 __CFRunLoopRun + 873
22  com.apple.CoreFoundation      	0x00007fffb7a40544 CFRunLoopRunSpecific + 420
23  com.apple.HIToolbox           	0x00007fffb6f9febc RunCurrentEventLoopInMode + 240
24  com.apple.HIToolbox           	0x00007fffb6f9fbf9 ReceiveNextEventCommon + 184
25  com.apple.HIToolbox           	0x00007fffb6f9fb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
26  com.apple.AppKit              	0x00007fffb5538a54 _DPSNextEvent + 1120
27  com.apple.AppKit              	0x00007fffb5cb47ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
28  com.apple.dt.DVTKit           	0x000000010a5c3a1e -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 390
29  com.apple.AppKit              	0x00007fffb552d3db -[NSApplication run] + 926
30  com.apple.AppKit              	0x00007fffb54f7e0e NSApplicationMain + 1237
31  libdyld.dylib                 	0x00007fffcd60b235 start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fffcd73a44e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffcd824621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffcd82407d start_wqthread + 13

For what I can tell it's a problem with code signing of Xcode. I Found a website that had instructions on how to solve a similar problem (SpriteKit crash not SceneKit), that was to re-code-sign Xcode in terminal, with I tried even though it was only supposed to work for Xcode 8.3.x. They had another solution for Xcode 9 but it was specifically for Nvidia and installing specific Nvidia web drivers.

Thank you again for any help you can give me.

Link to comment
Share on other sites

 Share

×
×
  • Create New...