Crash while trying to preview POI map (iOS8)

Help on issues you run into with LapTimer; in case you have a question on how to use LapTimer, use the forum "Using LapTimer" instead
Majkel77
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Sun Jan 04, 2015 11:29 am

Crash while trying to preview POI map (iOS8)

Post by Majkel77 »

Hi, each time I try to preview map of POI's, Lap Timer crashes. Tried both on iPhone 5s & 6+. HPL GP edition 18.3.7 I've bought Petrolhead and upgrade through in-app purchase.
To reproduce, got to "Lap List" tab - > select any track from the list, for example NORDSCHLIEFEBTG which is available by default -> scroll down through a list of POI's -> press the MAP button. I can collect crash dump from devices if required.

regards,
Michal
User avatar
Harry
Site Admin
Site Admin
Posts: 10639
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Crash while trying to preview POI map (iOS8)

Post by Harry »

Hi Michal,

That's most probably a bug in area calculation for custom tracks (the preinstalled track is considered a "custom track"). It will be fixed in the next upcoming bug fix release. Before generating effort extracting / sending / analyzing a crash log, I'd suggest to wait for this release and check if it is fixed. As an alternative, you may check if you can reproduce the issue with a certified track set (i.e. one loaded from Add-ons). Thanks for reporting!

- Harry
Image Image Image Image
Majkel77
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Sun Jan 04, 2015 11:29 am

Re: Crash while trying to preview POI map (iOS8)

Post by Majkel77 »

Thanks, I will check with next release :)

ps. I've tried to download certified track from the add-on list. Each time it downloads fine and I get confirmation (on small popup) that new POI's were successfully loaded. When I touch OK, the app crashes (every time). I've tried with different tracks.
Regards iPhone 6+, I've seen it is running in compatibility mode, so the UI is upscaled to fill bigger screen. I've seen that spring release aims to new, redesigned UI. Will it use native resolution? If yes I will be glad to test and provide feedback :)

regards,
Michal
User avatar
Harry
Site Admin
Site Admin
Posts: 10639
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Crash while trying to preview POI map (iOS8)

Post by Harry »

While using the Map button from POI List is an action not used a lot (which might be the reason it is reported late), confirming a track download is an operation performed dozens of times each day. As this is the first report on this, I assume there is something wrong with your configuration - and the POI database in particular. Do you have recorded laps already? If not, I'd suggest to delete and reinstall the system (load Petrolhead from Purchased in AppStore app first and repeat the GP upgrade from within LT afterwards).

- Harry
Image Image Image Image
User avatar
Harry
Site Admin
Site Admin
Posts: 10639
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Crash while trying to preview POI map (iOS8)

Post by Harry »

On 6+ support: next Spring release will come with triple density icons throughout the app and fully use the iPhone6+ resolution. It will not adopt to the new iOS8 native screen sizing as I simply do not see a good way to support both iOS7 and iOS8 screen handling in the same app. I will adopt to the iOS8 schema once I drop iOS7 support - which is likely sometimes in 2016 ;-)

- Harry
Image Image Image Image
Majkel77
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Sun Jan 04, 2015 11:29 am

Re: Crash while trying to preview POI map (iOS8)

Post by Majkel77 »

We have the same problem struggling to decide how to support older iOS version (mostly 7) and new devices running iOS8 in the same time. Consider dropping iOS 7 support earlier - by the end of 2014 iOS8 adoption was around 70%. Less pain for you and overall better quality for users.
User avatar
Harry
Site Admin
Site Admin
Posts: 10639
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Crash while trying to preview POI map (iOS8)

Post by Harry »

I do not see there are too many disadvantages from staying with the "old" layout. I try to always support the current version plus the one before. Spring 2015 release will drop 5.1 and 6 support and requires 7 as a minimum.
Image Image Image Image
Majkel77
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Sun Jan 04, 2015 11:29 am

Re: Crash while trying to preview POI map (iOS8)

Post by Majkel77 »

I think I found the problem and I was able to replicate it on two different devices 6+, 5s, both running iOS 8.1 with fresh installation of HLT (18.3.7). I suspect, that there is a bug in POI import procedure and if track data is invalid or maybe there are some connection errors, it can cause that application store becomes corrupted to the state, that you can only reinstall application. It is not deterministic, but happened 3 times in 10 tries.

I collected some crash dumps and attach one to the post.
Path to replicate:
install petrolhead -> upgrade to GP with in-app -> do some tweaks in UI (I changed one icon on TabBar as on the photo below)
next
go to add-ons -> select any track (i've tried brands hatch, silverstone, poznan etc ) -> load track
works fine
go to add-ons -> select Ulez Airfield (I suspect it's corrupted or has some issues) -> load track
the app will probably crash, happens several times on my devices, so restart the app - in most cases you will end up in the state with corrupted store. Ulez will not be listed in lap times and POI's, however you will not be able to import any of tracks which previously worked fine (app will crash each time). The app will also crash if you select map below POI list (the one I wrote about in the first post).

regards,
Michal
Attachments
IMG_0854.jpg
IMG_0854.jpg (65.06 KiB) Viewed 3014 times
hlt_crash.txt
(53.31 KiB) Downloaded 129 times
User avatar
Harry
Site Admin
Site Admin
Posts: 10639
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Crash while trying to preview POI map (iOS8)

Post by Harry »

Please try moving the Map tab out of the favorite row (i.e. to position 5 or beyond). Just try and error... I cannot reproduce the problem currently but will recheck it once I switch back to the LT 18.3 branch in a few days (working on v19 now). The crash log signals an in memory corruption and should not persist in the database. So I'm still looking for a pattern from your device configuration. The area discussed is used extensively and would raise a lot more problem reports in case it would occur for standard configurations. The reason I look into the Map item is LapTimer switches to the Map view once a track set download has been finished. Version 19 has this area completely changed - the tab bar is not used any more.

- Harry
Image Image Image Image
Majkel77
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Sun Jan 04, 2015 11:29 am

Re: Crash while trying to preview POI map (iOS8)

Post by Majkel77 »

I think you got it. The problem dissapear when Map tab is removed from favorites, so it is probably related to handling this view. I don't suspect many users put map in favorites, as most of tracks are available for download, however I do a lot of custom rally tracks and use track editor heavily. I have some ideas how to improve editor a bit - will try to gather things and post on the feature request forum :)

By the way, I've found another small bug during these tests. When you select POI set to download and the download fails because of network error, you get the error message, but the app still creates empty POI set in Lap List tab. You cannot remove it, even if you choose Edit. Take a look at the screen below - the empty track is ULEZ CW :)
Attachments
IMG_0856.PNG
IMG_0856.PNG (190.05 KiB) Viewed 3009 times
IMG_0855.PNG
IMG_0855.PNG (125.66 KiB) Viewed 3009 times
Post Reply