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
Comments
Hi,
Could you put here the term you are looking for?
Thank you!
--
Costales.
…On Tue, Mar 14, 2023 at 7:09 PM Schlicki2808 ***@***.***> wrote:
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
—
Reply to this email directly, view it on GitHub
<#56>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM5GQSN7Z5QZET4ZTUUO63W4CX5VANCNFSM6AAAAAAV2ZKKTY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi, Kind regards Daniel |
Hi, thank you for the feedback! |
Relevant log:
|
Behavior: After activate the GPS, coming back from QML (search/setting pages) freezes everything. |
Different log with GPS enabled:
|
Where is the issue: https://github.com/costales/unav/blob/migrated-20.04/qml/Settings.qml#L30 |
Is there an update to this issue? I see the same freeze issues with unav. |
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 |
The UI should work with GPS or not... I would say is the upgrade of UT OS... |
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. |
I'm using uNav under Ubuntu Touch 20.04 and I have the following problem:
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:
The text was updated successfully, but these errors were encountered: