Testing the upgrade to Qt 5.12
-
@dobey said in Testing the upgrade to Qt 5.12:
After upgrading the packages, and rebuilding the apparmor profiles (this can be done by running sudo aa-clickhook -f), it should be working again (it does here).
I trued updating by updating to the latest ubuntu ota, then repeating the instructions at the top, I rebooted and used sudo aa-clickhook -f and it didn't work, I tried the ubuntu-qa update command and it said everything was up to date, I tried to also use sudo aa-clickhook -f and see if it worked without rebooting, but that didn't work either, so perhaps there's extra problems with the OP3 and apparmor profiles?
I discovered a few other issues, I'm sure that your fix for the editing pictures will probably fix this problem, but I couldn't view a downloaded pdf in the document viewer, firstly it wont open from the browser, but if you save it to the documents folder, than you can open it, but it's just a black page, and you can't view it unless you tap on slideshow view.
Also the camera, if I try to take a photo, I get an error saying "Capture failed, restarting your device might fix the problem." it doesn't fix the problem, but its probably apparmor issues, that might be different on the OP3, than the devices that you're debugging on, or different between arm64 and armph?
-
@PhoenixLandPirat said in Testing the upgrade to Qt 5.12:
I trued updating by updating to the latest ubuntu ota, then repeating the instructions at the top, I rebooted and used sudo aa-clickhook -f and it didn't work, I tried the ubuntu-qa update command and it said everything was up to date, I tried to also use sudo aa-clickhook -f and see if it worked without rebooting, but that didn't work either, so perhaps there's extra problems with the OP3 and apparmor profiles?
OK, I'm not sure what wouldn't work here. Are there apparmor denials in
/var//log/syslog
that happen when you attempt to open the photo editor page? Do you have a log of the gallery app?I couldn't view a downloaded pdf in the document viewer
Yes, this is because the PDF plug-in in docviewer is using private Qt API. I've just proposed a huge change to an updated PDF plug-in that was being worked on a few years ago, which removes the private API usage, and allows PDFs to work again on Qt 5.12.
Also the camera, if I try to take a photo, I get an error saying "Capture failed, restarting your device might fix the problem." it doesn't fix the problem, but its probably apparmor issues, that might be different on the OP3, than the devices that you're debugging on, or different between arm64 and armph?
I think the OP3/3t needs a different camera app and backend, which is not yet a default part of the system, to work properly, still. I don't think this issue is related to Qt 5.12. I don't have that device, though camera is working fine on my Nexus 4.
-
Nexus 6p here, just upgraded.
Some of the reported problems works on my device:
- App drawer looks fine
- Camera works edit: Worked for a while, then the device lost connection to the camera. Not sure if it's qt related, but it hasn't happened before.
- Editing images from the gallery app works (rotate, crop, brightness)
What doesn't work that I've tested
- TelePORTS: Blank screen
- Calendar & Clock: Crashes on open (both load their interfaces before crashing)
-
@dobey said in Testing the upgrade to Qt 5.12:
Are there apparmor denials in /var//log/syslog that happen when you attempt to open the photo editor page?
Yes, it does give me some error's pastebin.ubuntu.com/p/zkpX8SVb8f/
Do you have a log of the gallery app?
I got a log for that at pastebin.ubuntu.com/p/5ZyYzmPg8b/
I've just proposed a huge change to an updated PDF plug-in
I got an email saying that you proposed a fix to replace the private API, and I thought, damn I was just 10 minutes to early, fantastic work from everyone who's worked on this all!
I think the OP3/3t needs a different camera app and backend, which is not yet a default part of the system
Maybe, IDK but the camera shows the preview, and can focus, it just doesn't save the photo when I press the button, and it hadn't been an issue before I updated to qt 5.12, but maybe when I install qt 5.12 it replaces the camera with a more mainline camera that doesnt work?
-
@potet said in Testing the upgrade to Qt 5.12:
Calendar & Clock: Crashes on open (both load their interfaces before crashing)
Do you have the log files for these apps for when this happens? Thanks.
-
I get some logs with OP3
Calendar:
http://paste.ubuntu.com/p/ZcpQjf6YZQ/
Clock:
http://paste.ubuntu.com/p/BXkbDNgmVZ/ -
@danqo6 OK, that looks like a problem with apparmor on that port. Do those apps work with current devel image? It seems like it should have the same issues.
-
Yes, all apps are working with updated system, it is treble OP3T port, but it was same with halium 7.1 port
-
@danqo6 Does the working version have those lines about
/run/user/....
in the logs? -
CalendarBoth apps have it, apparmor errors looks similar too -
@danqo6 OK. That's quite odd. Are there any apparmor complaints in
/var/log/syslog
when you start either of those apps? -
I couldn't open the log in any app and am not really comfortabld in the terminal on phone, but here is what i found for the clock:
From my syslog:
674]: CachedAgent::authenticate_request_with_parameters: Application pid: 7235 Application uid: 32011 Application id: com.ubuntu.clock_clock Cached request: Request(from: com.ubuntu.clock_clock, feature: 0, when: 1601922651428171822, answer: granted) Oct 23 22:34:01 ubuntu-phablet dbus[2784]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/6270/2" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.85" pid=7235 label="com.ubuntu.clock_clock_3.12.5" peer_pid=6270 peer_label="unconfined" Oct 23 22:34:01 ubuntu-phablet dbus[2784]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/6346/2" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.88" pid=7235 label="com.ubuntu.clock_clock_3.12.5" peer_pid=6346 peer_label="unconfined" Oct 23 22:34:01 ubuntu-phablet dbus[2784]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/6270/3" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.85" pid=7235 label="com.ubuntu.clock_clock_3.12.5" peer_pid=6270 peer_label="unconfined" Oct 23 22:34:01 ubuntu-phablet dbus[2784]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/6270/4" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.85" pid=7235 label="com.ubuntu.clock_clock_3.12.5" peer_pid=6270 peer_label="unconfined" Oct 23 22:34:01 ubuntu-phablet dbus[2784]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/6270/5" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.85" pid=7235 label="com.ubuntu.clock_clock_3.12.5" peer_pid=6270 peer_label="unconfined" Oct 23 22:34:01 ubuntu-phablet dbus[2784]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/6270/8" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.85" pid=7235 label="com.ubuntu.clock_clock_3.12.5" peer_pid=6270 peer_label="unconfined" Oct 23 22:34:02 ubuntu-phablet dbus[2784]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/g
That's all that could fit on one screen, and I still haven't figured out how to open the menu that allows me to mark/copy text in the terminal app, so it's a bit of a struggle. Will trade more logs in exchange for tips on using the terminal!
-
OK. With a bit of help from Ratchanan we finally found the issue that was only happening on the bq e4.5/e5 devices, and I've made a fix for libhybris in a branch for qt 5.12 as well. I also noticed that the issue with the photo editing in gallery-app was also cleared after the fix, so the issues others have been seeing on OP3T, Nexus 6p and other devices might also be related.
Please upgrade and let us know if the issues are resolved or still occur. Thanks!
-
@dobey would love to try, but using android9 branch. Would be possible to sneak that commit there?
-
@danqo6 said in Testing the upgrade to Qt 5.12:
@dobey would love to try, but using android9 branch. Would be possible to sneak that commit there?
OK. There are a couple other differences for android9 based devices, so I had to make a couple extra branches. To use qt 5.12 on them you'll also need to add the
xenial_-_qt-5-12_-_android9
repository in the apt sources, along withxenial_-_qt-5-12
. -
Testing on OPO bacon:
- TELEPorts starts with white screen [1]
- Calender starts but shuts down immediately [2]
- Coil (touch input game) is slower
Overall it feels a bit slower
[1] Log [UNHANDLED] "updateChatChatList"
[2] Log /run/user/.../dconf/user Permission denied and libcal -CRITICAL E_IS_CAL_COMPONENT (comp) failed -
I tested with OP3T, it still crashes.
/var/log/syslog
:
Clock app:Oct 29 15:33:03 ubuntu-phablet kernel: [13603.685099] audit: type=1400 audit(1603981983.341:7967): apparmor="DENIED" operation="open" profile="com.ubuntu.clock_clock_3.12.5" name="/usr/share/qt5/translations/qt_sk.qm" pid=13150 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 Oct 29 15:33:03 ubuntu-phablet kernel: [13603.742383] audit: type=1400 audit(1603981983.397:7968): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.clock_clock_3.12.5" name="/home/phablet/.cache/com.ubuntu.clock/qmlcache/#267838" pid=13150 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:33:03 ubuntu-phablet kernel: [13603.742427] audit: type=1400 audit(1603981983.397:7969): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.clock_clock_3.12.5" name="/home/phablet/.cache/com.ubuntu.clock/qmlcache/#267838" pid=13150 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:33:03 ubuntu-phablet kernel: [13603.742488] audit: type=1400 audit(1603981983.397:7971): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.clock_clock_3.12.5" name="/home/phablet/.cache/com.ubuntu.clock/qmlcache/#267838" pid=13150 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:33:03 ubuntu-phablet kernel: [13603.742621] audit: type=1400 audit(1603981983.401:7973): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.clock_clock_3.12.5" name="/home/phablet/.cache/com.ubuntu.clock/qmlcache/#267838" pid=13150 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:33:03 ubuntu-phablet kernel: [13603.742681] audit: type=1400 audit(1603981983.401:7975): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.clock_clock_3.12.5" name="/home/phablet/.cache/com.ubuntu.clock/qmlcache/#267838" pid=13150 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:33:05 ubuntu-phablet core::trust::Daemon::Skeleton[4531]: CachedAgent::authenticate_request_with_parameters: Application pid: 13150 Application uid: 32011 Application id: com.ubuntu.clock_clock Cached request: Request(from: com.ubuntu.clock_clock, feature: 0, when: 1603048646527391548, answer: granted) Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/3" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/2" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/4" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/5" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/6" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5081/2" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.101" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5081 peer_label="unconfined" Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/7" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/11" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:06 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/9" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:07 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/10" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:07 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/8" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=5049 peer_label="unconfined" Oct 29 15:33:07 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/libertine/Service/Operations" interface="com.canonical.libertine.Service.Operations" member="list" mask="send" name="com.canonical.libertine.Service" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=4818 peer_label="unconfined" Oct 29 15:33:07 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/libertine/Service/OperationsMonitor" interface="com.canonical.libertine.Service.OperationsMonitor" member="running" mask="send" name="com.canonical.libertine.Service" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=4818 peer_label="unconfined" Oct 29 15:33:07 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/libertine/Service/OperationsMonitor" interface="com.canonical.libertine.Service.OperationsMonitor" member="last_error" mask="send" name="com.canonical.libertine.Service" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=4818 peer_label="unconfined" Oct 29 15:33:07 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/libertine/Service/OperationsMonitor" interface="com.canonical.libertine.Service.OperationsMonitor" member="result" mask="send" name="com.canonical.libertine.Service" pid=13150 label="com.ubuntu.clock_clock_3.12.5" peer_pid=4818 peer_label="unconfined" Oct 29 15:33:08 ubuntu-phablet dbus[887]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper) Oct 29 15:33:08 ubuntu-phablet dbus[887]: [system] Successfully activated service 'com.canonical.PropertyService'
Calendar:
Oct 29 15:37:24 ubuntu-phablet kernel: [13864.660314] audit: type=1400 audit(1603982244.317:9745): apparmor="DENIED" operation="open" profile="com.ubuntu.calendar_calendar_0.8.4" name="/usr/share/qt5/translations/qt_sk.qm" pid=13339 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734112] audit: type=1400 audit(1603982244.391:9746): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734176] audit: type=1400 audit(1603982244.391:9747): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734615] audit: type=1400 audit(1603982244.391:9748): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734674] audit: type=1400 audit(1603982244.391:9749): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734716] audit: type=1400 audit(1603982244.391:9750): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734755] audit: type=1400 audit(1603982244.391:9751): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734794] audit: type=1400 audit(1603982244.391:9752): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734831] audit: type=1400 audit(1603982244.391:9753): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:24 ubuntu-phablet kernel: [13864.734868] audit: type=1400 audit(1603982244.391:9754): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:25 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/3" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:25 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/2" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:25 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/4" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:25 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/5" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:25 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/6" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:26 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5081/2" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.101" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5081 peer_label="unconfined" Oct 29 15:37:26 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/7" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:26 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/11" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:26 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/9" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:26 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/10" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:26 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/evolution/dataserver/Subprocess/5049/8" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.100" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=5049 peer_label="unconfined" Oct 29 15:37:29 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/libertine/Service/Operations" interface="com.canonical.libertine.Service.Operations" member="list" mask="send" name="com.canonical.libertine.Service" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=4818 peer_label="unconfined" Oct 29 15:37:29 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/libertine/Service/OperationsMonitor" interface="com.canonical.libertine.Service.OperationsMonitor" member="running" mask="send" name="com.canonical.libertine.Service" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=4818 peer_label="unconfined" Oct 29 15:37:29 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/libertine/Service/OperationsMonitor" interface="com.canonical.libertine.Service.OperationsMonitor" member="last_error" mask="send" name="com.canonical.libertine.Service" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=4818 peer_label="unconfined" Oct 29 15:37:29 ubuntu-phablet dbus[3155]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/libertine/Service/OperationsMonitor" interface="com.canonical.libertine.Service.OperationsMonitor" member="result" mask="send" name="com.canonical.libertine.Service" pid=13339 label="com.ubuntu.calendar_calendar_0.8.4" peer_pid=4818 peer_label="unconfined" Oct 29 15:37:29 ubuntu-phablet kernel: [13869.765703] audit_printk_skb: 7068 callbacks suppressed Oct 29 15:37:29 ubuntu-phablet kernel: [13869.765726] audit: type=1400 audit(1603982249.421:12111): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:29 ubuntu-phablet kernel: [13869.765940] audit: type=1400 audit(1603982249.421:12112): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:29 ubuntu-phablet kernel: [13869.766028] audit: type=1400 audit(1603982249.424:12113): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:29 ubuntu-phablet kernel: [13869.766073] audit: type=1400 audit(1603982249.424:12114): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:29 ubuntu-phablet kernel: [13869.766200] audit: type=1400 audit(1603982249.424:12117): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:29 ubuntu-phablet kernel: [13869.766251] audit: type=1400 audit(1603982249.424:12118): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:29 ubuntu-phablet kernel: [13869.766290] audit: type=1400 audit(1603982249.424:12119): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:29 ubuntu-phablet kernel: [13869.766327] audit: type=1400 audit(1603982249.424:12120): apparmor="DENIED" operation="link" info="Failed name lookup - deleted entry" error=-2 profile="com.ubuntu.calendar_calendar_0.8.4" name="/home/phablet/.cache/com.ubuntu.calendar/qmlcache/#268114" pid=13339 comm="QQmlThread" requested_mask="l" denied_mask="l" fsuid=32011 ouid=32011 Oct 29 15:37:30 ubuntu-phablet dbus[887]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper) Oct 29 15:37:30 ubuntu-phablet dbus[887]: [system] Successfully activated service 'com.canonical.PropertyService' Oct 29 15:37:32 ubuntu-phablet signond[13318]: QObject::disconnect: Unexpected null parameter
-
Some updates so hopefully some of the known issues won't keep being repeated:
- Teleports/Dekko blank screen issue is due to using old
quickflux
library in their sources, so they need to be updated. It's being worked on. - Colors (Stroop effect game) is trying to use
Object
instead ofQtObject
for one component, so goes to a blank screen when attempting to play uCopay only has a blank window for some reasonEDIT: uCopay takes a while to start- 2FA Manager crashes on startup
Also, updated kirigami is included in the qt 5.12 repo for testing, but please do not upload apps to the store which require it yet, as there will be a new framework when Qt 5.12 is merged in, and any compiled apps or ones using newer imports will need to use the new framework version.
- Teleports/Dekko blank screen issue is due to using old
-
I tested some apps on E5HD
2FA Manager: crashes on startClock: crashes after some seconds to be opened:http://paste.ubuntu.com/p/qQnrVFQ2xt/GearSystem: crashes on startunrelated
-
OK. I've written a little script, to run a click packaged app in confinement, from the command line:
#!/bin/bash # # usage: ./run-click.sh <app package name> [app name] set -e APP_PKG=${1} APP_NAME=${2} APP_ID=$(ubuntu-app-triplet ${APP_PKG} ${APP_NAME} 2>/dev/null | grep -E "^\S+$" || echo "${APP_PKG}") HOST_ARCH=$(dpkg -L libgcc1|grep so|cut -d/ -f3) CLICK_PATH=/opt/click.ubuntu.com/.click/users/${USER}/${APP_PKG} if [ ! -h ${CLICK_PATH} ]; then CLICK_PATH=/usr/share/click/preinstalled/.click/users/@all/${APP_PKG} fi # Export some necessary environment variables for running the app export APP_ID=${APP_ID} export APP_DIR=${CLICK_PATH} export DESKTOP_FILE_HINT=${APP_ID} export LD_LIBRARY_PATH=${CLICK_PATH}/lib/${HOST_ARCH}:${CLICK_PATH}/lib export PATH=${CLICK_PATH}/lib/${HOST_ARCH}/bin:${CLICK_PATH}:${PATH} export QML2_IMPORT_PATH=${QML2_IMPORT_PATH}:${CLICK_PATH}/lib/${HOST_ARCH} export TMPDIR=${XDG_RUNTIME_DIR}/confined/${APP_PKG} export XDG_DATA_DIRS=${CLICK_PATH}:/usr/share/ubuntu-touch:/usr/local/share:/usr/share export XDG_SESSION_DESKTOP=ubuntu-touch # Get the exec line to run under confinement EXEC=$(grep -m 1 "^Exec=" ~/.local/share/applications/${APP_ID}.desktop|cut -b6-) (cd ${CLICK_PATH} && ${EXEC})
If those of you having problems on various devices where the logs aren't really telling us anything, could save this script to
run-click.sh
on the device, and then use it to run the crashsing apps in question from terminal or ssh session, such as./run-click.sh com.ubuntu.clock
it should hopefully give us a little more insight to what is going wrong here.Thanks!