MGLKitSampleApp_ios9.0 crashes on launch on device running iOS 10.x #61
Open
Description
ERR: initialize(609): ANGLE Display::initialize error 12289: Could not create the EAGL context.
ERR: initialize(609): ANGLE Display::initialize error 12289: Could not create the EAGL context.
INFO: insertMessage(462): EGL CRITICAL: eglInitialize: Could not create the EAGL context.
(lldb) bt
- thread uncaught exception 'CAMetalLayerInvalid', reason: 'invalid pixel format 70' #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
- frame #0: 0x002a6d00 MetalANGLE
(anonymous namespace)::Throw(msg="Failed To call eglInitialize()") at MGLDisplay.mm:13:5 frame #1: 0x002a6c4e MetalANGLE
-[EGLDisplayHolder init](self=0x1654dc20, _cmd="init") at MGLDisplay.mm:37:13
frame Compatibility with older iOS versions #2: 0x002a709e MetalANGLE-[MGLDisplay init](self=0x165510c0, _cmd="init") at MGLDisplay.mm:82:36 frame #3: 0x002a6f90 MetalANGLE
+[MGLDisplay defaultDisplay](self=MGLDisplay, _cmd="defaultDisplay") at MGLDisplay.mm:71:27
frame Implementing snapshot #4: 0x0033f6a8 MetalANGLE-[MGLLayer constructor](self=0x16551ea0, _cmd="constructor") at MGLLayer.mm:351:16 frame #5: 0x0033f444 MetalANGLE
-[MGLLayer init](self=0x16551ea0, _cmd="init") at MGLLayer.mm:330:9
frame Crash when changing device orientation on iOS #6: 0x200b3bb6 UIKit-[UIView _createLayerWithFrame:] + 138 frame #7: 0x200b3714 UIKit
UIViewCommonInitWithFrame + 850
frame Undefined symbols for OES suffixed #8: 0x20382b36 UIKit-[UIView initWithCoder:] + 458 frame #9: 0x00337372 MetalANGLE
-[MGLKView initWithCoder:](self=0x00000000, _cmd="initWithCoder:", coder=0x16881200) at MGLKView.mm:24:16
frame Mipmap generation using shader caused "Execution of the command buffer was aborted due to an error during execution.." on old iOS devices. #10: 0x205823ba UIKit-[UIClassSwapper initWithCoder:] + 218 frame #11: 0x206bc6ee UIKit
UINibDecoderDecodeObjectForValue + 834
frame Support any vertex offset, stride without data conversion by patching shaders at runtime. #12: 0x206bc3a4 UIKit-[UINibDecoder decodeObjectForKey:] + 82 frame #13: 0x205820d2 UIKit
-[UIRuntimeConnection initWithCoder:] + 160
frame Fix assumption that program input indices map to attrib indices #14: 0x206bc6ee UIKitUINibDecoderDecodeObjectForValue + 834 frame #15: 0x206bc646 UIKit
UINibDecoderDecodeObjectForValue + 666
frame MetalANGLE.framework first impressions #16: 0x206bc3a4 UIKit-[UINibDecoder decodeObjectForKey:] + 82 frame #17: 0x20581632 UIKit
-[UINib instantiateWithOwner:options:] + 1082
frame Add support for EGL_EXT_gl_colorspace_bt2020_pq #18: 0x203ffade UIKit-[UIViewController _loadViewFromNibNamed:bundle:] + 314 frame #19: 0x201deaba UIKit
-[UIViewController loadView] + 136
frame add gen/commit.h to gitignore #20: 0x200b1b9a UIKit-[UIViewController loadViewIfRequired] + 170 frame #21: 0x200b1ad8 UIKit
-[UIViewController view] + 22
frame Intermittent assertion failure in ProgramMtl::saveShaderInternalInfo #22: 0x200b805a UIKit-[UIWindow addRootViewControllerViewIfPossible] + 72 frame #23: 0x200b55ba UIKit
-[UIWindow _setHidden:forced:] + 286
frame Can I use original glbindbuffers interfaces to bind a hand-made framebuffer, instead of using the default framebuffer? #24: 0x20125158 UIKit-[UIWindow makeKeyAndVisible] + 42 frame #25: 0x20322b12 UIKit
-[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3906
frame Depth & stencil blit shader is not compiled on some Intel & NVIDIA GPUs. #26: 0x20327c1c UIKit-[UIApplication _runWithMainScene:transitionContext:completion:] + 1640 frame #27: 0x2033a7c4 UIKit
__84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke.3149 + 40
frame Crash on uniform location -1 with EGL_CONTEXT_OPENGL_NO_ERROR_KHR #28: 0x2032535a UIKit-[UIApplication workspaceDidEndTransaction:] + 142 frame #29: 0x1c760c12 FrontBoardServices
FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 18
frame Update .gitignore to avoid xcode user settings #30: 0x1c760acc FrontBoardServices-[FBSSerialQueue _performNext] + 220 frame #31: 0x1c760db6 FrontBoardServices
-[FBSSerialQueue _performNextFromRunLoopSource] + 44
frame OpenGL Es 3 #32: 0x1ae3bfdc CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12 frame #33: 0x1ae3bb04 CoreFoundation
__CFRunLoopDoSources0 + 424
frame Window contents scaled to half size on non-retina display #34: 0x1ae39f50 CoreFoundation__CFRunLoopRun + 1160 frame #35: 0x1ad8d1ae CoreFoundation
CFRunLoopRunSpecific + 470
frame error: 'function_constant' attribute requires Metal language standard macos-metal1.2 or higher #36: 0x1ad8cfd0 CoreFoundationCFRunLoopRunInMode + 104 frame #37: 0x2011ae2c UIKit
-[UIApplication _run] + 660
frame is it possible to create an Angle surface from an external Metal Layer #38: 0x20115a52 UIKitUIApplicationMain + 150 frame #39: 0x00031f12 MGLKitSampleApp_ios9.0
main(argc=1, argv=0x0029fa1c) at main.m:25:12
frame WIP: Create github's workflow actions #40: 0x1a57a4ea libdyld.dylib`start + 2
(lldb)
- frame #0: 0x002a6d00 MetalANGLE