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

Application Crash #50

Open
neethz2092 opened this issue Aug 20, 2014 · 2 comments
Open

Application Crash #50

neethz2092 opened this issue Aug 20, 2014 · 2 comments

Comments

@neethz2092
Copy link

Hi,

I'm using list implementation branch in my application and getting the following crash.

Steps to reproduce the crash

  1. Select bullet button before entering any text.
  2. Press backspace to remove the bullet.
  3. Click undo

RichTextEditor[4866:60b] *** Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray insertObject:range:: Out of bounds'
*** First throw call stack:
(
0 CoreFoundation 0x019921e4 exceptionPreprocess + 180
1 libobjc.A.dylib 0x017118e5 objc_exception_throw + 44
2 CoreFoundation 0x01991fbb +[NSException raise:format:] + 139
3 Foundation 0x01122568 -[NSMutableRLEArray insertObject:range:] + 127
4 Foundation 0x0113577c -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 231
5 UIFoundation 0x03c35774 __71-[NSConcreteTextStorage replaceCharactersInRange:withAttributedString:]_block_invoke + 68
6 UIFoundation 0x03c356af -[NSConcreteTextStorage replaceCharactersInRange:withAttributedString:] + 121
7 UIKit 0x009740be __38-[_UITextUndoOperationTyping undoRedo]_block_invoke + 68
8 UIFoundation 0x03c33211 -[NSTextStorage coordinateEditing:] + 48
9 UIKit 0x00973eb9 -[_UITextUndoOperationTyping undoRedo] + 462
10 UIKit 0x00972ee1 -[NSTextStorage(UIKitUndoExtensions) _undoRedoTextOperation:] + 33
11 Foundation 0x01232639 -[_NSUndoLightInvocation invoke] + 59
12 Foundation 0x01232b1c -[_NSUndoStack popAndInvoke] + 282
13 Foundation 0x01231cae -[NSUndoManager undoNestedGroup] + 497
14 Foundation 0x01231ab5 -[NSUndoManager undo] + 269
15 UIKit 0x0054bfbc -[UIKeyboardLayoutStar continueFromInternationalActionForTouchUp:withActions:timestamp:interval:didLongPress:prevActions:executionContext:] + 643
16 UIKit 0x0054bc6a __132-[UIKeyboardLayoutStar completeSendStringActionForTouchUp:withActions:timestamp:interval:didLongPress:prevActions:executionContext:]_block_invoke1585 + 116
17 UIKit 0x0054b91a -[UIKeyboardLayoutStar completeSendStringActionForTouchUp:withActions:timestamp:interval:didLongPress:prevActions:executionContext:] + 723
18 UIKit 0x0054b329 -[UIKeyboardLayoutStar completeRetestForTouchUp:timestamp:interval:executionContext:] + 4078
19 UIKit 0x00549e2f -[UIKeyboardLayoutStar touchUp:executionContext:] + 1545
20 UIKit 0x003cc718 __28-[UIKeyboardLayout touchUp:]_block_invoke + 269
21 UIKit 0x00916978 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 402
22 UIKit 0x0091701f -[UIKeyboardTaskQueue addTask:] + 144
23 UIKit 0x003cc603 -[UIKeyboardLayout touchUp:] + 263
24 UIKit 0x003cd139 -[UIKeyboardLayout touchesEnded:withEvent:] + 362
25 UIKit 0x00205ddd -[UIWindow _sendTouchesForEvent:] + 852
26 UIKit 0x002069d1 -[UIWindow sendEvent:] + 1117
27 UIKit 0x001d85f2 -[UIApplication sendEvent:] + 242
28 UIKit 0x001c2353 _UIApplicationHandleEventQueue + 11455
29 CoreFoundation 0x0191b77f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 15
30 CoreFoundation 0x0191b10b __CFRunLoopDoSources0 + 235
31 CoreFoundation 0x019381ae __CFRunLoopRun + 910
32 CoreFoundation 0x019379d3 CFRunLoopRunSpecific + 467
33 CoreFoundation 0x019377eb CFRunLoopRunInMode + 123
34 GraphicsServices 0x01e425ee GSEventRunModal + 192
35 GraphicsServices 0x01e4242b GSEventRun + 104
36 UIKit 0x001c4f9b UIApplicationMain + 1225
37 RichTextEditor 0x00004cad main + 141
38 libdyld.dylib 0x0269e701 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

@aryaxt
Copy link
Owner

aryaxt commented Sep 8, 2014

What version are you running?

@neethz2092
Copy link
Author

I'm using the latest version of list implementation branch and running in ios 7.

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