hsusmita / ResponsiveLabel

MIT License
218 stars 36 forks source link

Crashing in iPhone 5S. Says "exc_bad_access kern_invalid_address" #38

Open kidsid49 opened 8 years ago

kidsid49 commented 8 years ago

Here is the crash report.

[Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x1800f1bd0 objc_msgSend + 16
1  Foundation                     0x18134ee50 -[NSMutableRLEArray replaceObjectsInRange:withObject:length:] + 448
2  Foundation                     0x18134f7dc -[NSConcreteMutableAttributedString setAttributes:range:] + 100
3  Foundation                     0x18135f664 -[NSMutableAttributedString removeAttribute:range:] + 200
4  UIFoundation                   0x1856eae14 -[NSConcreteTextStorage removeAttribute:range:] + 104
5  ResponsiveLabel                0x10091bc4c __51-[ResponsiveLabel removeAttributeForTruncatedRange]_block_invoke + 240
6  CoreFoundation                 0x1809c2ed4 __65-[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 88
7  CoreFoundation                 0x1809b0b78 -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:] + 224
8  ResponsiveLabel                0x10091bb38 -[ResponsiveLabel removeAttributeForTruncatedRange] + 232
9  ResponsiveLabel                0x10091b984 -[ResponsiveLabel updateTextStorageReplacingRange:] + 368
10 ResponsiveLabel                0x10091ad7c -[ResponsiveLabel drawTextInRect:] + 68
11 UIKit                          0x1857ed364 -[UIView(CALayerDelegate) drawLayer:inContext:] + 368
12 QuartzCore                     0x18319d6e4 -[CALayer drawInContext:] + 260
13 QuartzCore                     0x183188784 CABackingStoreUpdate_ + 2364
14 QuartzCore                     0x1831879a4 CA::Layer::display_() + 1224
15 QuartzCore                     0x183169918 CA::Layer::display_if_needed(CA::Transaction*) + 228
16 QuartzCore                     0x183169604 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 44
17 QuartzCore                     0x183168c94 CA::Context::commit_transaction(CA::Transaction*) + 252
18 QuartzCore                     0x1831689dc CA::Transaction::commit() + 512
19 QuartzCore                     0x1831620cc CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 80
20 CoreFoundation                 0x180a28588 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
21 CoreFoundation                 0x180a2632c __CFRunLoopDoObservers + 372
22 CoreFoundation                 0x1809556a0 CFRunLoopRunSpecific + 416
23 GraphicsServices               0x181e64088 GSEventRunModal + 180
24 UIKit                          0x1857ccd90 UIApplicationMain + 204
25 Goodshows                      0x1000e4ab0 main (main.m:14)
26 libdispatch.dylib              0x1804f68b8 (Missing)](url)
kidsid49 commented 8 years ago

@hsusmita any clue?