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

iOS - Crash in TSLocation #217

Closed
livotov opened this issue Apr 1, 2020 · 2 comments
Closed

iOS - Crash in TSLocation #217

livotov opened this issue Apr 1, 2020 · 2 comments
Labels

Comments

@livotov
Copy link

livotov commented Apr 1, 2020

Your Environment

  • Plugin version: 1.7.0
  • Platform: iOS
  • OS version: 13.3.1
  • Device manufacturer / model: iPhone 6s
  • Flutter info:

[✓] Flutter (Channel dev, v1.15.20, on Mac OS X 10.14.6 18G1012, locale en-BG)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.3)
[✓] Connected device (3 available)

  • Plugin config:
bg.BackgroundGeolocation.ready(bg.Config(
            desiredAccuracy: bg.Config.DESIRED_ACCURACY_HIGH,
            distanceFilter: 0,
            locationUpdateInterval: 60000,
            heartbeatInterval: 60000,
            stopOnTerminate: false,
            startOnBoot: true,
            debug: false,
            enableHeadless: true,
            logLevel: bg.Config.LOG_LEVEL_INFO,
            notification: bg.Notification(smallIcon: "drawable/ic_notification", largeIcon: "mipmap/ic_launcher", channelName: "orderStatusChanges"),
            reset: true))

Expected Behavior

Crashless work

Actual Behavior

App crashes seldom (1 user and 2 occurrences reports so far by Crashlytics for the past week)

Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x1aa59c05c objc_retain + 76
1 Runner 0x100be07a0 -[TSLocation initWithLocation:] + 100 (TSLocation.m:100)
2 Runner 0x100be0960 -[TSLocation initWithLocation:type:extras:] + 126 (TSLocation.m:126)
3 Runner 0x100bdc404 -[TSLocationManager queue:type:] + 2737 (TSLocationManager.m:2737)
4 Runner 0x100bd8c08 -[TSLocationManager locationManager:didUpdateLocations:] + 2048 (TSLocationManager.m:2048)
5 CoreLocation 0x1ad9d1618 CLClientStopVehicleHeadingUpdates + 74592
6 CoreLocation 0x1ad9d0e00 CLClientStopVehicleHeadingUpdates + 72520
7 CoreLocation 0x1ad9b9d2c CLClientInvalidate + 1408
8 CoreFoundation 0x1aa7d8834 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 20
9 CoreFoundation 0x1aa7d7fd4 __CFRunLoopDoBlocks + 264
10 CoreFoundation 0x1aa7d370c __CFRunLoopRun + 2312
11 CoreFoundation 0x1aa7d2adc CFRunLoopRunSpecific + 464
12 GraphicsServices 0x1b4773328 GSEventRunModal + 104
13 UIKitCore 0x1ae8e063c UIApplicationMain + 1936
14 Runner 0x100ab2b30 main + 5 (AppDelegate.swift:5)
15 libdyld.dylib 0x1aa65c360 start + 4

Steps to Reproduce

Unknown, we were not able to get the crash on our devices. There is a single report (1 user, 2 occurrences) from the past week so far.

@stale
Copy link

stale bot commented May 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.

@stale stale bot added the stale label May 31, 2020
@stale
Copy link

stale bot commented Jun 7, 2020

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.

@stale stale bot closed this as completed Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant