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: NSAttributedStringToNodes.swift line 211 #656

Closed
jleandroperez opened this issue Jul 25, 2017 · 0 comments
Closed

Crash: NSAttributedStringToNodes.swift line 211 #656

jleandroperez opened this issue Jul 25, 2017 · 0 comments

Comments

@jleandroperez
Copy link
Contributor

Details:

WPiOS Mark 8.0.0.3

Crashed: com.apple.main-thread
0  Aztec                          0x100e39240 specialized NSAttributedStringToNodes.(sort(branches : [(nodes : [Libxml2.ElementNode], leaves : [Libxml2.Node])]) -> [(nodes : [Libxml2.ElementNode], leaves : [Libxml2.Node])]).(closure #1) (NSAttributedStringToNodes.swift:211)
1  Aztec                          0x100e338e8 partial apply for NSAttributedStringToNodes.(sort(branches : [(nodes : [Libxml2.ElementNode], leaves : [Libxml2.Node])]) -> [(nodes : [Libxml2.ElementNode], leaves : [Libxml2.Node])]).(closure #1) (NSAttributedStringToNodes.swift)
2  Aztec                          0x100e39b00 specialized specialized _partition<A where ...> (inout A, subRange : Range<A.Index>, by : (A.Iterator.Element, A.Iterator.Element) -> Bool) -> A.Index (NSAttributedStringToNodes.swift)
3  Aztec                          0x100e39d20 specialized specialized _introSortImpl<A where ...> (inout A, subRange : Range<A.Index>, by : (A.Iterator.Element, A.Iterator.Element) -> Bool, depthLimit : Int) -> () (NSAttributedStringToNodes.swift)
4  Aztec                          0x100e39fa4 specialized specialized MutableCollection<A where ...>.(sort(by : (A.Iterator.Element, A.Iterator.Element) -> Bool) -> ()).(closure #1) (NSAttributedStringToNodes.swift)
5  Aztec                          0x100e2fe9c specialized specialized MutableCollection<A where ...>.sort(by : (A.Iterator.Element, A.Iterator.Element) -> Bool) -> () (NSAttributedStringToNodes.swift)
6  Aztec                          0x100e30398 specialized NSAttributedStringToNodes.sort(branches : [(nodes : [Libxml2.ElementNode], leaves : [Libxml2.Node])]) -> [(nodes : [Libxml2.ElementNode], leaves : [Libxml2.Node])] (NSAttributedStringToNodes.swift)
7  Aztec                          0x100e32378 specialized NSAttributedStringToNodes.process(branches : [(nodes : [Libxml2.ElementNode], leaves : [Libxml2.Node])]) -> [Libxml2.Node] (NSAttributedStringToNodes.swift)
8  Aztec                          0x100e326ec specialized NSAttributedStringToNodes.createNodes(fromParagraph : NSAttributedString) -> [Libxml2.Node] (NSAttributedStringToNodes.swift)
9  Aztec                          0x100e334a4 specialized NSAttributedStringToNodes.(convert(NSAttributedString) -> Libxml2.RootNode).(closure #1) (NSAttributedStringToNodes.swift)
10 Aztec                          0x100e2e054 partial apply for NSAttributedStringToNodes.(convert(NSAttributedString) -> Libxml2.RootNode).(closure #1) (NSAttributedStringToNodes.swift)
11 Aztec                          0x100e27c98 specialized specialized NSAttributedString.enumerateParagraphRanges(spanning : _NSRange, reverseOrder : Bool, using : (_NSRange, _NSRange) -> ()) -> () (NSAttributedString+Lists.swift)
12 Aztec                          0x100e25d94 @objc NSAttributedString.enumerateParagraphRanges(spanning : _NSRange, reverseOrder : Bool, using : (_NSRange, _NSRange) -> ()) -> () (NSAttributedString+Lists.swift)
13 Aztec                          0x100e2df44 specialized NSAttributedStringToNodes.convert(NSAttributedString) -> Libxml2.RootNode (NSAttributedStringToNodes.swift)
14 Aztec                          0x100e54d0c TextStorage.getHTML(prettyPrint : Bool) -> String (NSAttributedStringToNodes.swift)
15 Aztec                          0x100e5daa8 TextView.getHTML(prettyPrint : Bool) -> String (TextView.swift:458)
16 WordPress                      0x100249d1c AztecPostViewController.getHTML() -> String (AztecPostViewController.swift:675)
17 WordPress                      0x100250e80 AztecPostViewController.mapUIContentToPostAndSave() -> () (AztecPostViewController.swift:2045)
18 WordPress                      0x10025e64c specialized AztecPostViewController.textViewDidChange(UITextView) -> () (AztecPostViewController.swift:1191)
19 WordPress                      0x100255ec4 @objc AztecPostViewController.post.setter + 4297776836
20 Aztec                          0x100e6dc4c specialized TextView.setHTML(String) -> () (TextView.swift)
21 Aztec                          0x100e5dbdc TextView.setHTML(String) -> () (TextView.swift)
22 WordPress                      0x10025af48 specialized AztecPostViewController.setHTML(String) -> () (AztecPostViewController.swift)
23 WordPress                      0x10024a07c AztecPostViewController.reloadEditorContents() -> () (AztecPostViewController.swift)
24 WordPress                      0x10025b120 specialized AztecPostViewController.post.setter (AztecPostViewController.swift:652)
25 WordPress                      0x100254174 AztecPostViewController.(createRevisionOfPost() -> ()).(closure #1) (AztecPostViewController.swift)
26 CoreData                       0x18feeb214 developerSubmittedBlockToNSManagedObjectContextPerform + 152
27 CoreData                       0x18feeb0ec -[NSManagedObjectContext performBlockAndWait:] + 256
28 WordPress                      0x100244c6c AztecPostViewController.createRevisionOfPost() -> () (AztecPostViewController.swift)
29 WordPress                      0x1002449f8 AztecPostViewController.viewDidLoad() -> () (AztecPostViewController.swift:403)
30 WordPress                      0x100244cb8 @objc AztecPostViewController.viewDidLoad() -> () (AztecPostViewController.swift)
31 UIKit                          0x193c9fec0 -[UIViewController loadViewIfRequired] + 1036
32 UIKit                          0x193c9fa9c -[UIViewController view] + 28
33 UIKit                          0x19402f5f0 -[UINavigationController preferredContentSize] + 172
34 UIKit                          0x193ff3ce0 -[UIPresentationController preferredContentSizeDidChangeForChildContentContainer:] + 68
35 UIKit                          0x193ff0130 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 136
36 UIKit                          0x193f2c950 _runAfterCACommitDeferredBlocks + 292
37 UIKit                          0x193f1e9ec _cleanUpAfterCAFlushAndRunDeferredBlocks + 528
38 UIKit                          0x193c92648 _afterCACommitHandler + 132
39 CoreFoundation                 0x18db1c9a8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
40 CoreFoundation                 0x18db1a630 __CFRunLoopDoObservers + 372
41 CoreFoundation                 0x18db1aa7c __CFRunLoopRun + 956
42 CoreFoundation                 0x18da4ada4 CFRunLoopRunSpecific + 424
43 GraphicsServices               0x18f4b4074 GSEventRunModal + 100
44 UIKit                          0x193d05058 UIApplicationMain + 208
45 WordPress                      0x100040ec4 main (main.m:11)
46 libdyld.dylib                  0x18ca5959c start + 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants