← Back to issue list

snapped app with qtwebengine fails to run

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1836206
Type
issue
State
open
Author
~teoretyk
Labels
—
Created
Updated
Closed
—

Current evaluation

QtWebEngine apps abort at startup: the helper and resources are initially missing, and after a bind-mount workaround Chromium still fails in DenySetgroups. The report remains untriaged.

Suggested action: needs triage

Reason: The issue has no labels or maintainer response, and the comments contain only another user's report and workaround attempts. The explicit DenySetgroups crash is app-breaking, but current Snapcraft launchers now configure QtWebEngine paths and resources, so the old snap and confinement behavior need fresh reproduction and ownership.

Evaluated by: mr-cal-bot

Impact: 58 Quick Win: 7 Complexity: 74 Confidence: 80 Actionability: 49

Issue body

I've tried to snap a simple Qt application making use of QtWebEngine (see https://github.com/grzegorzmazur/qtwebengine_snap). Building the snap according to the documentation on snapping Qt applications seems to work well, but attempt to run the application produces: Qt: Session management error: None of the authentication protocols specified are supported libpng warning: iCCP: known incorrect sRGB profile Could not find QtWebEngineProcess Aborted (core dumped) Manually setting export QTWEBENGINEPROCESS_PATH=/snap/qtwebengine-snap/current/usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess results in Qt: Session management error: None of the authentication protocols specified are supported libpng warning: iCCP: known incorrect sRGB profile Installed Qt WebEngine locales directory not found at location /usr/share/qt5/translations/qtwebengine_locales. Trying application directory... Qt WebEngine locales directory not found at location /snap/qtwebengine-snap/x1/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. Path override failed for key ui::DIR_LOCALES and path '/home/mazur/snap/qtwebengine-snap/x1/.qtwebengine_snap' Qt WebEngine resources not found at /usr/share/qt5/resources. Trying parent directory... Qt WebEngine resources not found at /usr/share/qt5. Trying application directory... Qt WebEngine resources not found at /snap/qtwebengine-snap/x1/bin. Trying fallback directory... The application MAY NOT work. [0711/152354.110396:ERROR:resource_bundle.cc(759)] Failed to load /home/mazur/snap/qtwebengine-snap/x1/.qtwebengine_snap/qtwebengine_resources.pak Some features may not be available. [0711/152354.119717:ERROR:resource_bundle.cc(759)] Failed to load /home/mazur/snap/qtwebengine-snap/x1/.qtwebengine_snap/qtwebengine_resources_100p.pak Some features may not be available. [0711/152354.119751:ERROR:resource_bundle.cc(759)] Failed to load /home/mazur/snap/qtwebengine-snap/x1/.qtwebengine_snap/qtwebengine_resources_200p.pak Some features may not be available. [0711/152354.233507:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale [23311:23311:0711/152354.379528:FATAL:credentials.cc(155)] Check failed: NamespaceUtils::DenySetgroups(). : Permission denied #0 0x7f883de2daee <unknown> #1 0x7f883de400e2 <unknown> #2 0x7f883de4145c <unknown> #3 0x7f883e9b5b21 <unknown> #4 0x7f883e9b62dd <unknown> #5 0x7f883da4a527 <unknown> #6 0x7f883d6f5d48 <unknown> #7 0x7f883d6f9262 <unknown> #8 0x7f883d4e7a9b <unknown> #9 0x7f883d4e8bd5 <unknown> #10 0x7f883d4d7bdd <unknown> #11 0x7f883d4d7f0e QtWebEngineCore::WebContentsAdapter::WebContentsAdapter() #12 0x7f8845342091 <unknown> #13 0x7f8845342c04 QWebEnginePage::QWebEnginePage() #14 0x7f8845351cfb QWebEngineView::page() #15 0x7f8845352751 QWebEngineView::showEvent() #16 0x7f8844c6f038 QWidget::event() #17 0x7f8845352609 QWebEngineView::event() #18 0x7f8844c3082c QApplicationPrivate::notify_helper() #19 0x7f8844c380f4 QApplication::notify() #20 0x7f8843eb29a8 QCoreApplication::notifyInternal2() #21 0x7f8844c6bf08 QWidgetPrivate::show_helper() #22 0x7f8844c6ebdb QWidget::setVisible() #23 0x7f8844c6be30 QWidgetPrivate::showChildren() #24 0x7f8844c6bedf QWidgetPrivate::show_helper() #25 0x7f8844c6ebdb QWidget::setVisible() #26 0x7f8844c6be30 QWidgetPrivate::showChildren() #27 0x7f8844c6bedf QWidgetPrivate::show_helper() #28 0x7f8844c6ebdb QWidget::setVisible() #29 0x55ee0519d12d <unknown> #30 0x7f88432b7b97 __libc_start_main #31 0x55ee0519d1ea <unknown> Installed Qt WebEngine locales directory not found at location /usr/share/qt5/translations/qtwebengine_locales. Trying application directory... Qt WebEngine locales directory not found at location /snap/qtwebengine-snap/x1/usr/lib/x86_64-linux-gnu/qt5/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. Path override failed for key ui::DIR_LOCALES and path '/home/mazur/snap/qtwebengine-snap/x1/.QtWebEngineProcess' Qt WebEngine resources not found at /usr/share/qt5/resources. Trying parent directory... Qt WebEngine resources not found at /usr/share/qt5. Trying application directory... Qt WebEngine resources not found at /snap/qtwebengine-snap/x1/usr/lib/x86_64-linux-gnu/qt5/libexec. Trying fallback directory... The application MAY NOT work. [0711/152354.976594:ERROR:resource_bundle.cc(759)] Failed to load /home/mazur/snap/qtwebengine-snap/x1/.QtWebEngineProcess/qtwebengine_resources.pak Some features may not be available. [0711/152354.979154:ERROR:resource_bundle.cc(759)] Failed to load /home/mazur/snap/qtwebengine-snap/x1/.QtWebEngineProcess/qtwebengine_resources_100p.pak Some features may not be available. [0711/152354.979172:ERROR:resource_bundle.cc(759)] Failed to load /home/mazur/snap/qtwebengine-snap/x1/.QtWebEngineProcess/qtwebengine_resources_200p.pak Some features may not be available. [0711/152354.980096:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale [23190:23190:0711/152355.520588:FATAL:service_manager_context.cc(230)] Check failed: !contents.empty(). #0 0x7f883de2daee <unknown> #1 0x7f883de400e2 <unknown> #2 0x7f883d97d5bb <unknown> #3 0x7f883d6f69cb <unknown> #4 0x7f883d6f7e83 <unknown> #5 0x7f883da0a9e9 <unknown> #6 0x7f883d6f401b <unknown> #7 0x7f883d6f92dc <unknown> #8 0x7f883d4e7a9b <unknown> #9 0x7f883d4e8bd5 <unknown> #10 0x7f883d4d7bdd <unknown> #11 0x7f883d4d7f0e QtWebEngineCore::WebContentsAdapter::WebContentsAdapter() #12 0x7f8845342091 <unknown> #13 0x7f8845342c04 QWebEnginePage::QWebEnginePage() #14 0x7f8845351cfb QWebEngineView::page() #15 0x7f8845352751 QWebEngineView::showEvent() #16 0x7f8844c6f038 QWidget::event() #17 0x7f8845352609 QWebEngineView::event() #18 0x7f8844c3082c QApplicationPrivate::notify_helper() #19 0x7f8844c380f4 QApplication::notify() #20 0x7f8843eb29a8 QCoreApplication::notifyInternal2() #21 0x7f8844c6bf08 QWidgetPrivate::show_helper() #22 0x7f8844c6ebdb QWidget::setVisible() #23 0x7f8844c6be30 QWidgetPrivate::showChildren() #24 0x7f8844c6bedf QWidgetPrivate::show_helper() #25 0x7f8844c6ebdb QWidget::setVisible() #26 0x7f8844c6be30 QWidgetPrivate::showChildren() #27 0x7f8844c6bedf QWidgetPrivate::show_helper() #28 0x7f8844c6ebdb QWidget::setVisible() #29 0x55ee0519d12d <unknown> #30 0x7f88432b7b97 __libc_start_main #31 0x55ee0519d1ea <unknown> Aborted (core dumped) All in all, there seems to be no (documented?) way of snapping an application using QtWebEngine.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 58
Quick Win: 7
Complexity: 74
Confidence: 80
Actionability: 49
needs triage QtWebEngine apps abort at startup: the helper and resources are initially missing, and after a bind-mount workaround Chromium still fails in DenySetgroups. The report remains untriaged.
stealth/space-bunny-alpha
Impact: 35
Quick Win: 2
Complexity: 80
Confidence: 62
Actionability: 30
needs triage QtWebEngine snap aborts at runtime (QtWebEngineProcess/locales/resources not found, then FATAL DenySetgroups). Workaround found via layouts; desktop extension launcher now exports the paths. No maintainer response since 2019.
stealth/space-bunny-alpha
Impact: 58
Quick Win: 16
Complexity: 57
Confidence: 84
Actionability: 64
needs triage QtWebEngine snap packaging fails to launch; a layout fixes resource lookup, but the reporter still sees a Chromium DenySetgroups abort. Current KDE Neon handling exists, but a complete generic fix is unverified.
stealth/space-bunny-alpha
Impact: 57
Quick Win: 7
Complexity: 72
Confidence: 88
Actionability: 45
needs triage A Qt5 snap using QtWebEngine aborts on missing process/resources and Chromium sandbox permissions. The old unlabelled report has no maintainer response and needs current-runtime verification.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 12
Staleness: 95
Complexity: 70
Confidence: 55
Support Request: 45
close stale 2018 report that a QtWebEngine snap crashes (missing QtWebEngineProcess, DenySetgroups permission denied) with no documented way to snap such apps. No labels, 0 comments, no maintainer response in ~7 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 65
Confidence: 90
Support Request: 25
close stale QtWebEngine application fails to run when packaged as a Snap, citing missing resources and permission errors. The issue has been inactive for over seven years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 100
Complexity: 60
Confidence: 90
Support Request: 40
close stale QtWebEngine snap fails to run due to missing process path and resource errors. Issue is extremely old (7+ years) with no maintainer interaction or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 65
Confidence: 75
Support Request: 20
needs triage Snapped QtWebEngine application crashes on launch due to missing resources and sandbox permission errors. Issue remains unlabelled and unassessed by maintainers after over seven years.

Update history

Date Change
created

Related work

  • Related To: snapcraft#5250 (confidence 85%)

    Snapcraft 8.7 later fixed missing QtWebEngine resource paths for the KDE Neon 6 extension; this overlaps the resource symptoms but does not establish that the remaining Chromium sandbox failure was fixed.

Related issues

No related issues found above the similarity threshold.