Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

MarkEdit crashes on Catalina #9

Open
cooljeanius opened this issue Dec 8, 2020 · 2 comments
Open

MarkEdit crashes on Catalina #9

cooljeanius opened this issue Dec 8, 2020 · 2 comments

Comments

@cooljeanius
Copy link

To reproduce, open any markdown file with content in it and then try editing it with MarkEdit. After a few keypresses MarkEdit will eventually crash. Here is an example backtrace from the crash dialog:

Exception Name: NSInvalidArgumentException
Description: -[OGRegularExpression type]: unrecognized selector sent to instance 0x60000174f240
User Info: (null)

0   CoreFoundation                      0x00007fff3697fb57 __exceptionPreprocess + 250
1   libobjc.A.dylib                     0x00007fff6f7cb5bf objc_exception_throw + 48
2   CoreFoundation                      0x00007fff369febe7 -[NSObject(NSObject) __retain_OA] + 0
3   CoreFoundation                      0x00007fff368e43bb ___forwarding___ + 1427
4   CoreFoundation                      0x00007fff368e3d98 _CF_forwarding_prep_0 + 120
5   MarkEdit                            0x000000010000402e -[MarkdownDelegate popParagraphBlocks:] + 109
6   MarkEdit                            0x0000000100006535 -[MarkdownDelegate textStorageDidProcessEditing:] + 1540
7   CoreFoundation                      0x00007fff368f980f __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
8   CoreFoundation                      0x00007fff368f97a3 ___CFXRegistrationPost1_block_invoke + 63
9   CoreFoundation                      0x00007fff368f9718 _CFXRegistrationPost1 + 372
10  CoreFoundation                      0x00007fff368f9384 ___CFXNotificationPost_block_invoke + 80
11  CoreFoundation                      0x00007fff368c94fd -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1554
12  CoreFoundation                      0x00007fff368c89a9 _CFXNotificationPost + 1351
13  Foundation                          0x00007fff38f46786 -[NSNotificationCenter postNotificationName:object:userInfo:] + 59
14  UIFoundation                        0x00007fff679c8d93 -[NSTextStorage processEditing] + 221
15  UIFoundation                        0x00007fff679d6078 -[NSTextStorage endEditing] + 134
16  AppKit                              0x00007fff33dc20d2 -[NSTextView _insertText:replacementRange:] + 2622
17  AppKit                              0x00007fff33fa06db -[NSTextView(NSKeyBindingCommands) insertNewline:] + 493
18  AppKit                              0x00007fff33eadb14 -[NSTextView doCommandBySelector:] + 217
19  AppKit                              0x00007fff33eada11 -[NSTextInputContext(NSInputContext_WithCompletion) doCommandBySelector:completionHandler:] + 244
20  AppKit                              0x00007fff33dbee76 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 2131
21  AppKit                              0x00007fff33dc8678 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_5 + 534
22  AppKit                              0x00007fff34521ded __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.813 + 74
23  AppKit                              0x00007fff33dc843d -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 87
24  AppKit                              0x00007fff34521d73 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke.810 + 237
25  HIToolbox                           0x00007fff355677a8 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 70
26  HIToolbox                           0x00007fff355796e4 ___ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec_block_invoke + 110
27  AppKit                              0x00007fff3451d346 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.282 + 885
28  AppKit                              0x00007fff33dc0c0c __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 74
29  AppKit                              0x00007fff33dc0b8f -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 87
30  AppKit                              0x00007fff33dc0197 -[NSTextInputContext handleTSMEvent:completionHandler:] + 1794
31  AppKit                              0x00007fff33dbfa25 _NSTSMEventHandler + 299
32  HIToolbox                           0x00007fff355078ff _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1254
33  HIToolbox                           0x00007fff35506d8d _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 329
34  HIToolbox                           0x00007fff35506c3d SendEventToEventTargetWithOptions + 45
35  HIToolbox                           0x00007fff3556392b SendTSMEvent_WithCompletionHandler + 381
36  HIToolbox                           0x00007fff35563dd5 __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 387
37  HIToolbox                           0x00007fff35563c2d __SendFilterTextEvent_WithCompletionHandler_block_invoke + 182
38  HIToolbox                           0x00007fff3556397a SendTSMEvent_WithCompletionHandler + 460
39  HIToolbox                           0x00007fff35563781 SendFilterTextEvent_WithCompletionHandler + 225
40  HIToolbox                           0x00007fff3556344b SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 277
41  HIToolbox                           0x00007fff355631f8 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 281
42  HIToolbox                           0x00007fff35563058 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 355
43  HIToolbox                           0x00007fff35562ec6 TSMKeyEvent_WithCompletionHandler + 644
44  HIToolbox                           0x00007fff35562c27 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 250
45  HIToolbox                           0x00007fff35562aa6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 257
46  HIToolbox                           0x00007fff35562872 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 282
47  HIToolbox                           0x00007fff35562625 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 274
48  HIToolbox                           0x00007fff3555115d TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3403
49  AppKit                              0x00007fff34521c71 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.808 + 110
50  AppKit                              0x00007fff345219c3 __204-[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:]_block_invoke.765 + 120
51  AppKit                              0x00007fff33dbe4df -[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:] + 245
52  AppKit                              0x00007fff33dbdec5 -[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:] + 1434
53  AppKit                              0x00007fff33dbd8ee -[NSTextInputContext _handleEvent:allowingSyntheticEvent:] + 105
54  AppKit                              0x00007fff33dbd7e3 -[NSView interpretKeyEvents:] + 209
55  AppKit                              0x00007fff33dbd631 -[NSTextView keyDown:] + 699
56  AppKit                              0x00007fff33d1ad5d -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6512
57  AppKit                              0x00007fff33d191c9 -[NSWindow(NSEventRouting) sendEvent:] + 349
58  AppKit                              0x00007fff33d17efe -[NSApplication(NSEvent) sendEvent:] + 2826
59  AppKit                              0x00007fff33b645bf -[NSApplication run] + 707
60  AppKit                              0x00007fff33b36396 NSApplicationMain + 777
61  MarkEdit                            0x000000010000146f main + 33
62  MarkEdit                            0x000000010000102c start + 52

Screen Shot 2020-12-08 at 00 18 12

@cooljeanius
Copy link
Author

@bodhi this still happens on Big Sur... it's not that big of a deal since I've found another Markdown editor, but if you're not going to maintain this repository any longer, you should at least mark it as archived, to prevent any further issues activity

@bodhi
Copy link
Owner

bodhi commented Sep 18, 2023

@cooljeanius terribly sorry about this. I actually wanted to get it working again, but the yak shaving of dependency updates to get it building again was too much for me at the time.

if you're not going to maintain this repository any longer, you should at least mark it as archived, to prevent any further issues activity

Yes, that's a good idea, I'll do this.

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

No branches or pull requests

2 participants