Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo crash on M1 macbook #28

Open
Asuka109 opened this issue May 18, 2021 · 5 comments
Open

Demo crash on M1 macbook #28

Asuka109 opened this issue May 18, 2021 · 5 comments

Comments

@Asuka109
Copy link

I refer to the article to compile demo.

clang++ \
  -c ./src/main.cxx \
  -o ./3d-game-shaders-for-beginners.o \
  -std=gnu++11 \
  -g \
  -O2 \
  -I/opt/homebrew/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/include \
  -I/Users/xxx/repositories/panda3d/built/include

clang++ \
  ./3d-game-shaders-for-beginners.o \
  -o ./3d-game-shaders-for-beginners \
  -L/Users/xxx/repositories/panda3d/built/lib \
  -lp3framework \
  -lpanda \
  -lpandafx \
  -lpandaexpress \
  -lpandaphysics \
  -lp3dtoolconfig \
  -lp3dtool \
  -lp3direct \
  -lpthread

Here I use the Panda3D SDK compiled from the source code.

It looks good when I run it, and I can switch between different framebuffer textures.

But once I use the mouse to move the view, the program crashes in a few frames.

demonstration % ./3d-game-shaders-for-beginners
Warning: unable to auto-locate config files in directory named by "<auto>etc".
:audio: NullAudioManager
:util: Reading /Users/xxx/repositories/3d-game-shaders-for-beginners/demonstration/panda3d-prc-file.prc
:util(error): Unable to make directory /panda3d, caching disabled.
Known pipe types:
  CocoaGraphicsPipe
(all display modules loaded.)
:display:gsg:glgsg(warning): Shader shaders/fragment/geometry-buffer-0.frag produced the following warnings:
WARNING: Output of vertex shader 'vertexInShadowSpaces' not read by fragment shader
WARNING: Output of vertex shader 'vertexColor' not read by fragment shader
WARNING: Output of vertex shader 'diffuseCoord' not read by fragment shader
WARNING: Could not find fragment shader output 'p3d_FragData' to match FragDataBinding request.

:display:gsg:glgsg(warning): Shader shaders/fragment/geometry-buffer-1.frag produced the following warnings:
WARNING: Output of vertex shader 'vertexInShadowSpaces' not read by fragment shader
WARNING: Output of vertex shader 'vertexColor' not read by fragment shader
WARNING: Could not find fragment shader output 'p3d_FragData' to match FragDataBinding request.

:display:gsg:glgsg(warning): Shader shaders/fragment/geometry-buffer-2.frag produced the following warnings:
WARNING: Output of vertex shader 'normalCoord' not read by fragment shader
WARNING: Output of vertex shader 'vertexNormal' not read by fragment shader
WARNING: Output of vertex shader 'binormal' not read by fragment shader
WARNING: Output of vertex shader 'tangent' not read by fragment shader
WARNING: Output of vertex shader 'vertexInShadowSpaces' not read by fragment shader
WARNING: Could not find fragment shader output 'p3d_FragData' to match FragDataBinding request.

2021-05-18 21:04:01.081 3d-game-shaders-for-beginners[14248:12635934] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=2 "Caused GPU Hang Error (IOAF code 3)" UserInfo={NSLocalizedDescription=Caused GPU Hang Error (IOAF code 3)}
2021-05-18 21:04:04.464 3d-game-shaders-for-beginners[14248:12635929] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=2 "Caused GPU Hang Error (IOAF code 3)" UserInfo={NSLocalizedDescription=Caused GPU Hang Error (IOAF code 3)}
2021-05-18 21:04:04.467 3d-game-shaders-for-beginners[14248:12635929] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=4 "Ignored (for causing prior/excessive GPU errors) (IOAF code 4)" UserInfo={NSLocalizedDescription=Ignored (for causing prior/excessive GPU errors) (IOAF code 4)}
zsh: abort      ./3d-game-shaders-for-beginners
@MarvinFF
Copy link

you can try sudo ./3d-game-shaders-for-beginners

@ghost
Copy link

ghost commented Aug 27, 2021

@MarvinFF I don't see how sudo would make any difference.

@Asuka109 would you be able to upload a coredump somewhere so we can try to see why it crashes?

On macOS you need to enable coredumps for the current terminal via the command below:

ulimit -c unlimited

After that, on the same terminal, run the demo and make it crash.

You'll be able to find the coredump file in /cores/core.

is the PID of the process running the demo.

You can get the PID of the process when you run it by adding an & to the end of the command line

./3d-game-shaders-for-beginners &

It can take a while for the coredump to be written :)

@Asuka109
Copy link
Author

@0800LTT I think coredump will be very useful. But now I have changed to Intel's MacBook, which may not reproduce this bug.

@ngn999
Copy link

ngn999 commented Feb 10, 2022

M1 MacBook Pro, same problem:


Translated Report (Full Report Below)

Process: 3d-game-shaders-for-beginners [81261]
Path: /Users/USER/*/3d-game-shaders-for-beginners
Identifier: 3d-game-shaders-for-beginners
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [1213]
User ID: 501

Date/Time: 2022-02-10 21:31:23.7689 +0800
OS Version: macOS 12.2 (21D49)
Report Version: 12
Anonymous UUID: 0BDE9226-5D10-8DF4-61CF-25301B616F05

Sleep/Wake UUID: CAE96217-EE73-4F0E-942B-5AE274981A4C

Time Awake Since Boot: 210000 seconds
Time Since Wake: 7214 seconds

System Integrity Protection: enabled

Crashed Thread: 4 Dispatch queue: com.Metal.CompletionQueueDispatch

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0:: Dispatch queue: com.Metal.CommandQueueDispatch
0 libsystem_kernel.dylib 0x1c2561954 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1c2561d00 mach_msg + 76
2 IOKit 0x1c5048da8 io_connect_method + 440
3 IOKit 0x1c5048b88 IOConnectCallMethod + 176
4 IOGPU 0x1dcb90518 IOGPUCommandQueueSubmitCommandBuffers + 144
5 IOGPU 0x1dcb831ec -[IOGPUMetalCommandQueue _submitCommandBuffers:count:] + 804
6 IOGPU 0x1dcb82e9c -[IOGPUMetalCommandQueue submitCommandBuffers:count:] + 88
7 Metal 0x1cae361f0 -[_MTLCommandQueue _submitAvailableCommandBuffers] + 672
8 Metal 0x1cae3e028 __40-[_MTLCommandQueue submitCommandBuffer:]_block_invoke + 36
9 libdispatch.dylib 0x1c23debac _dispatch_client_callout + 20
10 libdispatch.dylib 0x1c23ede00 _dispatch_lane_barrier_sync_invoke_and_complete + 56
11 Metal 0x1cae3dfdc -[_MTLCommandQueue submitCommandBuffer:] + 136
12 AppleMetalOpenGLRenderer 0x1035b8e14 GLDContextRec::flushContext(bool) + 512
13 AppKit 0x1c5c211f4 -[NSIOAccelSurface frontBuffer] + 1372
14 AppKit 0x1c5c20138 -[NSCGLSurface flushRect:] + 652
15 AppKit 0x1c5c1fdfc NSCGLSurfaceFlush + 156
16 GLEngine 0x223c25c70 glSwap_Exec + 244
17 OpenGL 0x223a123ac CGLFlushDrawable + 64
18 AppKit 0x1c550621c -[NSOpenGLContext flushBuffer] + 28
19 libpandagl.dylib 0x1034a6a98 CocoaGraphicsWindow::end_flip() + 340
20 libpanda.1.11.dylib 0x10469bacc GraphicsEngine::draw_bins(ov_set<PointerTo, IndirectLess, pvector<PointerTo > > const&, Thread*) + 348
21 libpanda.1.11.dylib 0x104695b68 GraphicsEngine::WindowRenderer::do_frame(GraphicsEngine*, Thread*) + 680
22 libpanda.1.11.dylib 0x1046944dc GraphicsEngine::render_frame() + 2788
23 libp3framework.1.11.dylib 0x102ce43b4 PandaFramework::task_igloop(GenericAsyncTask*, void*) + 40
24 libpanda.1.11.dylib 0x1046cf570 AsyncTask::unlock_and_do_task() + 300
25 libpanda.1.11.dylib 0x1046d336c AsyncTaskChain::service_one_task(AsyncTaskChain::AsyncTaskChainThread*) + 504
26 libpanda.1.11.dylib 0x1046d25a0 AsyncTaskChain::do_poll() + 400
27 libpanda.1.11.dylib 0x1046d963c AsyncTaskManager::poll() + 68
28 libp3framework.1.11.dylib 0x102cdde10 PandaFramework::do_frame(Thread*) + 36
29 libp3framework.1.11.dylib 0x102cddeb4 PandaFramework::main_loop() + 100
30 3d-game-shaders-for-beginners 0x102b1c24c main + 53828
31 dyld 0x102f190f4 start + 520

Thread 1:: AMCP Logging Spool
0 libsystem_kernel.dylib 0x1c2561990 semaphore_wait_trap + 8
1 caulk 0x1caf708ac caulk::mach::semaphore::wait_or_error() + 28
2 caulk 0x1caf5365c caulk::concurrent::details::worker_thread::run() + 56
3 caulk 0x1caf5327c void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void) + 96
4 libsystem_pthread.dylib 0x1c259d240 _pthread_start + 148
5 libsystem_pthread.dylib 0x1c2598024 thread_start + 8

Thread 2:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x1c2561954 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1c2561d00 mach_msg + 76
2 CoreAudio 0x1c42a3ef0 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 104
3 CoreAudio 0x1c4132e04 HALC_ProxyIOContext::IOWorkLoop() + 3360
4 CoreAudio 0x1c4131ae0 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 100
5 CoreAudio 0x1c42fd420 HALB_IOThread::Entry(void*) + 88
6 libsystem_pthread.dylib 0x1c259d240 _pthread_start + 148
7 libsystem_pthread.dylib 0x1c2598024 thread_start + 8

Thread 3:
0 libsystem_pthread.dylib 0x1c2598010 start_wqthread + 0

Thread 4 Crashed:: Dispatch queue: com.Metal.CompletionQueueDispatch
0 libsystem_kernel.dylib 0x1c25699b8 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1c259ceb0 pthread_kill + 288
2 libsystem_c.dylib 0x1c24da314 abort + 164
3 AppleMetalOpenGLRenderer 0x1035b99f4 invocation function for block in GLDContextRec::flushContextInternal() + 316
4 Metal 0x1cae36a24 MTLDispatchListApply + 52
5 Metal 0x1cae36fa0 -[_MTLCommandBuffer didCompleteWithStartTime:endTime:error:] + 600
6 IOGPU 0x1dcb7fd34 -[IOGPUMetalCommandBuffer didCompleteWithStartTime:endTime:error:] + 220
7 Metal 0x1cae36bd8 -[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:] + 136
8 IOGPU 0x1dcb834a8 __54-[IOGPUMetalCommandQueue _submitCommandBuffers:count:]_block_invoke.22 + 168
9 IOGPU 0x1dcb87bf0 __IOGPUNotificationQueueSetDispatchQueue_block_invoke + 156
10 libdispatch.dylib 0x1c23dec6c _dispatch_client_callout4 + 20
11 libdispatch.dylib 0x1c23faf68 _dispatch_mach_msg_invoke + 476
12 libdispatch.dylib 0x1c23e6208 _dispatch_lane_serial_drain + 376
13 libdispatch.dylib 0x1c23fbcb8 _dispatch_mach_invoke + 456
14 libdispatch.dylib 0x1c23e6208 _dispatch_lane_serial_drain + 376
15 libdispatch.dylib 0x1c23e6ed8 _dispatch_lane_invoke + 444
16 libdispatch.dylib 0x1c23e6208 _dispatch_lane_serial_drain + 376
17 libdispatch.dylib 0x1c23e6ea4 _dispatch_lane_invoke + 392
18 libdispatch.dylib 0x1c23f1708 _dispatch_workloop_worker_thread + 656
19 libsystem_pthread.dylib 0x1c2599304 _pthread_wqthread + 288
20 libsystem_pthread.dylib 0x1c2598018 start_wqthread + 8

Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x1c2561954 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1c2561d00 mach_msg + 76
2 CoreFoundation 0x1c2668ed8 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x1c2667390 __CFRunLoopRun + 1212
4 CoreFoundation 0x1c2666734 CFRunLoopRunSpecific + 600
5 AppKit 0x1c5329fb0 _NSEventThread + 196
6 libsystem_pthread.dylib 0x1c259d240 _pthread_start + 148
7 libsystem_pthread.dylib 0x1c2598024 thread_start + 8

Thread 6:
0 libsystem_pthread.dylib 0x1c2598010 start_wqthread + 0

Thread 7:
0 libsystem_pthread.dylib 0x1c2598010 start_wqthread + 0

Thread 4 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000016d6370e0 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x000000000000003e
x8: 0x6a2df7aeabe9577b x9: 0x6a2df7afc68a277b x10: 0x0100000100000000 x11: 0x0000000000191754
x12: 0x000000100e5890d1 x13: 0x0000000000000000 x14: 0x0000020000011000 x15: 0x0200000110000660
x16: 0x0000000000000148 x17: 0x000000021cdd3530 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x000000016d637000 x21: 0x0000000000013703 x22: 0x00000001300ab8f8 x23: 0x0000000122853000
x24: 0x000000020cb3312d x25: 0x0000000122853000 x26: 0x000000016d6366a0 x27: 0x0000600000bada28
x28: 0x00006000024d0480 fp: 0x000000016d636380 lr: 0x00000001c259ceb0
sp: 0x000000016d636360 pc: 0x00000001c25699b8 cpsr: 0x40001000
far: 0x0000600003d40b00 esr: 0x56000080 Address size fault

Binary Images:
0x1c2560000 - 0x1c2595fff libsystem_kernel.dylib () <384945e6-dd71-37e5-9a3d-84fff14a1e60> /usr/lib/system/libsystem_kernel.dylib
0x1c5045000 - 0x1c511afff com.apple.framework.IOKit (2.0.2) <97e3d808-8bcb-3ac4-85ab-60faa4cae04f> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x1dcb7d000 - 0x1dcba9fff com.apple.IOGPU (35.11) /System/Library/PrivateFrameworks/IOGPU.framework/Versions/A/IOGPU
0x1cae17000 - 0x1caf50fff com.apple.Metal (258.18) /System/Library/Frameworks/Metal.framework/Versions/A/Metal
0x1c23db000 - 0x1c2421fff libdispatch.dylib (
) <93e1dcfc-ef56-3113-8e7c-1ba85266a93b> /usr/lib/system/libdispatch.dylib
0x103564000 - 0x1035cffff com.apple.AppleMetalOpenGLRenderer (1.0) /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer
0x1c517b000 - 0x1c6031fff com.apple.AppKit (6.9) <1b65b629-6d3b-3fcd-ad43-e5683a9f94b7> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x223c0c000 - 0x223d7afff GLEngine () <612353c1-4674-334a-a00c-25c0da155859> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine
0x223a05000 - 0x223a14fff com.apple.opengl (19.2.2) <698740e7-bb82-375c-9c12-73e58ffb77d1> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x103440000 - 0x1034c3fff libpandagl.dylib (
) <39a4e1f6-e497-3d45-b0a4-c24e09852b28> /Users/USER//libpandagl.dylib
0x1043e0000 - 0x105017fff libpanda.1.11.dylib (
) <2496bab3-a9ce-317b-b18e-f2d5112758cd> /Users/USER//libpanda.1.11.dylib
0x102cd4000 - 0x102d17fff libp3framework.1.11.dylib (
) <5b1d7856-1517-32a2-9247-25a21cfa4444> /Users/USER//libp3framework.1.11.dylib
0x102b0c000 - 0x102b4ffff 3d-game-shaders-for-beginners (
) <1015ec64-d184-3969-b641-097f2e336210> /Users/USER//3d-game-shaders-for-beginners
0x102f14000 - 0x102f73fff dyld (
) /usr/lib/dyld
0x1caf51000 - 0x1caf78fff com.apple.audio.caulk (1.0) /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
0x1c2596000 - 0x1c25a2fff libsystem_pthread.dylib () /usr/lib/system/libsystem_pthread.dylib
0x1c3f6a000 - 0x1c4698fff com.apple.audio.CoreAudio (5.0) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x1c2461000 - 0x1c24e1fff libsystem_c.dylib (
) <0dbc8b95-0037-3725-a769-0c772c293488> /usr/lib/system/libsystem_c.dylib
0x1c25e4000 - 0x1c2b27fff com.apple.CoreFoundation (6.9) <16fadf8b-a3af-3e0c-b5fb-ce9a9cdc8747> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=2.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.3G(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 2176K 4
CG image 96K 3
ColorSync 576K 25
CoreAnimation 352K 11
CoreGraphics 32K 2
CoreUI image data 1120K 8
Foundation 16K 1
IOAccelerator 867.9M 297
IOKit 80K 5
Kernel Alloc Once 32K 1
MALLOC 593.6M 81
MALLOC guard page 192K 8
MALLOC_MEDIUM (reserved) 512.0M 5 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
OpenGL GLSL 256K 3
STACK GUARD 56.1M 8
Stack 11.7M 8
VM_ALLOCATE 3520K 208
__AUTH 2456K 286
__AUTH_CONST 18.5M 471
__DATA 16.0M 475
__DATA_CONST 18.5M 491
__DATA_DIRTY 1686K 195
__FONT_DATA 4K 1
__GLSLBUILTINS 5176K 1
__LINKEDIT 619.7M 19
__OBJC_CONST 3254K 248
__OBJC_RO 82.1M 1
__OBJC_RW 3104K 1
__TEXT 489.8M 509
__UNICODE 588K 1
dyld private memory 1216K 3
mapped file 82.3M 23
shared memory 10.6M 96
=========== ======= =======
TOTAL 3.7G 3503
TOTAL, minus reserved VM space 2.8G 3503


Full Report

{"app_name":"3d-game-shaders-for-beginners","timestamp":"2022-02-10 21:31:23.00 +0800","app_version":"","slice_uuid":"1015ec64-d184-3969-b641-097f2e336210","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.2 (21D49)","incident_id":"3AB9BB4D-3A29-4BC1-A5E5-961C597DCFFF","name":"3d-game-shaders-for-beginners"}
{
"uptime" : 210000,
"procLaunch" : "2022-02-10 21:31:13.3151 +0800",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro17,1",
"procStartAbsTime" : 5181585969670,
"coalitionID" : 872,
"osVersion" : {
"train" : "macOS 12.2",
"build" : "21D49",
"releaseType" : "User"
},
"captureTime" : "2022-02-10 21:31:23.7689 +0800",
"incident" : "3AB9BB4D-3A29-4BC1-A5E5-961C597DCFFF",
"bug_type" : "309",
"pid" : 81261,
"procExitAbsTime" : 5181836311259,
"translated" : false,
"cpuType" : "ARM-64",
"procName" : "3d-game-shaders-for-beginners",
"procPath" : "/Users/USER//3d-game-shaders-for-beginners",
"parentProc" : "zsh",
"parentPid" : 1213,
"coalitionName" : "io.alacritty",
"crashReporterKey" : "0BDE9226-5D10-8DF4-61CF-25301B616F05",
"responsiblePid" : 860,
"wakeTime" : 7214,
"sleepWakeUUID" : "CAE96217-EE73-4F0E-942B-5AE274981A4C",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"asi" : {"libsystem_c.dylib":["abort() called"]},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 4,
"threads" : [{"id":1644320,"queue":"com.Metal.CommandQueueDispatch","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":15784,"symbol":"io_connect_method","symbolLocation":440,"imageIndex":1},{"imageOffset":15240,"symbol":"IOConnectCallMethod","symbolLocation":176,"imageIndex":1},{"imageOffset":79128,"symbol":"IOGPUCommandQueueSubmitCommandBuffers","symbolLocation":144,"imageIndex":2},{"imageOffset":25068,"symbol":"-[IOGPUMetalCommandQueue _submitCommandBuffers:count:]","symbolLocation":804,"imageIndex":2},{"imageOffset":24220,"symbol":"-[IOGPUMetalCommandQueue submitCommandBuffers:count:]","symbolLocation":88,"imageIndex":2},{"imageOffset":127472,"symbol":"-[_MTLCommandQueue _submitAvailableCommandBuffers]","symbolLocation":672,"imageIndex":3},{"imageOffset":159784,"symbol":"__40-[_MTLCommandQueue submitCommandBuffer:]_block_invoke","symbolLocation":36,"imageIndex":3},{"imageOffset":15276,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":77312,"symbol":"_dispatch_lane_barrier_sync_invoke_and_complete","symbolLocation":56,"imageIndex":4},{"imageOffset":159708,"symbol":"-[_MTLCommandQueue submitCommandBuffer:]","symbolLocation":136,"imageIndex":3},{"imageOffset":347668,"symbol":"GLDContextRec::flushContext(bool)","symbolLocation":512,"imageIndex":5},{"imageOffset":11166196,"symbol":"-[NSIOAccelSurface frontBuffer]","symbolLocation":1372,"imageIndex":6},{"imageOffset":11161912,"symbol":"-[NSCGLSurface flushRect:]","symbolLocation":652,"imageIndex":6},{"imageOffset":11161084,"symbol":"NSCGLSurfaceFlush","symbolLocation":156,"imageIndex":6},{"imageOffset":105584,"symbol":"glSwap_Exec","symbolLocation":244,"imageIndex":7},{"imageOffset":54188,"symbol":"CGLFlushDrawable","symbolLocation":64,"imageIndex":8},{"imageOffset":3715612,"symbol":"-[NSOpenGLContext flushBuffer]","symbolLocation":28,"imageIndex":6},{"imageOffset":420504,"symbol":"CocoaGraphicsWindow::end_flip()","symbolLocation":340,"imageIndex":9},{"imageOffset":2865868,"symbol":"GraphicsEngine::draw_bins(ov_set<PointerTo, IndirectLess, pvector<PointerTo > > const&, Thread
)","symbolLocation":348,"imageIndex":10},{"imageOffset":2841448,"symbol":"GraphicsEngine::WindowRenderer::do_frame(GraphicsEngine*, Thread*)","symbolLocation":680,"imageIndex":10},{"imageOffset":2835676,"symbol":"GraphicsEngine::render_frame()","symbolLocation":2788,"imageIndex":10},{"imageOffset":66484,"symbol":"PandaFramework::task_igloop(GenericAsyncTask*, void*)","symbolLocation":40,"imageIndex":11},{"imageOffset":3077488,"symbol":"AsyncTask::unlock_and_do_task()","symbolLocation":300,"imageIndex":10},{"imageOffset":3093356,"symbol":"AsyncTaskChain::service_one_task(AsyncTaskChain::AsyncTaskChainThread*)","symbolLocation":504,"imageIndex":10},{"imageOffset":3089824,"symbol":"AsyncTaskChain::do_poll()","symbolLocation":400,"imageIndex":10},{"imageOffset":3118652,"symbol":"AsyncTaskManager::poll()","symbolLocation":68,"imageIndex":10},{"imageOffset":40464,"symbol":"PandaFramework::do_frame(Thread*)","symbolLocation":36,"imageIndex":11},{"imageOffset":40628,"symbol":"PandaFramework::main_loop()","symbolLocation":100,"imageIndex":11},{"imageOffset":66124,"symbol":"main","symbolLocation":53828,"imageIndex":12},{"imageOffset":20724,"symbol":"start","symbolLocation":520,"imageIndex":13}]},{"id":1644327,"name":"AMCP Logging Spool","frames":[{"imageOffset":6544,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":129196,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":14},{"imageOffset":9820,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":14},{"imageOffset":8828,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void)","symbolLocation":96,"imageIndex":14},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":1644346,"name":"com.apple.audio.IOThread.client","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":3383024,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":104,"imageIndex":16},{"imageOffset":1871364,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":3360,"imageIndex":16},{"imageOffset":1866464,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":100,"imageIndex":16},{"imageOffset":3748896,"symbol":"HALB_IOThread::Entry(void*)","symbolLocation":88,"imageIndex":16},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":1644370,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"triggered":true,"id":1644372,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":6130200800},{"value":0},{"value":0},{"value":62},{"value":7651043671552907131},{"value":7651043676294621051},{"value":72057598332895232},{"value":1644372},{"value":68960162001},{"value":0},{"value":2199023325184},{"value":144115192639260256},{"value":328},{"value":9074193712},{"value":0},{"value":6},{"value":6130200576},{"value":79619},{"value":5100976376},{"value":4874121216},{"value":8803004717,"objc-selector":"device"},{"value":4874121216},{"value":6130198176},{"value":105553128512040},{"value":105553154868352}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7555632816},"cpsr":{"value":1073745920},"fp":{"value":6130197376},"sp":{"value":6130197344},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7555422648,"matchesCrashFrame":1},"far":{"value":105553180494592}},"queue":"com.Metal.CompletionQueueDispatch","frames":[{"imageOffset":39352,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":28336,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":15},{"imageOffset":496404,"symbol":"abort","symbolLocation":164,"imageIndex":17},{"imageOffset":350708,"symbol":"invocation function for block in GLDContextRec::flushContextInternal()","symbolLocation":316,"imageIndex":5},{"imageOffset":129572,"symbol":"MTLDispatchListApply","symbolLocation":52,"imageIndex":3},{"imageOffset":130976,"symbol":"-[_MTLCommandBuffer didCompleteWithStartTime:endTime:error:]","symbolLocation":600,"imageIndex":3},{"imageOffset":11572,"symbol":"-[IOGPUMetalCommandBuffer didCompleteWithStartTime:endTime:error:]","symbolLocation":220,"imageIndex":2},{"imageOffset":130008,"symbol":"-[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:]","symbolLocation":136,"imageIndex":3},{"imageOffset":25768,"symbol":"__54-[IOGPUMetalCommandQueue _submitCommandBuffers:count:]_block_invoke.22","symbolLocation":168,"imageIndex":2},{"imageOffset":44016,"symbol":"__IOGPUNotificationQueueSetDispatchQueue_block_invoke","symbolLocation":156,"imageIndex":2},{"imageOffset":15468,"symbol":"_dispatch_client_callout4","symbolLocation":20,"imageIndex":4},{"imageOffset":130920,"symbol":"_dispatch_mach_msg_invoke","symbolLocation":476,"imageIndex":4},{"imageOffset":45576,"symbol":"_dispatch_lane_serial_drain","symbolLocation":376,"imageIndex":4},{"imageOffset":134328,"symbol":"_dispatch_mach_invoke","symbolLocation":456,"imageIndex":4},{"imageOffset":45576,"symbol":"_dispatch_lane_serial_drain","symbolLocation":376,"imageIndex":4},{"imageOffset":48856,"symbol":"_dispatch_lane_invoke","symbolLocation":444,"imageIndex":4},{"imageOffset":45576,"symbol":"_dispatch_lane_serial_drain","symbolLocation":376,"imageIndex":4},{"imageOffset":48804,"symbol":"_dispatch_lane_invoke","symbolLocation":392,"imageIndex":4},{"imageOffset":91912,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":656,"imageIndex":4},{"imageOffset":13060,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":15},{"imageOffset":8216,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":15}]},{"id":1644388,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":544472,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":18},{"imageOffset":537488,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":18},{"imageOffset":534324,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":18},{"imageOffset":1765296,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":6},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":1644431,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":1644433,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 7555383296,
"size" : 221184,
"uuid" : "384945e6-dd71-37e5-9a3d-84fff14a1e60",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7600361472,
"CFBundleShortVersionString" : "2.0.2",
"CFBundleIdentifier" : "com.apple.framework.IOKit",
"size" : 876544,
"uuid" : "97e3d808-8bcb-3ac4-85ab-60faa4cae04f",
"path" : "/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit",
"name" : "IOKit"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7998001152,
"CFBundleShortVersionString" : "35.11",
"CFBundleIdentifier" : "com.apple.IOGPU",
"size" : 184320,
"uuid" : "b65f1b3a-8d38-3cf9-87c7-8854ec9f0c2b",
"path" : "/System/Library/PrivateFrameworks/IOGPU.framework/Versions/A/IOGPU",
"name" : "IOGPU",
"CFBundleVersion" : "35.11"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7698739200,
"CFBundleShortVersionString" : "258.18",
"CFBundleIdentifier" : "com.apple.Metal",
"size" : 1286144,
"uuid" : "d550d701-d585-32a0-9f7d-3ac14f59a170",
"path" : "/System/Library/Frameworks/Metal.framework/Versions/A/Metal",
"name" : "Metal",
"CFBundleVersion" : "258.18"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7553789952,
"size" : 290816,
"uuid" : "93e1dcfc-ef56-3113-8e7c-1ba85266a93b",
"path" : "/usr/lib/system/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4350951424,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer",
"size" : 442368,
"uuid" : "bae2149d-f26d-335e-8d24-ad44d4c46f75",
"path" : "/System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer",
"name" : "AppleMetalOpenGLRenderer",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7601631232,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15429632,
"uuid" : "1b65b629-6d3b-3fcd-ad43-e5683a9f94b7",
"path" : "/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2113.30.116"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 9189769216,
"size" : 1503232,
"uuid" : "612353c1-4674-334a-a00c-25c0da155859",
"path" : "/System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine",
"name" : "GLEngine"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 9187643392,
"CFBundleShortVersionString" : "19.2.2",
"CFBundleIdentifier" : "com.apple.opengl",
"size" : 65536,
"uuid" : "698740e7-bb82-375c-9c12-73e58ffb77d1",
"path" : "/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL",
"name" : "OpenGL",
"CFBundleVersion" : "19.2.2"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4349755392,
"size" : 540672,
"uuid" : "39a4e1f6-e497-3d45-b0a4-c24e09852b28",
"path" : "/Users/USER//libpandagl.dylib",
"name" : "libpandagl.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4366139392,
"size" : 12812288,
"uuid" : "2496bab3-a9ce-317b-b18e-f2d5112758cd",
"path" : "/Users/USER/
/libpanda.1.11.dylib",
"name" : "libpanda.1.11.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4341972992,
"size" : 278528,
"uuid" : "5b1d7856-1517-32a2-9247-25a21cfa4444",
"path" : "/Users/USER//libp3framework.1.11.dylib",
"name" : "libp3framework.1.11.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4340105216,
"size" : 278528,
"uuid" : "1015ec64-d184-3969-b641-097f2e336210",
"path" : "/Users/USER/
/3d-game-shaders-for-beginners",
"name" : "3d-game-shaders-for-beginners"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4344332288,
"size" : 393216,
"uuid" : "d21a73ea-79cd-36eb-8ac9-2c5cf5181a27",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7700025344,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.audio.caulk",
"size" : 163840,
"uuid" : "f8f1663b-806a-3544-9a8b-2a595d06dfdd",
"path" : "/System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk",
"name" : "caulk"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7555604480,
"size" : 53248,
"uuid" : "f7b2eccf-e6f1-3109-ae81-9028c0b8332a",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7582687232,
"CFBundleShortVersionString" : "5.0",
"CFBundleIdentifier" : "com.apple.audio.CoreAudio",
"size" : 7532544,
"uuid" : "b1a13ce9-3aa2-3411-b64c-f9d2d4b293a0",
"path" : "/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio",
"name" : "CoreAudio",
"CFBundleVersion" : "5.0"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7554338816,
"size" : 528384,
"uuid" : "0dbc8b95-0037-3725-a769-0c772c293488",
"path" : "/usr/lib/system/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7555923968,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5521408,
"uuid" : "16fadf8b-a3af-3e0c-b5fb-ce9a9cdc8747",
"path" : "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1856.105"
}
],
"sharedCache" : {
"base" : 7552434176,
"size" : 3091218432,
"uuid" : "b90241b2-e425-3982-b3f6-26c4567cbb49"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=2.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.3G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 256K 2 \nActivity Tracing 256K 1 \nCG backing stores 2176K 4 \nCG image 96K 3 \nColorSync 576K 25 \nCoreAnimation 352K 11 \nCoreGraphics 32K 2 \nCoreUI image data 1120K 8 \nFoundation 16K 1 \nIOAccelerator 867.9M 297 \nIOKit 80K 5 \nKernel Alloc Once 32K 1 \nMALLOC 593.6M 81 \nMALLOC guard page 192K 8 \nMALLOC_MEDIUM (reserved) 512.0M 5 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nOpenGL GLSL 256K 3 \nSTACK GUARD 56.1M 8 \nStack 11.7M 8 \nVM_ALLOCATE 3520K 208 \n__AUTH 2456K 286 \n__AUTH_CONST 18.5M 471 \n__DATA 16.0M 475 \n__DATA_CONST 18.5M 491 \n__DATA_DIRTY 1686K 195 \n__FONT_DATA 4K 1 \n__GLSLBUILTINS 5176K 1 \n__LINKEDIT 619.7M 19 \n__OBJC_CONST 3254K 248 \n__OBJC_RO 82.1M 1 \n__OBJC_RW 3104K 1 \n__TEXT 489.8M 509 \n__UNICODE 588K 1 \ndyld private memory 1216K 3 \nmapped file 82.3M 23 \nshared memory 10.6M 96 \n=========== ======= ======= \nTOTAL 3.7G 3503 \nTOTAL, minus reserved VM space 2.8G 3503 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.Metal.CompletionQueueDispatch"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {

  },
  "deploymentId" : 240000008
},
{
  "rolloutId" : "607844aa04477260f58a8077",
  "factorPackIds" : {
    "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
  },
  "deploymentId" : 240000066
},
{
  "rolloutId" : "602ad4dac86151000cf27e46",
  "factorPackIds" : {
    "SIRI_DICTATION_ASSETS" : "61fb0e87c773c43cde3bb80e"
  },
  "deploymentId" : 240000305
},
{
  "rolloutId" : "5fc94383418129005b4e9ae0",
  "factorPackIds" : {

  },
  "deploymentId" : 240000231
},
{
  "rolloutId" : "601d9415f79519000ccd4b69",
  "factorPackIds" : {
    "SIRI_TEXT_TO_SPEECH" : "620161cb295c182621eced20"
  },
  "deploymentId" : 240000389
},
{
  "rolloutId" : "5ffde50ce2aacd000d47a95f",
  "factorPackIds" : {

  },
  "deploymentId" : 240000106
}

],
"experiments" : [

]
}
}

Model: MacBookPro17,1, BootROM 7429.81.3, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Oct 26 2021 16:10:41 version 18.20.310.15.7.8.120 FWID 01-5d6c3867
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

@dahuigeniu
Copy link

goodproject

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants