Amplitude-iOS: Crashed: BACKGROUND (QOS: UNSPECIFIED) in endBackgroundTaskIfNeeded

  • It happens in the background
  • iOS 13 only

Here’s the stack

#7. Crashed: BACKGROUND (QOS: UNSPECIFIED)
0  libdyld.dylib                  0x1ba2c56c0 <redacted> + 16
1  libdyld.dylib                  0x1ba2c5cd4 <redacted> + 52
2  libdyld.dylib                  0x1ba2c5b54 <redacted> + 52
3  libdyld.dylib                  0x1ba2d24f8 <redacted> + 132
4  libobjc.A.dylib                0x1ba204c38 <redacted> + 148
5  libobjc.A.dylib                0x1ba1ef8d8 <redacted> + 20
6  libobjc.A.dylib                0x1ba1f0784 <redacted> + 100
7  Foundation                     0x1ba882b00 NSClassFromString + 200
8  Amplitude_iOS                  0x1056f4b0c -[Amplitude getSharedApplication] + 514 (Amplitude.m:514)
9  Amplitude_iOS                  0x1056f82c8 -[Amplitude endBackgroundTaskIfNeeded] + 1162 (Amplitude.m:1162)
10 Foundation                     0x1ba88561c <redacted> + 16
11 Foundation                     0x1ba78f3d8 <redacted> + 100
12 Foundation                     0x1ba8878a4 <redacted> + 20
13 Foundation                     0x1ba78f070 <redacted> + 732
14 Foundation                     0x1ba88829c <redacted> + 20
15 Foundation                     0x1ba887d68 <redacted> + 180
16 libdispatch.dylib              0x1ba1719a8 <redacted> + 104
17 libdispatch.dylib              0x1ba18e184 <redacted> + 16
18 libdispatch.dylib              0x1ba167eb8 <redacted> + 404
19 libdispatch.dylib              0x1ba16762c <redacted> + 592
20 libdispatch.dylib              0x1ba174110 <redacted> + 344
21 libdispatch.dylib              0x1ba1748b0 <redacted> + 116
22 libsystem_pthread.dylib        0x1ba1ddf64 _pthread_wqthread + 212
23 libsystem_pthread.dylib        0x1ba1e0ae0 start_wqthread + 8

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (11 by maintainers)

Most upvoted comments

@manan19 i have an idea of how to fix it. It should be out by end of week 😃