[TIMOB-1800] iOS: Analytics causes app crash when no network is available - iphone
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-04-05T13:29:44.000+0000 |
Affected Version/s | Release 1.6.0 |
Fix Version/s | Release 2.0.2, Release 2.1.0, Sprint 2012-07, Release 1.8.3 |
Components | iOS |
Labels | core |
Reporter | ctredway |
Assignee | Max Stepanov |
Created | 2011-04-15T03:02:44.000+0000 |
Updated | 2012-05-29T20:23:25.000+0000 |
Description
A customer reports that if analytics is enabled and no network (cell or wifi) causes a crash. I cannot reproduce this but at the request of the customer I am logging this ticket so we can investigate further.
Comments
- Ben 2011-04-15
Please note a crash also results when Titanium.Geolocation.reverseGeocoder is called.
Additional details are available in ticket #55131
- Robby 2011-04-15
I've seen this same kind of thing with Analytics crashing the app (not sure if I had network access). It definitely and predictably was crashing the app when I created events (see ticket #1915)
- Devang Gandhi 2012-02-28 i also have an customer issue, where the app crashes because of analytics. When he tries to run the app without analytics, it does not crash.
- Devang Gandhi 2012-03-22
Another case from customer,Could not reproduce myself. But i have his crash log
Typical result: Mar 21 19:06:34 unknown UIKitApplication:com.xxxxxx.nettest[0x3694][4547] <Notice>: [DEBUG] reading stylesheet from: /var/mobile/Applications/904DB9DB-1AFA-4A0F-89FA-FBC08F0A5BA0/NetworkTest.app/stylesheet.plist Mar 21 19:06:34 unknown UIKitApplication:com.xxxxxx.nettest[0x3694][4547] <Notice>: [INFO] NetworkTest/1.0 (1.8.2.59b3a90) Mar 21 19:06:34 unknown UIKitApplication:com.xxxxxx.nettest[0x3694][4547] <Notice>: [DEBUG] Analytics is enabled = YES Mar 21 19:06:34 unknown UIKitApplication:com.xxxxxx.nettest[0x3694][4547] <Notice>: [DEBUG] loading: /var/mobile/Applications/904DB9DB-1AFA-4A0F-89FA-FBC08F0A5BA0/NetworkTest.app/app.js, resource: app_js Mar 21 19:06:34 unknown NetworkTest[4547] <Warning>: -[UITabBarController setSelectedViewController:] only a view controller in the tab bar controller's list of view controllers can be selected. Mar 21 19:06:34 unknown UIKitApplication:com.xxxxxx.nettest[0x3694][4547] <Notice>: [DEBUG] application booted in 190.209985 ms Mar 21 19:06:34 unknown kernel[0] <Debug>: launchd[4547] Builtin profile: container (sandbox) Mar 21 19:06:34 unknown kernel[0] <Debug>: launchd[4547] Container: /private/var/mobile/Applications/904DB9DB-1AFA-4A0F-89FA-FBC08F0A5BA0 [69] (sandbox) Mar 21 19:06:50 unknown SpringBoard[15] <Warning>: com.xxxxxx.nettest failed to resume in time Mar 21 19:06:50 unknown SpringBoard[15] <Warning>: Forcing crash report of NetworkTest[4547]... Mar 21 19:06:51 unknown SpringBoard[15] <Warning>: Finished crash reporting. Mar 21 19:06:51 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.xxxxxx.nettest[0x3694]) Exited: Killed: 9
- Neeraj Gupta 2012-03-23 @Shak - Do we have a simple test case that reproduces this issue?
- Max Stepanov 2012-04-05 Marking as resolved due TIMOB-8504 merged. Please reopen if still an issue.
- Natalie Huynh 2012-05-24 Closing per Britt E.