We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug 表现 应用启动时,在-[QMUIConfiguration initDefaultConfiguration]方法调用boldSystemFontOfSize:时会出现exception。 堆栈信息 Thread 1 Queue : com.apple.main-thread (serial) #0 0x000000010b875441 in __cxa_throw () #1 0x00000001119be92e in TFileDescriptorContext::TFileDescriptorContext(char const*) () #2 0x00000001119e6444 in TFileDataReference::MapOrRead(char const*, int) () #3 0x00000001119be73e in TFileDataReference::TFileDataReference(char const*) () #4 0x00000001119be566 in TFileDataSurrogate::TFileDataSurrogate(char const*, bool) () #5 0x0000000111a0bb25 in TFont::CreateFontEntities(char const*, bool, bool&, short, char const*, bool) () #6 0x0000000111a0d3c9 in TFont::CreateFontEntitiesForFile(char const*, bool, bool, short, char const*) () #7 0x00000001119be000 in FPFontCreateFontsWithPath () #8 0x0000000106b3656c in create_private_data_array_with_path () #9 0x00000001067ad883 in CGFontCreateFontsWithPath () #10 0x0000000106817232 in CGFontCreateFontsWithURL () #11 0x00000001113f4eeb in AddFontsFromURLOrPath () #12 0x00000001113f8759 in __Initialize_block_invoke () #13 0x000000010b97fdb5 in _dispatch_client_callout () #14 0x000000010b98183d in dispatch_once_callout () #15 0x00000001113f494b in Initialize () #16 0x000000010a762698 in CALLING_SOME+initialize_METHOD () #17 0x000000010a762a2a in initializeNonMetaClass () #18 0x000000010a76354f in initializeAndMaybeRelock(objc_class*, objc_object*, mutex_tt&, bool) () #19 0x000000010a7693e2 in lookUpImpOrForward () #20 0x000000010a7770d4 in _objc_msgSend_uncached () #21 0x0000000108c89212 in -[QMUIConfiguration initDefaultConfiguration] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/QMUICore/QMUIConfiguration.m:245 #22 0x0000000108c87dc5 in -[QMUIConfiguration init] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/QMUICore/QMUIConfiguration.m:42 #23 0x0000000108c87d69 in __35+[QMUIConfiguration sharedInstance]_block_invoke at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/QMUICore/QMUIConfiguration.m:34 #24 0x000000010b97fdb5 in _dispatch_client_callout () #25 0x000000010b98183d in _dispatch_once_callout () #26 0x0000000108c87d3d in _dispatch_once [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/dispatch/once.h:84 #27 0x0000000108c87d2a in +[QMUIConfiguration sharedInstance] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/QMUICore/QMUIConfiguration.m:33 #28 0x0000000108d3e6fc in -[UIView(QMUI_Border) setDefaultStyle] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/UIKitExtensions/UIView+QMUI.m:608 #29 0x0000000108d3cb8d in -[UIView(QMUI_Border) QMUIBorder_initWithFrame:] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/UIKitExtensions/UIView+QMUI.m:448 #30 0x000000010eabf2a9 in -[UIStatusBar_Base _initWithFrame:showForegroundView:inProcessStateProvider:] () #31 0x000000010eac14f1 in -[UIStatusBar_Modern _initWithFrame:showForegroundView:inProcessStateProvider:] () #32 0x000000010eabf499 in -[UIStatusBar_Base initWithFrame:showForegroundView:inProcessStateProvider:] () #33 0x000000010eabf532 in -[UIStatusBar_Base initWithFrame:showForegroundView:] () #34 0x000000010eabf564 in -[UIStatusBar_Base initWithFrame:] () #35 0x000000010e931385 in -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:] () #36 0x000000010e92de1d in -[UIApplication _runWithMainScene:transitionContext:completion:] () #37 0x000000010e1736d6 in __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke () #38 0x000000010e17bfce in +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] () #39 0x000000010e1732ec in -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] () #40 0x000000010e173c48 in -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] () #41 0x000000010e171fba in __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke () #42 0x000000010e171c71 in -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] () #43 0x000000010e1769b6 in __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke () #44 0x000000010e177610 in _performActionsWithDelayForTransitionContext () #45 0x000000010e17671d in -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] () #46 0x000000010e17b6d0 in -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] () #47 0x000000010e92c9a8 in -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] () #48 0x000000010e4e3dfa in -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] () #49 0x000000011448f125 in -[FBSSceneImpl _didCreateWithTransitionContext:completion:] () #50 0x0000000114498ed6 in __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 () #51 0x0000000114498700 in __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke () #52 0x000000010b97fdb5 in _dispatch_client_callout () #53 0x000000010b9832ba in _dispatch_block_invoke_direct () #54 0x00000001144ca146 in FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK () #55 0x00000001144c9dfe in -[FBSSerialQueue _performNext] () #56 0x00000001144ca393 in -[FBSSerialQueue _performNextFromRunLoopSource] () #57 0x000000010629dbe1 in CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION () #58 0x000000010629d463 in __CFRunLoopDoSources0 () #59 0x0000000106297b1f in __CFRunLoopRun () #60 0x0000000106297302 in CFRunLoopRunSpecific () #61 0x00000001113fd2fe in GSEventRunModal () #62 0x000000010e92fba2 in UIApplicationMain () #63 0x0000000102869b72 in main at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/xxxxx/Support Files/main.m:14 #64 0x000000010b9f4541 in start () #65 0x000000010b9f4541 in start ()
截图
其他信息
The text was updated successfully, but these errors were encountered:
无法重现,这个与 QMUI 无关,可以参考这个搜索结果里的第一条。若仍有问题,请重新打开 issue 并提供 Demo。
Sorry, something went wrong.
No branches or pull requests
Bug 表现
应用启动时,在-[QMUIConfiguration initDefaultConfiguration]方法调用boldSystemFontOfSize:时会出现exception。
堆栈信息
Thread 1 Queue : com.apple.main-thread (serial)
#0 0x000000010b875441 in __cxa_throw ()
#1 0x00000001119be92e in TFileDescriptorContext::TFileDescriptorContext(char const*) ()
#2 0x00000001119e6444 in TFileDataReference::MapOrRead(char const*, int) ()
#3 0x00000001119be73e in TFileDataReference::TFileDataReference(char const*) ()
#4 0x00000001119be566 in TFileDataSurrogate::TFileDataSurrogate(char const*, bool) ()
#5 0x0000000111a0bb25 in TFont::CreateFontEntities(char const*, bool, bool&, short, char const*, bool) ()
#6 0x0000000111a0d3c9 in TFont::CreateFontEntitiesForFile(char const*, bool, bool, short, char const*) ()
#7 0x00000001119be000 in FPFontCreateFontsWithPath ()
#8 0x0000000106b3656c in create_private_data_array_with_path ()
#9 0x00000001067ad883 in CGFontCreateFontsWithPath ()
#10 0x0000000106817232 in CGFontCreateFontsWithURL ()
#11 0x00000001113f4eeb in AddFontsFromURLOrPath ()
#12 0x00000001113f8759 in __Initialize_block_invoke ()
#13 0x000000010b97fdb5 in _dispatch_client_callout ()
#14 0x000000010b98183d in dispatch_once_callout ()
#15 0x00000001113f494b in Initialize ()
#16 0x000000010a762698 in CALLING_SOME+initialize_METHOD ()
#17 0x000000010a762a2a in initializeNonMetaClass ()
#18 0x000000010a76354f in initializeAndMaybeRelock(objc_class*, objc_object*, mutex_tt&, bool) ()
#19 0x000000010a7693e2 in lookUpImpOrForward ()
#20 0x000000010a7770d4 in _objc_msgSend_uncached ()
#21 0x0000000108c89212 in -[QMUIConfiguration initDefaultConfiguration] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/QMUICore/QMUIConfiguration.m:245
#22 0x0000000108c87dc5 in -[QMUIConfiguration init] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/QMUICore/QMUIConfiguration.m:42
#23 0x0000000108c87d69 in __35+[QMUIConfiguration sharedInstance]_block_invoke at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/QMUICore/QMUIConfiguration.m:34
#24 0x000000010b97fdb5 in _dispatch_client_callout ()
#25 0x000000010b98183d in _dispatch_once_callout ()
#26 0x0000000108c87d3d in _dispatch_once [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/dispatch/once.h:84
#27 0x0000000108c87d2a in +[QMUIConfiguration sharedInstance] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/QMUICore/QMUIConfiguration.m:33
#28 0x0000000108d3e6fc in -[UIView(QMUI_Border) setDefaultStyle] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/UIKitExtensions/UIView+QMUI.m:608
#29 0x0000000108d3cb8d in -[UIView(QMUI_Border) QMUIBorder_initWithFrame:] at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/Pods/_Prebuild/QMUIKit/QMUIKit/UIKitExtensions/UIView+QMUI.m:448
#30 0x000000010eabf2a9 in -[UIStatusBar_Base _initWithFrame:showForegroundView:inProcessStateProvider:] ()
#31 0x000000010eac14f1 in -[UIStatusBar_Modern _initWithFrame:showForegroundView:inProcessStateProvider:] ()
#32 0x000000010eabf499 in -[UIStatusBar_Base initWithFrame:showForegroundView:inProcessStateProvider:] ()
#33 0x000000010eabf532 in -[UIStatusBar_Base initWithFrame:showForegroundView:] ()
#34 0x000000010eabf564 in -[UIStatusBar_Base initWithFrame:] ()
#35 0x000000010e931385 in -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:] ()
#36 0x000000010e92de1d in -[UIApplication _runWithMainScene:transitionContext:completion:] ()
#37 0x000000010e1736d6 in __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke ()
#38 0x000000010e17bfce in +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] ()
#39 0x000000010e1732ec in -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] ()
#40 0x000000010e173c48 in -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] ()
#41 0x000000010e171fba in __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke ()
#42 0x000000010e171c71 in -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] ()
#43 0x000000010e1769b6 in __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke ()
#44 0x000000010e177610 in _performActionsWithDelayForTransitionContext ()
#45 0x000000010e17671d in -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] ()
#46 0x000000010e17b6d0 in -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] ()
#47 0x000000010e92c9a8 in -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] ()
#48 0x000000010e4e3dfa in -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] ()
#49 0x000000011448f125 in -[FBSSceneImpl _didCreateWithTransitionContext:completion:] ()
#50 0x0000000114498ed6 in __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 ()
#51 0x0000000114498700 in __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke ()
#52 0x000000010b97fdb5 in _dispatch_client_callout ()
#53 0x000000010b9832ba in _dispatch_block_invoke_direct ()
#54 0x00000001144ca146 in FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK ()
#55 0x00000001144c9dfe in -[FBSSerialQueue _performNext] ()
#56 0x00000001144ca393 in -[FBSSerialQueue _performNextFromRunLoopSource] ()
#57 0x000000010629dbe1 in CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION ()
#58 0x000000010629d463 in __CFRunLoopDoSources0 ()
#59 0x0000000106297b1f in __CFRunLoopRun ()
#60 0x0000000106297302 in CFRunLoopRunSpecific ()
#61 0x00000001113fd2fe in GSEventRunModal ()
#62 0x000000010e92fba2 in UIApplicationMain ()
#63 0x0000000102869b72 in main at /Users/Bran/Work/xxxxx/CodeSource/xxxxx/xxxxx/xxxxx/Support Files/main.m:14
#64 0x000000010b9f4541 in start ()
#65 0x000000010b9f4541 in start ()
截图
其他信息
The text was updated successfully, but these errors were encountered: