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

Crashes at MGSwipeTableCell.m line 926 -[MGSwipeTableCell hideSwipeOverlayIfNeeded] #342

Open
levantAJ opened this issue Oct 31, 2019 · 7 comments

Comments

@levantAJ
Copy link

App crashes on iOS13 only

Crashed: com.apple.main-thread
SIGABRT ABORT 0x000000019e1bf95c

Version: 1.6.9

Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0x19e1bf95c __abort_with_payload + 8
1  libsystem_kernel.dylib         0x19e1c3f6c abort_with_payload_wrapper_internal + 104
2  libsystem_kernel.dylib         0x19e1c3f04 abort_with_payload_wrapper_internal + 30
3  libobjc.A.dylib                0x19e10c5c8 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 108
4  libobjc.A.dylib                0x19e10c55c _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 30
5  libobjc.A.dylib                0x19e108a98 weak_clear_no_lock + 318
6  libobjc.A.dylib                0x19e10a59c objc_storeWeak + 336
7  UIKitCore                      0x1a25f1c44 -[UITableViewCell _tableView] + 268
8  UIKitCore                      0x1a25f4470 -[UITableViewCell _selectedBackgroundView:] + 96
9  UIKitCore                      0x1a25ecbec -[UITableViewCell _setSelectionStyle:selectionTintColor:] + 172
10 MGSwipeTableCell               0x106893308 -[MGSwipeTableCell hideSwipeOverlayIfNeeded] + 926 (MGSwipeTableCell.m:926)
11 UIKitCore                      0x1a28fbdc8 __UIViewWillBeRemovedFromSuperview + 284
12 UIKitCore                      0x1a28fbb50 -[UIView(Hierarchy) removeFromSuperview] + 96
13 UIKitCore                      0x1a25f0164 -[UITableViewCell removeFromSuperview] + 148
14 UIKitCore                      0x1a28e47b8 -[UIView dealloc] + 396
15 UIKitCore                      0x1a2888db0 -[UIScrollView dealloc] + 844
16 UIKitCore                      0x1a263171c -[UITableView dealloc] + 368
17 libobjc.A.dylib                0x19e10a408 objc_release + 136
18 libobjc.A.dylib                0x19e10b9d8 AutoreleasePoolPage::releaseUntil(objc_object**) + 184
19 libobjc.A.dylib                0x19e10b8c4 objc_autoreleasePoolPop + 232
20 CoreFoundation                 0x19e3e2b28 _CFAutoreleasePoolPop + 32
21 CoreFoundation                 0x19e34bb84 __CFRunLoopRun + 1988
22 CoreFoundation                 0x19e34b098 CFRunLoopRunSpecific + 480
23 GraphicsServices               0x1a84b5534 GSEventRunModal + 108
24 UIKitCore                      0x1a246b7ac UIApplicationMain + 1940
25 MyApp                       0x1047e2050 main + 30 (MyClass.swift:30)
26 libdyld.dylib                  0x19e1caf30 start + 4
@snapxo
Copy link

snapxo commented Nov 7, 2019

I can confirm, crashing on iOS 13 only
@ self.selectionStyle = _previusSelectionStyle;

For me, it happens when showing a tableview in a popover, dragging to show the swipe options, hiding the table view and showing it again.

@levantAJ
Copy link
Author

levantAJ commented Nov 8, 2019

@snapxo Correct, it happens on iOS 13 only!

@anivaros
Copy link

Same problem 😒

@MortimerGoro
Copy link
Owner

Have you tried to upgrade to v1.6.11?

The fix was included in that release

@snapxo
Copy link

snapxo commented Dec 4, 2019

problem solved with v1.6.11, cheers

@snapxo
Copy link

snapxo commented Dec 4, 2019

@levantAJ

@levantAJ
Copy link
Author

levantAJ commented Dec 5, 2019

Thanks @snapxo @MortimerGoro

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

4 participants