Runestone: Crash report

Hi

I received several crash reports after using Runestone as the text editor within my app. But I’m not sure how to reproduce it. You may want to take a look.

Thanks for your work, by the way.

(Version 0.2.1)

Thread 0 - (TH_STATE_RUNNING)
0  CoreFoundation   ___exceptionPreprocess
1  libobjc.A.dylib  _objc_exception_throw
2  CoreFoundation   __CFThrowFormattedException
3  CoreFoundation   _mutateError
4  CoreFoundation   -[__NSCFString replaceCharactersInRange:withString:]
5  Surge-iOS        StringView.replaceText(in:with:) (StringView.swift:67:24)
6  Surge-iOS        TextInputView.replaceText(in:with:selectedRangeAfterUndo:undoActionName:) (TextInputView.swift:1115:45)
7  Surge-iOS        TextInputView.setMarkedText(_:selectedRange:) (TextInputView.swift:1296:9)
8  Surge-iOS        @objc TextInputView.setMarkedText(_:selectedRange:) (<compiler-generated>)
9  UIKitCore        -[UIResponder(UITextInput_Internal) _setAttributedMarkedText:selectedRange:]
10 UIKitCore        -[UIKBInputDelegateManager setAttributedMarkedText:selectedRange:]
11 UIKitCore        -[UIKeyboardImpl _setAttributedMarkedText:selectedRange:inputString:lastInputString:searchString:compareAttributes:]
12 UIKitCore        -[UIKeyboardImpl setMarkedText:selectedRange:inputString:lastInputString:searchString:candidateOffset:liveConversionSegments:highlighSegmentIndex:]
13 UIKitCore        -[UIKeyboardImpl assertIntermediateText:]
14 UIKitCore        -[UIKeyboardImpl syncKeyboardToConfiguration:]
15 UIKitCore        ___55-[UIKeyboardImpl handleKeyboardInput:executionContext:]_block_invoke_2
16 UIKitCore        -[UIKeyboardTaskEntry execute:]
17 UIKitCore        -[UIKeyboardTaskQueue continueExecutionOnMainThread]
18 Foundation       ___NSThreadPerformPerform
19 CoreFoundation   ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
20 CoreFoundation   ___CFRunLoopDoSource0
21 CoreFoundation   ___CFRunLoopDoSources0
22 CoreFoundation   ___CFRunLoopRun
23 CoreFoundation   _CFRunLoopRunSpecific
24 GraphicsServices _GSEventRunModal
25 UIKitCore        -[UIApplication _run]
26 UIKitCore        _UIApplicationMain
27 Surge-iOS        main (main.m:14:16)
28 dyld             start

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

@Blankwonder That’s great! Last time you uploaded a new build the issues seemed to arrive fairly quickly.

I’ll close the issue and consider the crash fixed but please don’t hesitate to open an issue again if you still see the crashes. You can just open one referring to this issue if that happens.

Thanks a lot for reporting the issue, for testing the changes in your app, and for providing feedback along the way 🙌

@simonbs That’s great. I will release a test build a few hours later.

Just released a TestFlight build, which was built with the Runestone main branch. I will get back to you a couple of days later.