← 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

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.

Suggested action: close stale

Reason: The issue is 2608 days old with 0 comments and no maintainer interaction, and the codebase now references QTWEBENGINEPROCESS_PATH in 3 places, indicating QtWebEngine snapping support was added since this 2018 report, so the original 'no documented way' problem is no longer applicable. Confidence is moderate because repo inspection tools failed, so I could not directly confirm the fix.

Impact: 40 Quick Win: 12.0 Staleness: 95 Complexity: 70 Confidence: 55 Support Request: 45

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
qwen/qwen3.8-27b
Impact: 40
Quick Win: 12.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 55
close stale Unresolved report of a QtWebEngine application failing to run when packaged as a snap, citing missing resources and permission errors. Issue remains unlabelled and inactive for over seven years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.