UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    20.04 Focal: uNav freezes with GPS enabled

    Scheduled Pinned Locked Moved App Development
    28 Posts 15 Posters 2.1k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • lduboeufL Offline
        lduboeuf @haagch
        last edited by

        @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)

        K 1 Reply Last reply Reply Quote 0
        • K Online
          kristatos @lduboeuf
          last edited by

          @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.

          BQ Aquaris E4.5 (UT 16.04)
          Vollaphone (UT 20.04)

          lduboeufL 1 Reply Last reply Reply Quote 0
          • lduboeufL Offline
            lduboeuf @kristatos
            last edited by

            @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 ?

            AppLeeA 1 Reply Last reply Reply Quote 1
            • AppLeeA Offline
              AppLee @lduboeuf
              last edited by AppLee

              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.

              K 1 Reply Last reply Reply Quote 2
              • K Online
                kristatos @AppLee
                last edited by

                @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?

                BQ Aquaris E4.5 (UT 16.04)
                Vollaphone (UT 20.04)

                AppLeeA 1 Reply Last reply Reply Quote -1
                • AppLeeA Offline
                  AppLee @kristatos
                  last edited by

                  @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...

                  H 1 Reply Last reply Reply Quote 0
                  • CiberSheepC Offline
                    CiberSheep @CiberSheep
                    last edited by

                    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

                    Another planet, another time, another universe!

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      haagch @AppLee
                      last edited by

                      Getting just a bit more into UT, I guess I could get gdb on it, either by just finding a static gdb build and putting it in the user dir, or by making the system writable and installing it, and then attaching to the hanging process, but for the moment I'm just looking around.

                      uNav is really a QtWebEngineProcess and trivially freezing for me.

                      Pure Maps seems to be a native Qt application and it has been very rarely freezing (but it has happened) - on the other hand I'm not sure it ever actually stops locating with GPS while running, so it's hard to say if it suffers the same issue or not - What I'm wondering is if this is just a QtWebEngine issue or a general issue.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        Talkless
                        last edited by

                        Not sure if relevant, but I've reported some time ago tha PureMaps freezes for me unless I rebuild PureMaps without AppArmor confinement: https://github.com/rinigus/pure-maps/issues/619

                        I just use OSMand via Waydroyd. UBPorts is less and less usable for me.

                        Volla Phone X

                        U 1 Reply Last reply Reply Quote 0
                        • U Offline
                          uxes @Talkless
                          last edited by

                          @Talkless same here, when i need navigation, i use osmand+

                          unav and puremaps are not usable, issues with missing gps signal in app (but other apps in same time can show my location), crashing or freezing and after some application switching

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post