Post

Replies

Boosts

Views

Activity

[OpenGL] [Crash] Temp image allocation failed !!
while i'm using opengl interface 'glReadPixels', i got the error: failed assertion temp_buffer != nil at line 507 in readFramebufferData. Temp image allocation failed. w=720, h =1280, rowbytes=2880, pixelbytes=4 glrFmt=0x024 mtex=0x283d16100 then my app crashed. backtrace as below thread #78, queue = 'com.apple.root.user-initiated-qos', stop reason = signal SIGABRT frame #0: 0x00000001f843e158 libsystem_kernel.dylib__pthread_kill + 8 frame #1: 0x00000002078845f8 libsystem_pthread.dylibpthread_kill + 208 frame #2: 0x00000001c4a344b8 libsystem_c.dylibabort + 124 frame #3: 0x00000001b89168b0 MetalMTLReleaseAssertionFailure + 184 frame #4: 0x000000023fd7e87c AppleMetalGLRenderergldReadFramebufferData + 1372 frame #5: 0x000000022cbe54ec GLEngineglReadPixels_Exec + 1108 i've no idea what happened
0
0
843
Jun ’23
[OpenGL] [Crash] Temp image allocation failed !!
while i'm using opengl interface 'glReadPixels', i got the error: failed assertion temp_buffer != nil at line 507 in readFramebufferData. Temp image allocation failed. w=720, h =1280, rowbytes=2880, pixelbytes=4 glrFmt=0x024 mtex=0x283d16100 then my app crashed. backtrace as below thread #78, queue = 'com.apple.root.user-initiated-qos', stop reason = signal SIGABRT frame #0: 0x00000001f843e158 libsystem_kernel.dylib__pthread_kill + 8 frame #1: 0x00000002078845f8 libsystem_pthread.dylibpthread_kill + 208 frame #2: 0x00000001c4a344b8 libsystem_c.dylibabort + 124 frame #3: 0x00000001b89168b0 MetalMTLReleaseAssertionFailure + 184 frame #4: 0x000000023fd7e87c AppleMetalGLRenderergldReadFramebufferData + 1372 frame #5: 0x000000022cbe54ec GLEngineglReadPixels_Exec + 1108 i've no idea what happened
Replies
0
Boosts
0
Views
843
Activity
Jun ’23