-
Notifications
You must be signed in to change notification settings - Fork 95
Description
Hello there. I encountered this issue when I'm trying to call getCroppedSignature(). It didn't happen all the time but when it did, the app crashed (signal SIGBART). Compiler showed error in PencilKitSignatureView.swift, open func getCroppedSignature(), line 70.
Detailed information in console:
2022-10-18 14:09:29.706342+0800 XXXXXXXX[793:258910] [Unknown process name] CGBitmapContextInfoCreate: unable to allocate 84965440 bytes for bitmap data
-[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1580: failed assertion Set Render Pipeline State Validation For color attachment 0, the renderPipelineState pixelFormat must be MTLPixelFormatInvalid, as no texture is set. the pipelineState's per sample imageBlock usage(10) is greater than the encoder's perSample imageBlock usage(6) ' dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib -[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1580: failed assertion Set Render Pipeline State Validation
For color attachment 0, the renderPipelineState pixelFormat must be MTLPixelFormatInvalid, as no texture is set.
the pipelineState's per sample imageBlock usage(10) is greater than the encoder's perSample imageBlock usage(6)
I couldn't find any useful information online. Is there anyone who can help me with this issue??