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:
[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.
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 19042:0724/ 145919. 738713: FATAL:credentia ls.cc(155) ] Check failed: NamespaceUtils: :DenySetgroups( ). : Permission denied ::WebContentsAd apter:: WebContentsAdap ter() :QWebEnginePage () :page() :showEvent( ) :event( ) vate::notify_ helper( ) :notify( ) n::notifyIntern al2() :show_helper( ) :setVisible( ) :showChildren( ) :show_helper( ) :setVisible( ) :showChildren( ) :show_helper( ) :setVisible( )
libpng warning: iCCP: known incorrect sRGB profile
[19042:
#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
#12 0x7f514ab41091 <unknown>
#13 0x7f514ab41c04 QWebEnginePage:
#14 0x7f514ab50cfb QWebEngineView:
#15 0x7f514ab51751 QWebEngineView:
#16 0x7f514a46e038 QWidget::event()
#17 0x7f514ab51609 QWebEngineView:
#18 0x7f514a42f82c QApplicationPri
#19 0x7f514a4370f4 QApplication:
#20 0x7f51496b19a8 QCoreApplicatio
#21 0x7f514a46af08 QWidgetPrivate:
#22 0x7f514a46dbdb QWidget:
#23 0x7f514a46ae30 QWidgetPrivate:
#24 0x7f514a46aedf QWidgetPrivate:
#25 0x7f514a46dbdb QWidget:
#26 0x7f514a46ae30 QWidgetPrivate:
#27 0x7f514a46aedf QWidgetPrivate:
#28 0x7f514a46dbdb QWidget:
#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 19052:0724/ 145920. 680498: ERROR:zygote_ host_impl_ linux.cc( 277)] Failed to adjust OOM score of renderer with pid 19062: Permission denied 19054:0724/ 145922. 070590: ERROR:shared_ memory_ posix.cc( 283)] Creating shared memory in /dev/shm/ .org.chromium. Chromium. aPAPus failed: Permission denied 19062:0724/ 145922. 070667: ERROR:broker_ posix.cc( 44)] Received unexpected number of handles 19054:0724/ 145922. 071202: ERROR:shared_ memory_ posix.cc( 283)] Creating shared memory in /dev/shm/ .org.chromium. Chromium. epIjmk failed: Permission denied 19062:0724/ 145922. 071266: ERROR:broker_ posix.cc( 44)] Received unexpected number of handles 19054:0724/ 145922. 071501: ERROR:shared_ memory_ posix.cc( 283)] Creating shared memory in /dev/shm/ .org.chromium. Chromium. kn2Qdc failed: Permission denied 19062:0724/ 145922. 071552: ERROR:broker_ posix.cc( 44)] Received unexpected number of handles 19054:0724/ 145922. 071743: ERROR:shared_ memory_ posix.cc( 283)] Creating shared memory in /dev/shm/ .org.chromium. Chromium. Z64q53 failed: Permission denied 19062:0724/ 145922. 071783: ERROR:broker_ posix.cc( 44)] Received unexpected number of handles
[18779:
[18779:
[19062:
[18779:
[19062:
[18779:
[19062:
[18779:
[19062:
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