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

App freezes after search #56

Open
Schlicki2808 opened this issue Mar 14, 2023 · 12 comments
Open

App freezes after search #56

Schlicki2808 opened this issue Mar 14, 2023 · 12 comments

Comments

@Schlicki2808
Copy link

I'm using uNav under Ubuntu Touch 20.04 and I have the following problem:

  1. Starting the app and pressing the "locate" button on the bottom right.
  2. When it has GPS, I search for a location by using the search button.
  3. I am tapping the found search result.
  4. The search page closes, the map appears and the app isn't responding anymore - it freezes.

If I perform the above steps but WITHOUT GPS, the app does NOT freeze. So I search my location, press "navigate" button and then wait for GPS, it works.

This is what I got from the log file:

[14.03.23 18:54] Creating a QMirClientScreen now
[14.03.23 18:54] [30806:30817:0314/185455.980488:ERROR:file_path_watcher_linux.cc(71)] Failed to read /proc/sys/fs/inotify/max_user_watches
[14.03.23 18:54] [30806:30832:0314/185456.271521:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 30833: Permission denied (13)
[14.03.23 18:54] qml: [JS] (file:///opt/click.ubuntu.com/navigator.costales/3.19/nav/index.html:52) Trying locales: de and de
[14.03.23 18:54] qml: [JS] (file:///opt/click.ubuntu.com/navigator.costales/3.19/nav/index.html:43) Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
[14.03.23 18:54] qml: [JS] (file:///opt/click.ubuntu.com/navigator.costales/3.19/nav/index.html:55) Loaded locale 1: de
[14.03.23 18:54] qml: [JS] (file:///opt/click.ubuntu.com/navigator.costales/3.19/nav/index.html:646) Loaded custom voices
[14.03.23 18:54] [30806:30819:0314/185457.702804:ERROR:nss_util.cc(166)] Error initializing NSS with a persistent database (sql:/home/phablet/.pki/nssdb): NSS error code: -8126
[14.03.23 18:54] qml: [JS] (file:///opt/click.ubuntu.com/navigator.costales/3.19/nav/index.html:211) Starting GPS...
[14.03.23 18:54] qml: grantFeaturePermission 3
[14.03.23 18:55] [30806:30832:0314/185540.633565:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 30863: Permission denied (13)
[14.03.23 18:55] dbus[30806]: Attempted to unregister path (path[0] = com path[1] = lomiri) which isn't registered
[14.03.23 18:55] propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.266" (uid=32011 pid=30806 comm="/usr/lib/qt5/bin/qmlscene --scaling qml/Main.qml " label="navigator.costales_navigator_3.19 (enforce)") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1242 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")"
[14.03.23 18:55] nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.266" (uid=32011 pid=30806 comm="/usr/lib/qt5/bin/qmlscene --scaling qml/Main.qml " label="navigator.costales_navigator_3.19 (enforce)") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1242 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")"
[14.03.23 18:55] "Object path cannot be empty"
[14.03.23 18:55] qml: grantFeaturePermission 3

@costales
Copy link
Owner

costales commented Mar 14, 2023 via email

@Schlicki2808
Copy link
Author

Hi,
thanks for the fast reply. I tried with the following terms:
"Wunderino arena" (it finds the stadium in Kiel, Germany)
"Lütter Kamp 2" (another street in Germany)

Kind regards

Daniel

@costales
Copy link
Owner

Hi, thank you for the feedback!
20.04 was not released yet, then I'll leave this bug open for the future.
Best regards!

@costales
Copy link
Owner

Relevant log:

Apr 28 18:22:17 ubuntu-phablet aa-exec[8687]: [8687:8711:0428/182217.435307:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 8757: Permission denied (13)
Apr 28 18:22:17 ubuntu-phablet aa-exec[8687]: dbus[8687]: Attempted to unregister path (path[0] = com path[1] = lomiri) which isn't registered
Apr 28 18:22:21 ubuntu-phablet aa-exec[8687]: propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.457\" (uid=32011 pid=8687 comm=\"/usr/lib/qt5/bin/qmlscene --scaling qml/Main.qml \" label=\"navigator.costales_navigator_3.17 (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1608 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
Apr 28 18:22:21 ubuntu-phablet aa-exec[8687]: nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.457\" (uid=32011 pid=8687 comm=\"/usr/lib/qt5/bin/qmlscene --scaling qml/Main.qml \" label=\"navigator.costales_navigator_3.17 (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1608 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
Apr 28 18:22:21 ubuntu-phablet aa-exec[8687]: "Object path cannot be empty"

@costales
Copy link
Owner

costales commented Apr 29, 2023

Behavior: After activate the GPS, coming back from QML (search/setting pages) freezes everything.
Click on dark mode (QML) doesn't freeze it.

@costales
Copy link
Owner

Different log with GPS enabled:

Apr 29 18:20:46 ubuntu-phablet aa-exec[4550]: dbus[4550]: Attempted to unregister path (path[0] = com path[1] = lomiri) which isn't registered

@costales
Copy link
Owner

@Shauns2
Copy link

Shauns2 commented Jun 2, 2023

Is there an update to this issue? I see the same freeze issues with unav.

@cibersheep
Copy link
Contributor

Could it be related to the gps itself? I need to test more but it seamed that gps from the indicator was «freezing» and turned off. I had to reboot the device for it to switch on again

@costales
Copy link
Owner

costales commented Oct 1, 2023

The UI should work with GPS or not... I would say is the upgrade of UT OS...

@cibersheep
Copy link
Contributor

@ruedigerkupper
Copy link

I can confirm it happens with pure maps just alike. So this is not specific to the app, it appears GPS (or compass?) access triggers it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants