You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App crashing when the popup manager is attached to UIBarButtonItem in the navigation bar. The menu click then loads the corresponding screens on the navigation stack. The first 2-3 times successful transition takes place, however when coming back to the base screen causes the crash. And the AppDelegate.swift shows the crash showing signal SIGABRT.
Pasting below the backtrace:
thread GitBook: [master] one page modified #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x0000000110460eb6 libsystem_kernel.dylib__abort_with_payload + 10 frame #1: 0x000000011045b2b8 libsystem_kernel.dylibabort_with_payload_wrapper_internal + 89
frame V1.0.0 Pod changes #2: 0x000000011045b25f libsystem_kernel.dylibabort_with_reason + 22 frame #3: 0x000000010cbde1f5 libobjc.A.dylib_objc_fatalv(unsigned long long, unsigned long long, char const*, __va_list_tag*) + 108
frame Merge pull request #3 from CaliCastle/master #4: 0x000000010cbde11e libobjc.A.dylib_objc_fatal(char const*, ...) + 127 frame #5: 0x000000010cbe6409 libobjc.A.dyliblookUpImpOrForward + 645
frame Add separator for each action item #6: 0x000000010cbf3814 libobjc.A.dylib_objc_msgSend_uncached + 68 frame #7: 0x0000000117633c5c UIKitCore-[_UIButtonBarItemLayout initWithLayoutMetrics:barButtonItem:] + 148
frame [UI Enhancement] iconImageView renderingMode configurable to alwaysOriginal #8: 0x0000000117635c82 UIKitCore-[_UIButtonBarItemGroupLayout _newLayoutForBarButtonItem:useGroupSizing:] + 255 frame #9: 0x0000000117636003 UIKitCore-[_UIButtonBarItemGroupLayout _configure] + 816
frame Content scrollable #10: 0x0000000117632e8c UIKitCore-[_UIButtonBarLayout configure] + 60 frame #11: 0x0000000117632f27 UIKitCore-[_UIButtonBarLayout addLayoutViews:layoutGuides:constraintsToActivate:constraintsToDeactivate:] + 95
frame Not support landscape #12: 0x0000000116e0d778 UIKitCore-[_UIButtonBar _layoutBar] + 1869 frame #13: 0x0000000116e10218 UIKitCore-[_UIButtonBarStackView updateConstraints] + 48
frame How Can I set the menu offset the sourceView #14: 0x0000000116c86254 UIKitCore-[UIView(AdditionalLayoutSupport) _sendUpdateConstraintsIfNecessaryForSecondPass:] + 161 frame #15: 0x0000000116c86829 UIKitCore-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 1245
frame App crash on hooking popup manager with UIBarButtonItem in navigation bar #16: 0x0000000116c866ad UIKitCore-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 865 frame #17: 0x000000010c7ec55a Foundation-[NSISEngine withBehaviors:performModifications:] + 110
frame How to use PopMenu with TableView #18: 0x0000000116c87046 UIKitCore__100-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]_block_invoke + 85 frame #19: 0x0000000116c85876 UIKitCore-[UIView(AdditionalLayoutSupport) _withUnsatisfiableConstraintsLoggingSuspendedIfEngineDelegateExists:] + 104
frame Customization on highlight color #20: 0x0000000116c86bce UIKitCore-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:] + 155 frame #21: 0x0000000116c87c82 UIKitCore-[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeededWithViewForVariableChangeNotifications:] + 374
frame Not Appstore safe? #22: 0x00000001174a27a5 UIKitCore-[UIView(Hierarchy) layoutBelowIfNeeded] + 1094 frame #23: 0x000000011775ca95 UIKitCore-[_UINavigationBarContentView recordToStateForTransition:] + 55
frame can't set PopMenuActionColor #24: 0x000000011776d199 UIKitCore-[_UINavigationBarTransitionContext recordUpdates:] + 168 frame #25: 0x00000001177954eb UIKitCore-[_UINavigationBarVisualProviderModernIOS _performAnimationWithTransitionCompletion:transition:] + 644
frame Can support putting image on the right? #26: 0x000000011705e381 UIKitCore-[UINavigationBar _popNavigationItemWithTransitionAssistant:] + 215 frame #27: 0x000000011705e00b UIKitCore-[UINavigationBar _popNavigationItemWithTransition:] + 447
frame Ajust cell width and text alignment #28: 0x000000011705dd8a UIKitCore-[UINavigationBar popNavigationItemAnimated:] + 169 frame #29: 0x0000000117796fec UIKitCore-[_UINavigationBarVisualProviderModernIOS navigationBarContentViewDidTriggerBackAction:fromBackButtonItem:] + 259
frame Objective-C Compatible? #30: 0x000000011775803b UIKitCore-[_UINavigationBarContentView __backButtonAction:] + 58 frame #31: 0x0000000116da07c3 UIKitCore-[UIApplication sendAction:to:from:forEvent:] + 83
frame Change action title text on select? #32: 0x0000000116ed8e85 UIKitCore-[UIControl sendAction:to:forEvent:] + 67 frame #33: 0x0000000116ed91a2 UIKitCore-[UIControl _sendActionsForEvents:withEvent:] + 450
frame 视图边缘尖尖,iOS9 #34: 0x0000000116ed9316 UIKitCore-[UIControl _sendActionsForEvents:withEvent:] + 822 frame #35: 0x0000000116ed80e6 UIKitCore-[UIControl touchesEnded:withEvent:] + 583
frame 这么好看的库为什么不支持Objective-C 呀? #36: 0x00000001175b3334 UIKitCore-[UIWindow _sendTouchesForEvent:] + 2729 frame #37: 0x00000001175b4a30 UIKitCore-[UIWindow sendEvent:] + 4080
frame Feature Request: Music App Style TouchDown+Pan #38: 0x0000000116dbae10 UIKitCore-[UIApplication sendEvent:] + 352 frame #39: 0x0000000116cf30d0 UIKitCore__dispatchPreprocessedEventFromEventQueue + 3024
frame Fix size of preview #40: 0x0000000116cf5cf2 UIKitCore__handleEventQueueInternal + 5948 frame #41: 0x000000010da1fb31 CoreFoundationCFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
frame Customize location #42: 0x000000010da1f3a3 CoreFoundation__CFRunLoopDoSources0 + 243 frame #43: 0x000000010da19a4f CoreFoundation__CFRunLoopRun + 1263
frame How can I use Popup Menu multiple times in the same view. #44: 0x000000010da19221 CoreFoundationCFRunLoopRunSpecific + 625 frame #45: 0x00000001149ed1dd GraphicsServicesGSEventRunModal + 62
frame Supported swift 5 + Xcode 10.3. #46: 0x0000000116d9f115 UIKitCore`UIApplicationMain + 140
frame Hope a Objective-C version #47: 0x000000010b2c72e4 iOS-Sectonamain at AppDelegate.swift:14 frame #48: 0x0000000110122551 libdyld.dylibstart + 1
💻 Environment
iOS Version: iOS 12, Swift 4
Xcode Version: v10.0
Device(s): iPhone 6s
Simulator?: [YES]
The text was updated successfully, but these errors were encountered:
Tested several times, no crashes whatsoever on my end here, would you provide your code so I can investigate further? (that is if this is still a valid issue) closing for now
✔️ Issue Checklist
✍🏻 Issue Description
App crashing when the popup manager is attached to UIBarButtonItem in the navigation bar. The menu click then loads the corresponding screens on the navigation stack. The first 2-3 times successful transition takes place, however when coming back to the base screen causes the crash. And the AppDelegate.swift shows the crash showing signal SIGABRT.
Pasting below the backtrace:

frame #0: 0x0000000110460eb6 libsystem_kernel.dylib
__abort_with_payload + 10 frame #1: 0x000000011045b2b8 libsystem_kernel.dylib
abort_with_payload_wrapper_internal + 89frame V1.0.0 Pod changes #2: 0x000000011045b25f libsystem_kernel.dylib
abort_with_reason + 22 frame #3: 0x000000010cbde1f5 libobjc.A.dylib
_objc_fatalv(unsigned long long, unsigned long long, char const*, __va_list_tag*) + 108frame Merge pull request #3 from CaliCastle/master #4: 0x000000010cbde11e libobjc.A.dylib
_objc_fatal(char const*, ...) + 127 frame #5: 0x000000010cbe6409 libobjc.A.dylib
lookUpImpOrForward + 645frame Add separator for each action item #6: 0x000000010cbf3814 libobjc.A.dylib
_objc_msgSend_uncached + 68 frame #7: 0x0000000117633c5c UIKitCore
-[_UIButtonBarItemLayout initWithLayoutMetrics:barButtonItem:] + 148frame [UI Enhancement] iconImageView renderingMode configurable to alwaysOriginal #8: 0x0000000117635c82 UIKitCore
-[_UIButtonBarItemGroupLayout _newLayoutForBarButtonItem:useGroupSizing:] + 255 frame #9: 0x0000000117636003 UIKitCore
-[_UIButtonBarItemGroupLayout _configure] + 816frame Content scrollable #10: 0x0000000117632e8c UIKitCore
-[_UIButtonBarLayout configure] + 60 frame #11: 0x0000000117632f27 UIKitCore
-[_UIButtonBarLayout addLayoutViews:layoutGuides:constraintsToActivate:constraintsToDeactivate:] + 95frame Not support landscape #12: 0x0000000116e0d778 UIKitCore
-[_UIButtonBar _layoutBar] + 1869 frame #13: 0x0000000116e10218 UIKitCore
-[_UIButtonBarStackView updateConstraints] + 48frame How Can I set the menu offset the sourceView #14: 0x0000000116c86254 UIKitCore
-[UIView(AdditionalLayoutSupport) _sendUpdateConstraintsIfNecessaryForSecondPass:] + 161 frame #15: 0x0000000116c86829 UIKitCore
-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 1245frame App crash on hooking popup manager with UIBarButtonItem in navigation bar #16: 0x0000000116c866ad UIKitCore
-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 865 frame #17: 0x000000010c7ec55a Foundation
-[NSISEngine withBehaviors:performModifications:] + 110frame How to use PopMenu with TableView #18: 0x0000000116c87046 UIKitCore
__100-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]_block_invoke + 85 frame #19: 0x0000000116c85876 UIKitCore
-[UIView(AdditionalLayoutSupport) _withUnsatisfiableConstraintsLoggingSuspendedIfEngineDelegateExists:] + 104frame Customization on highlight color #20: 0x0000000116c86bce UIKitCore
-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:] + 155 frame #21: 0x0000000116c87c82 UIKitCore
-[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeededWithViewForVariableChangeNotifications:] + 374frame Not Appstore safe? #22: 0x00000001174a27a5 UIKitCore
-[UIView(Hierarchy) layoutBelowIfNeeded] + 1094 frame #23: 0x000000011775ca95 UIKitCore
-[_UINavigationBarContentView recordToStateForTransition:] + 55frame can't set PopMenuActionColor #24: 0x000000011776d199 UIKitCore
-[_UINavigationBarTransitionContext recordUpdates:] + 168 frame #25: 0x00000001177954eb UIKitCore
-[_UINavigationBarVisualProviderModernIOS _performAnimationWithTransitionCompletion:transition:] + 644frame Can support putting image on the right? #26: 0x000000011705e381 UIKitCore
-[UINavigationBar _popNavigationItemWithTransitionAssistant:] + 215 frame #27: 0x000000011705e00b UIKitCore
-[UINavigationBar _popNavigationItemWithTransition:] + 447frame Ajust cell width and text alignment #28: 0x000000011705dd8a UIKitCore
-[UINavigationBar popNavigationItemAnimated:] + 169 frame #29: 0x0000000117796fec UIKitCore
-[_UINavigationBarVisualProviderModernIOS navigationBarContentViewDidTriggerBackAction:fromBackButtonItem:] + 259frame Objective-C Compatible? #30: 0x000000011775803b UIKitCore
-[_UINavigationBarContentView __backButtonAction:] + 58 frame #31: 0x0000000116da07c3 UIKitCore
-[UIApplication sendAction:to:from:forEvent:] + 83frame Change action title text on select? #32: 0x0000000116ed8e85 UIKitCore
-[UIControl sendAction:to:forEvent:] + 67 frame #33: 0x0000000116ed91a2 UIKitCore
-[UIControl _sendActionsForEvents:withEvent:] + 450frame 视图边缘尖尖,iOS9 #34: 0x0000000116ed9316 UIKitCore
-[UIControl _sendActionsForEvents:withEvent:] + 822 frame #35: 0x0000000116ed80e6 UIKitCore
-[UIControl touchesEnded:withEvent:] + 583frame 这么好看的库为什么不支持Objective-C 呀? #36: 0x00000001175b3334 UIKitCore
-[UIWindow _sendTouchesForEvent:] + 2729 frame #37: 0x00000001175b4a30 UIKitCore
-[UIWindow sendEvent:] + 4080frame Feature Request: Music App Style TouchDown+Pan #38: 0x0000000116dbae10 UIKitCore
-[UIApplication sendEvent:] + 352 frame #39: 0x0000000116cf30d0 UIKitCore
__dispatchPreprocessedEventFromEventQueue + 3024frame Fix size of preview #40: 0x0000000116cf5cf2 UIKitCore
__handleEventQueueInternal + 5948 frame #41: 0x000000010da1fb31 CoreFoundation
CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17frame Customize location #42: 0x000000010da1f3a3 CoreFoundation
__CFRunLoopDoSources0 + 243 frame #43: 0x000000010da19a4f CoreFoundation
__CFRunLoopRun + 1263frame How can I use Popup Menu multiple times in the same view. #44: 0x000000010da19221 CoreFoundation
CFRunLoopRunSpecific + 625 frame #45: 0x00000001149ed1dd GraphicsServices
GSEventRunModal + 62frame Supported swift 5 + Xcode 10.3. #46: 0x0000000116d9f115 UIKitCore`UIApplicationMain + 140
main at AppDelegate.swift:14 frame #48: 0x0000000110122551 libdyld.dylib
start + 1💻 Environment
The text was updated successfully, but these errors were encountered: