Skip to content

Crash on [OneSignalLocation sendLocation] since 2.5.2 #222

@maxneust

Description

@maxneust

Just released a new version of our app that includes OneSignal v2.5.2, and we're seeing many crashes like the one below:

Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
0  Polarsteps                     0x10018fa04 +[OneSignalLocation sendLocation] (OneSignalLocation.m:245)
1  Polarsteps                     0x10018f618 -[OneSignalLocation locationManager:didUpdateLocations:] (OneSignalLocation.m:221)
2  CoreLocation                   0x1973eca38 (null) + 35648
3  CoreLocation                   0x1973ec2b4 (null) + 33724
4  CoreLocation                   0x1973df4b8 (null) + 1020
5  CoreFoundation                 0x18f396a44 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
6  CoreFoundation                 0x18f396240 __CFRunLoopDoBlocks + 288
7  CoreFoundation                 0x18f394538 __CFRunLoopRun + 1976
8  CoreFoundation                 0x18f2c22b8 CFRunLoopRunSpecific + 444
9  GraphicsServices               0x190d76198 GSEventRunModal + 180
10 UIKit                          0x1953097fc -[UIApplication _run] + 684
11 UIKit                          0x195304534 UIApplicationMain + 208
12 Polarsteps                     0x100038e70 main (main.m:16)
13 libdispatch.dylib              0x18e2a55b8 (Missing)

Can't reproduce locally, but it seems to be pretty widespread (affecting about 1% of our DAU).

Let me know if you need any additional info.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions