20.04 Focal: uNav freezes with GPS enabled
-
Using Oneplus Nord N10, 20.04 OTA 7:
TL;DR - uNav freezes after location is acquired, Morph freezes upon clicking Allow in Permission Request for location, PureMaps will crash after location acquired the first time, then works well upon re-opening.-uNav freezes reliably with GPS, seemingly after GPS position is acquired. It will freeze with "Waiting for GPS" still visible, but not immediately, I can still shift from light to dark mode for example, until suddenly I can't click anything in the app.
-Morph freezes reliably after enabling location on navigation websites (tried google maps and waze.) Specifically, I select "Your Location", Morph brings up the UT Permission Request to share location, I click Allow, the website says "Waze/GoogleMaps does not have permission to use your location", I repeat the process, and Morph freezes if I click Allow, with Permission Request still visible.
-in PureMaps' Navigation menu if I use Current Position and wait for the wheel to stop scrolling (position acquired), then click to enter a destination, the app will crash, not freeze. It just closes itself. But then if I re-open the app, I can do the same and it doesn't crash and successfully navigates. I've navigated long distances using PureMaps. I think it may have crashed unexpectedly during navigation once or twice, but generally it works for me. I can't recall it ever freezing.
Not sure why my experience is different, but I've spent some time testing and this all seems to happens consistently for me.
-
@kristatos I see this freeze on a Google Pixel 3A as well (UT 20.04 OTA-8 fully up-to-date), at least in uNav -- I haven't tried the other apps yet.
-
@kristatos said in 20.04 Focal: uNav freezes with GPS enabled:
@CiberSheep @TheBird @zubozrout Can you please mention on which device these freezes happen to you?
Currently I'm on a POCO (but I experienced freezes since Focal.
On uNav
- With gps, wifi, mobile network all on
- Tap on the map
- Start navigation
- Cancel navigation
Now UI is freezed
- Switch off GPS
- Switch on GPS
GPS icon doesn't appear on the indicators bar
If you open again uNav and tap on a location and try to navigate, UI will freeze until GPS fails to turn on and switches off.
With this I mean, if you turn on GPS from the indicator, still doesn't appear on indicators bar but GPS switch is on. GPS fails. GPS switch turns off. uNav UI unfreezes. -
Also happens on Volla Quintus with Morph, unav, etc, on latest 20.04 OTA-9. To reproduce in morph you can go to maps.google.com, tap the location thing once, once it got your location, tap it again. The entire UI freezes, including the tab chooser thing. Freezing a whole browser with multiple tabs is kind of annoying.
Since this seems to have been broken for more than 2 years now.
- Is there any phone where it actually works without freezing?
- Any info on how this can be debugged? On desktop linux I'd start by starting the app with
strace
and see what call it freezes on. Can that be done on ubuntu touch too?
-
@haagch said in 20.04 Focal: uNav freezes with GPS enabled:
Also happens on Volla Quintus with Morph, unav, etc, on latest 20.04 OTA-9. To reproduce in morph you can go to maps.google.com, tap the location thing once, once it got your location, tap it again. The entire UI freezes, including the tab chooser thing. Freezing a whole browser with multiple tabs is kind of annoying.
Since this seems to have been broken for more than 2 years now.
- Is there any phone where it actually works without freezing?
- Any info on how this can be debugged? On desktop linux I'd start by starting the app with
strace
and see what call it freezes on. Can that be done on ubuntu touch too?
If i'm not wrong @AppLee in the Q&A said that he uses uNav, pureMaps without issue. Does it mean that is is a device issue ? ( i do have the issue too on P3a since Focal)
-
@lduboeuf Yes, he said it's working for him under noble. But It think he's using a Fairphone 4 or 5.
I don't think it's a device issue because there are multiple affected devices and under these, there are Mediatek and Qualcomm chipsets.
But, like @haagch said, it would be nice to know, how to debug this issue to help get this annoying bug fixed. -
@kristatos said in 20.04 Focal: uNav freezes with GPS enabled:
@lduboeuf Yes, he said it's working for him under noble. But It think he's using a Fairphone 4 or 5.
I don't think it's a device issue because there are multiple affected devices and under these, there are Mediatek and Qualcomm chipsets.
But, like @haagch said, it would be nice to know, how to debug this issue to help get this annoying bug fixed.Just tested on Noble, FP4 with Unav and i have the freeze issue.
@AppLee do you confirm it is working for you on FP5 ? -
Hi @lduboeuf
Not sure what the problem is, there might be several...
I noticed some freezes, but I can overcome them and I managed to have to location updated while walking.
When freeze occurs it's often after making a search or new navigation or this kind of operation.
Edit: to be thorough only uNav freezes.I don't remember exactly but I think I make my search before asking to locate me.
Basically there is an order that work ; search the location, then start the navigation, then location activation.I'm using a FP5 on Noble and Pure Maps doesn't work on Noble yet.
-
@AppLee said in 20.04 Focal: uNav freezes with GPS enabled:
I don't remember exactly but I think I make my search before asking to locate me.
Basically there is an order that work ; search the location, then start the navigation, then location activation.That was the way I thought it would work reliable, but also this order freezes sometimes.
When you first locate your position and then try to do something else (e.g. search a destination, calculate a route ...) the crash is save for about 99,9%.Long story short, there's nobody who can say, that the navigation is working for him like expected and without issues. And for me, that was the case under Xenial. There have never been any freezes in conjunction with GPS. So, how can we figure out what causes this freezes?
-
@kristatos said in 20.04 Focal: uNav freezes with GPS enabled:
And for me, that was the case under Xenial.
On Focal it navigation works fine with Pure Maps, I tested it earlier this year.
But since I'm testing Noble, I don't use Focal so much... -
As long as you don't cancel the navigation uNav will work (and it has been all this time).
If you cancel, then close and reopen uNav.said in 20.04 Focal: uNav freezes with GPS enabled:
With gps, wifi, mobile network all on
Tap on the map
Start navigation