Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
167 stars 140 forks source link

iOS 14 Crash - ABKInAppMessageWindowController.m line 301 #239

Closed ardiansyahrkt closed 4 years ago

ardiansyahrkt commented 4 years ago

Report

We have crashed on IOS 14 related to appboy. This is the crash report we get from crashlytics.

Screenshot 2020-07-07 at 9 18 33 AM Screenshot 2020-07-07 at 9 18 33 AM

Full stack trace of the crash:


Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0x1a1270344 __abort_with_payload + 8
1  libsystem_kernel.dylib         0x1a1274b20  + 104
2  libsystem_kernel.dylib         0x1a1274ab8 abort_with_reason + 30
3  libobjc.A.dylib                0x1a11b18ec  + 108
4  libobjc.A.dylib                0x1a11b1880  + 30
5  libobjc.A.dylib                0x1a11ad558  + 350
6  libobjc.A.dylib                0x1a11af388 objc_storeWeak + 340
7  UIKitCore                      0x1a59d8ae0  + 120
8  UIKitCore                      0x1a59d8b60  + 88
9  UIKitCore                      0x1a5eccc18  + 412
10 UIKitCore                      0x1a5eccf64  + 476
11 UIKitCore                      0x1a5ecceb4  + 300
12 UIKitCore                      0x1a5ecceb4  + 300
13 UIKitCore                      0x1a5ecceb4  + 300
14 UIKitCore                      0x1a5ecceb4  + 300
15 UIKitCore                      0x1a5ecceb4  + 300
16 UIKitCore                      0x1a5ecceb4  + 300
17 UIKitCore                      0x1a5ecceb4  + 300
18 UIKitCore                      0x1a5ecceb4  + 300
19 UIKitCore                      0x1a5ecceb4  + 300
20 UIKitCore                      0x1a5647900  + 928
21 UIKitCore                      0x1a5645c2c  + 1036
22 UIKitCore                      0x1a56bf720  + 40
23 UIKitCore                      0x1a5188844  + 248
24 UIKitCore                      0x1a5188b44  + 136
25 UIKitCore                      0x1a51881c0  + 220
26 UIKitCore                      0x1a5bd3e9c  + 64
27 UIKitCore                      0x1a5bbba6c  + 88
28 UIKitCore                      0x1a5bba4b0  + 132
29 UIKit                          0x1ddeea390  + 368
30 Appboy_iOS_SDK                 0x10181a674 -[ABKInAppMessageWindowController hideInAppMessageWindow] + 301 (ABKInAppMessageWindowController.m:301)
31 UIKitCore                      0x1a608c3c0  + 724
32 UIKitCore                      0x1a605f9a4  + 248
33 UIKitCore                      0x1a605fed8  + 248
34 UIKit                          0x1ddee5744  + 204
35 QuartzCore                     0x1a90105d0  + 280
36 libdispatch.dylib              0x1a1116394  + 20
37 libdispatch.dylib              0x1a11236ec _dispatch_main_queue_callback_4CF + 836
38 CoreFoundation                 0x1a13f6bf0  + 16
39 CoreFoundation                 0x1a13f11d0  + 1936
40 CoreFoundation                 0x1a13f0630 CFRunLoopRunSpecific + 564
41 GraphicsServices               0x1ad1ca818 GSEventRunModal + 164
42 UIKitCore                      0x1a5b7da38  + 1072
43 UIKitCore                      0x1a5b83928 UIApplicationMain + 1876
44 mudah.my                       0x100c41ec8 main + 21 (AppDelegate.swift:21)
45 libdyld.dylib                  0x1a127c38c  + 4

Describe your environment.

Info Value
Platform Name ios
Platform Version 14
SDK Version 3.24.1
Integration Method cocoapods
Xcode Version 11.4
Repro rate sometimes

What did you do?

We were not able to reproduce it.

What did you expect to happen?

Not crash

What happened instead?

In crashlytics it show sometimes user facing this crash.

Steps to reproduce

We are not able to reproduce it.

Are you doing any feature customizations that may relate to the issue? Can you share the code snippet?

we are not doing any kind of customization.

chshapiro commented 4 years ago

Hey @ardiansyahrkt,

Thank you for reporting this issue! We don't yet fully support iOS 14 but we are preparing for its upcoming release and are looking into this crash. Are you only seeing the crash happening on iOS 14 or also on earlier versions? Do you still see the crashes happening on the latest Xcode and iOS 14 betas? Do you see the crashes happening on the latest SDK version 3.25.0?

Thanks!

hokstuff commented 4 years ago

Hi @ardiansyahrkt,

Just wondering if this is still an issue on your end with the latest betas of Xcode and iOS? Also, now we have betas released for our SDK so let us know if you are still finding issues when using those. Thanks!

hokstuff commented 4 years ago

Closing this out due to inactivity. Please reopen if you are still seeing issues when using the 3.27.0 beta releases, or check back soon when we release our official support for iOS 14. Thanks!