Comment 4 for bug 1836206

Revision history for this message
Grzegorz Mazur (teoretyk) wrote :

Marc, this is absolutely brilliant :) The layout specification apparently solves the Qt WebEngine resources issue. Unfortunately, the application still fails. After applying your fixes I get:

Qt: Session management error: None of the authentication protocols specified are supported
libpng warning: iCCP: known incorrect sRGB profile
[19042:19042:0724/145919.738713:FATAL:credentials.cc(155)] Check failed: NamespaceUtils::DenySetgroups(). : Permission denied
#0 0x7f514362caee <unknown>
#1 0x7f514363f0e2 <unknown>
#2 0x7f514364045c <unknown>
#3 0x7f51441b4b21 <unknown>
#4 0x7f51441b52dd <unknown>
#5 0x7f5143249527 <unknown>
#6 0x7f5142ef4d48 <unknown>
#7 0x7f5142ef8262 <unknown>
#8 0x7f5142ce6a9b <unknown>
#9 0x7f5142ce7bd5 <unknown>
#10 0x7f5142cd6bdd <unknown>
#11 0x7f5142cd6f0e QtWebEngineCore::WebContentsAdapter::WebContentsAdapter()
#12 0x7f514ab41091 <unknown>
#13 0x7f514ab41c04 QWebEnginePage::QWebEnginePage()
#14 0x7f514ab50cfb QWebEngineView::page()
#15 0x7f514ab51751 QWebEngineView::showEvent()
#16 0x7f514a46e038 QWidget::event()
#17 0x7f514ab51609 QWebEngineView::event()
#18 0x7f514a42f82c QApplicationPrivate::notify_helper()
#19 0x7f514a4370f4 QApplication::notify()
#20 0x7f51496b19a8 QCoreApplication::notifyInternal2()
#21 0x7f514a46af08 QWidgetPrivate::show_helper()
#22 0x7f514a46dbdb QWidget::setVisible()
#23 0x7f514a46ae30 QWidgetPrivate::showChildren()
#24 0x7f514a46aedf QWidgetPrivate::show_helper()
#25 0x7f514a46dbdb QWidget::setVisible()
#26 0x7f514a46ae30 QWidgetPrivate::showChildren()
#27 0x7f514a46aedf QWidgetPrivate::show_helper()
#28 0x7f514a46dbdb QWidget::setVisible()
#29 0x55efada7f12d <unknown>
#30 0x7f5148ab6b97 __libc_start_main
#31 0x55efada7f1ea <unknown>

[18779:18779:0724/145920.599254:ERROR:shared_memory_posix.cc(283)] Creating shared memory in /dev/shm/.org.chromium.Chromium.o4usDA failed: Permission denied
[18779:19052:0724/145920.680498:ERROR:zygote_host_impl_linux.cc(277)] Failed to adjust OOM score of renderer with pid 19062: Permission denied
[18779:19054:0724/145922.070590:ERROR:shared_memory_posix.cc(283)] Creating shared memory in /dev/shm/.org.chromium.Chromium.aPAPus failed: Permission denied
[19062:19062:0724/145922.070667:ERROR:broker_posix.cc(44)] Received unexpected number of handles
[18779:19054:0724/145922.071202:ERROR:shared_memory_posix.cc(283)] Creating shared memory in /dev/shm/.org.chromium.Chromium.epIjmk failed: Permission denied
[19062:19062:0724/145922.071266:ERROR:broker_posix.cc(44)] Received unexpected number of handles
[18779:19054:0724/145922.071501:ERROR:shared_memory_posix.cc(283)] Creating shared memory in /dev/shm/.org.chromium.Chromium.kn2Qdc failed: Permission denied
[19062:19062:0724/145922.071552:ERROR:broker_posix.cc(44)] Received unexpected number of handles
[18779:19054:0724/145922.071743:ERROR:shared_memory_posix.cc(283)] Creating shared memory in /dev/shm/.org.chromium.Chromium.Z64q53 failed: Permission denied
[19062:19062:0724/145922.071783:ERROR:broker_posix.cc(44)] Received unexpected number of handles

All these issues disappear (except for the first two quite harmless ones) when I install the snap in devmode, which IMHO means that this is the restriction put on creating files in /dev/shm (https://forum.snapcraft.io/t/snap-interface-for-dev-shm/6939) which is to blame. Which is quite unfortunate, because I can't see any workaround for this, and installing snaps in devmode is not something I would recommend to users. I'd be extremely grateful if you have any workarounds this.

Thanks a lot for the layout trick :)

Thanks,
Grzesiek