Skip to content
New issue

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

Crash on preview dismissal #100

Open
L1ghtmann opened this issue Dec 12, 2023 · 4 comments
Open

Crash on preview dismissal #100

L1ghtmann opened this issue Dec 12, 2023 · 4 comments

Comments

@L1ghtmann
Copy link

After opening the font or theme preview panes in the app's settings and attempting to dismiss the pane with a swipe down, the app crashes. Same crash for both. Details:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000010226c2ec
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [689]

Triggered by Thread:  0

Kernel Triage:
VM - Fault hit memory shortage
VM - Fault hit memory shortage
VM - Fault hit memory shortage
VM - Fault hit memory shortage
VM - Fault hit memory shortage


Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   NewTerm                       	       0x10226c2ec 0x102240000 + 180972
1   NewTerm                       	       0x10226c278 0x102240000 + 180856
2   NewTerm                       	       0x10231b354 0x102240000 + 897876
3   SwiftUI                       	       0x188f47b6c partial apply for closure #3 in ValueActionDispatcher.updateValue() + 56
4   SwiftUI                       	       0x18867a460 thunk for @escaping @callee_guaranteed () -> () + 20
5   SwiftUI                       	       0x1885a04e4 closure #1 in ViewRendererHost.render(interval:updateDisplayList:) + 2336
6   SwiftUI                       	       0x18864ce98 ViewRendererHost.render(interval:updateDisplayList:) + 364
7   SwiftUI                       	       0x1885b0be8 _UIHostingView.layoutSubviews() + 248
8   SwiftUI                       	       0x1885b411c @objc _UIHostingView.layoutSubviews() + 24
9   UIKitCore                     	       0x1833d4738 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2556
10  QuartzCore                    	       0x184a51edc CA::Layer::layout_if_needed(CA::Transaction*) + 528
11  UIKitCore                     	       0x183435dec -[UIView(Hierarchy) layoutBelowIfNeeded] + 556
12  UIKitCore                     	       0x1835ade18 -[UISheetPresentationController _sheetLayoutInfoLayout:] + 48
13  UIKitCore                     	       0x18354bc88 -[_UISheetLayoutInfo _layout] + 332
14  UIKitCore                     	       0x1833bb938 +[UIView(Animation) performWithoutAnimation:] + 96
15  UIKitCore                     	       0x183752094 -[UISheetPresentationController _handleKeyboardNotification:aboutToHide:] + 192
16  UIKitCore                     	       0x183813e60 -[UISheetPresentationController _keyboardAboutToShow:] + 176
17  CoreFoundation                	       0x180f4dcc8 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
18  CoreFoundation                	       0x180fe32d4 ___CFXRegistrationPost_block_invoke + 48
19  CoreFoundation                	       0x180fb85f4 _CFXRegistrationPost + 416
20  CoreFoundation                	       0x180f62a50 _CFXNotificationPost + 708
21  Foundation                    	       0x18264e00c -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
22  UIKitCore                     	       0x1836c2da8 __68-[UIInputWindowController postValidatedStartNotifications:withInfo:]_block_invoke + 1208
23  UIKitCore                     	       0x1836cf1b0 -[UIInputWindowController postValidatedStartNotifications:withInfo:] + 164
24  UIKitCore                     	       0x183ef65b8 __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.985 + 660
25  UIKitCore                     	       0x1836938d8 +[UIView(UIViewAnimationWithBlocksPrivate) _modifyAnimationsWithPreferredFrameRateRange:updateReason:animations:] + 168
26  UIKitCore                     	       0x1833cd690 +[UIView _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 600
27  UIKitCore                     	       0x1837b0890 -[UIInputViewAnimationStyle launchAnimation:afterStarted:completion:forHost:fromCurrentPosition:] + 224
28  UIKitCore                     	       0x183749928 -[_UIViewControllerKeyboardAnimationStyle _launchAnimation:afterStarted:completion:forHost:fromCurrentPosition:] + 476
29  UIKitCore                     	       0x183317ed0 +[UIView(Animation) _performWithAnimation:] + 96
30  UIKitCore                     	       0x183317e20 -[_UIViewControllerKeyboardAnimationStyle launchAnimation:afterStarted:completion:forHost:fromCurrentPosition:] + 148
31  UIKitCore                     	       0x1836d08b4 -[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:] + 2020
32  UIKitCore                     	       0x1836f26e8 -[UIInputWindowController setInputViewSet:] + 1644
33  UIKitCore                     	       0x183687e3c -[UIInputWindowController performOperations:withAnimationStyle:] + 52
34  UIKitCore                     	       0x183664fc0 -[UIKeyboardSceneDelegate setKeyWindowSceneInputViews:animationStyle:] + 2392
35  UIKitCore                     	       0x1836f7e00 -[UIKeyboardSceneDelegate setInputViews:animationStyle:] + 252
36  UIKitCore                     	       0x18346448c -[UIKeyboardSceneDelegate setInputViews:animated:] + 96
37  UIKitCore                     	       0x18351dff4 -[UIKeyboardSceneDelegate setInputViews:] + 76
38  UIKitCore                     	       0x18389caec -[UIKeyboardSceneDelegate _restoreInputViewsWithId:animated:] + 1312
39  UIKitCore                     	       0x18372df64 -[UIViewController _restoreInputViewsForPresentation] + 504
40  UIKitCore                     	       0x1834ffc0c __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 56
41  UIKitCore                     	       0x1835644cc -[_UIAfterCACommitBlock run] + 64
42  UIKitCore                     	       0x18347fb8c -[_UIAfterCACommitQueue flush] + 200
43  UIKitCore                     	       0x1833ae518 _runAfterCACommitDeferredBlocks + 640
44  UIKitCore                     	       0x1833aebe4 _cleanUpAfterCAFlushAndRunDeferredBlocks + 128
45  UIKitCore                     	       0x1833aedb0 _afterCACommitHandler + 56
46  CoreFoundation                	       0x180f6321c __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
47  CoreFoundation                	       0x180f34454 __CFRunLoopDoObservers + 616
48  CoreFoundation                	       0x180f2f9dc __CFRunLoopRun + 1012
49  CoreFoundation                	       0x180f42c30 CFRunLoopRunSpecific + 572
50  GraphicsServices              	       0x1a195d988 GSEventRunModal + 160
51  UIKitCore                     	       0x18373dc50 -[UIApplication _run] + 1080
52  UIKitCore                     	       0x1834d73d0 UIApplicationMain + 336
53  NewTerm                       	       0x102247f0c 0x102240000 + 32524
54  dyld                          	       0x1027d03d0 start + 444

iP7 15.4.1 palera1n

@iAdam1n
Copy link
Member

iAdam1n commented Dec 12, 2023

Which version of NewTerm is this?

@L1ghtmann
Copy link
Author

L1ghtmann commented Dec 12, 2023

Latest NewTerm3

@iAdam1n
Copy link
Member

iAdam1n commented Dec 12, 2023

NewTerm 3 beta?

@L1ghtmann
Copy link
Author

Yes. Sorry, edited right as you commented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants