failed to execvp: /usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess

Bug #2064492 reported by themroc
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
akregator (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
angelfish (Ubuntu)
Fix Committed
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
cantor (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
digikam (Ubuntu)
Fix Committed
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
falkon (Ubuntu)
Fix Committed
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
ghostwriter (Ubuntu)
Fix Committed
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
kalgebra (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
kgeotag (Ubuntu)
Fix Committed
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
kmail (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
konqueror (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
kontact (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
marble (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
plasma-welcome (Ubuntu)
Fix Committed
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore
tellico (Ubuntu)
Fix Released
Undecided
Scarlett Gately Moore
Noble
Fix Committed
High
Scarlett Gately Moore

Bug Description

kontact cannot start after upgrade to Noble on arm based Lenovo ThinkPad X13s:

Error Message in terminal:

LaunchProcess: failed to execvp:
/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess
LaunchProcess: failed to execvp:
/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess

Same error message when starting kmail.

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-31-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Unknown Type, 4 × ARM Cortex-A78C
Memory: 15.0 GiB of RAM
Graphics Processor: FD690
Product Name: Lenovo ThinkPad X13s
Manufacturer: LENOVO
Product Name: 21BX001MGE
System Version: ThinkPad X13s Gen 1

Tags: noble
Revision history for this message
Domain Administrator (493poc-ycm05-d18eca) wrote (last edit ):

Same for digikam 8.2.0 on fresh install of Kubuntu 24.04 on Raspberrypi 4B

(Ignore the Faces lines - this isn't enabled by default in digikam)

$ digikam
digikam.metaengine: ExifTool process cannot be started ( "" )
digikam.facedb: Cannot found faces engine model "shapepredictor.dat"
digikam.facedb: Faces recognition feature cannot be used!
digikam.facedb: Cannot found faces engine DNN model "openface_nn4.small2.v1.t7"
digikam.facedb: Faces recognition feature cannot be used!
LaunchProcess: failed to execvp:
/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess
LaunchProcess: failed to execvp:
/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess
Trace/breakpoint trap (core dumped)

~$ ls -l /usr/lib/aarch64-linux-gnu/qt5/libexec/
total 340
-rwxr-xr-x 1 root root 67512 Mar 29 13:12 QtWebEngineProcess
-rwxr-xr-x 1 root root 67672 Mar 28 10:04 QtWebNetworkProcess
-rwxr-xr-x 1 root root 67672 Mar 28 10:04 QtWebPluginProcess
-rwxr-xr-x 1 root root 67672 Mar 28 10:04 QtWebProcess
-rwxr-xr-x 1 root root 67672 Mar 28 10:04 QtWebStorageProcess

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-1004-raspi (64-bit)
Graphics Platform: X11
Processors: 4 × ARM Cortex-A72
Memory: 3.7 GiB of RAM
Graphics Processor: V3D 4.2.14
Product Name: Raspberry Pi 4 Model B Rev 1.1

Revision history for this message
Domain Administrator (493poc-ycm05-d18eca) wrote :

Add Akregator

~$ akregator
LaunchProcess: failed to execvp:
/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess
LaunchProcess: failed to execvp:
/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess
Trace/breakpoint trap (core dumped)

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

What happens if you try to run /usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess directly from the terminal? It will probably fail, but with what error?

Also, can you please attach your /proc/cpuinfo file to this bug? Maybe Qt WebEngine needs some CPU features which are not available on your systems.

Revision history for this message
themroc (rauchweihe) wrote :

/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess
QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function.
QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function.
QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function.
QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function.
QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function.
QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function.
[3734:3744:0511/130055.500003:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thank you!

These errors are quite expected, they are because you run QtWebEngineProcess outside of the application. Unfortunately, they do not explain why the applications fail to launch this subprocess.

Also I compared the CPU flags with ones that I have on Debian’s ARM64 porterbox, and your system is missing only one (ssbs — Speculative Store Bypass Safe), but it should not be related.

Any ideas what else could be missing are welcome.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

One more idea (thanks Alfred from #ubuntu-qt). Can you please:

- Install strace package (if not installed yet).
- Run "strace -f akregator &>strace.txt" and wait for it to crash (it will be slow when running in strace).
- Either attach strace.txt here, or find the exit code of execve in the output and tell it.

For example, I have this:

[pid 2383148] execve("/usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess", ["/usr/lib/x86_64-linux-gnu/qt5/li"..., "--type=zygote", "--no-zygote-sandbox", "--application-name=simplebrowser", "--webengine-schemes=qrc:sLV", "--lang=en"], 0x55898c63de80 /* 69 vars */ <unfinished ...>
[pid 2383148] <... execve resumed>) = 0

Revision history for this message
themroc (rauchweihe) wrote :
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thank you, so here we go:

> execve("/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess", ["/usr/lib/aarch64-linux-gnu/qt5/l"..., "--type=zygote", "--disable-in-process-stack-trace"..., "--application-name=akregator", "--webengine-schemes=qrc:sLV", "--lang=de"], 0xc5a2432bb180 /* 70 vars */) = -1 EPERM (Vorgang nicht zulässig)

This may be because of AppArmor restrictions. Can you try to disable AppArmor using these commands and see if it helps?

sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

To re-enable it back, you can use the same commands but with 1 instead of 0.

Revision history for this message
themroc (rauchweihe) wrote :

Unfortunately it does not work:

mirko@erle:~$ sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
[sudo] Passwort für mirko:
kernel.apparmor_restrict_unprivileged_unconfined = 0
mirko@erle:~$ sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
kernel.apparmor_restrict_unprivileged_userns = 0
mirko@erle:~$ akregator
LaunchProcess: failed to execvp:
/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess
LaunchProcess: failed to execvp:
/usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

Revision history for this message
themroc (rauchweihe) wrote :

I remember that Akregator also crashed in Mantic, but Kontact and Kmail worked.
That's why I created the strace of kmail and kontact again.
But the error looks identical here.

Revision history for this message
themroc (rauchweihe) wrote :
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

We have finally found the problem (thanks Scarlett Moore). The apparmor profiles of Akregator, Kontact and Digikam have x86_64-linux-gnu hardcoded in the path for QtWebEngineProcess. So reassigning to those 3 packages.

affects: qtwebengine-opensource-src (Ubuntu) → akregator (Ubuntu)
Changed in akregator (Ubuntu):
status: New → Triaged
Changed in digikam (Ubuntu):
status: New → Triaged
Changed in kontact (Ubuntu):
status: New → Triaged
Changed in akregator (Ubuntu Noble):
status: New → Triaged
Changed in digikam (Ubuntu Noble):
status: New → Triaged
Changed in kontact (Ubuntu Noble):
status: New → Triaged
Changed in akregator (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
Changed in digikam (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
Changed in kontact (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
Changed in angelfish (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
Changed in cantor (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
Changed in angelfish (Ubuntu):
status: New → Triaged
Changed in cantor (Ubuntu):
status: New → Triaged
Changed in falkon (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Changed in ghostwriter (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Changed in kalgebra (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Changed in kgeotag (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Changed in kmail (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Changed in konqueror (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Changed in marble (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Changed in plasma-welcome (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Changed in tellico (Ubuntu):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
status: New → Triaged
Revision history for this message
themroc (rauchweihe) wrote :

falkon works for me.

Changed in kontact (Ubuntu):
status: Triaged → Fix Committed
Changed in akregator (Ubuntu):
status: Triaged → Fix Committed
Changed in angelfish (Ubuntu):
status: Triaged → Fix Committed
Changed in cantor (Ubuntu):
status: Triaged → Fix Committed
Changed in digikam (Ubuntu):
status: Triaged → Fix Committed
Changed in falkon (Ubuntu):
status: Triaged → Fix Committed
Changed in ghostwriter (Ubuntu):
status: Triaged → Fix Committed
Changed in kalgebra (Ubuntu):
status: Triaged → Fix Committed
Changed in kgeotag (Ubuntu):
status: Triaged → Fix Committed
Changed in kmail (Ubuntu):
status: Triaged → Fix Committed
Changed in konqueror (Ubuntu):
status: Triaged → Fix Committed
Changed in marble (Ubuntu):
status: Triaged → Fix Committed
Changed in plasma-welcome (Ubuntu):
status: Triaged → Fix Committed
Changed in tellico (Ubuntu):
status: Triaged → Fix Committed
Changed in akregator (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: Triaged → Fix Committed
Changed in angelfish (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in cantor (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in digikam (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: Triaged → Fix Committed
Changed in falkon (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in ghostwriter (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in kalgebra (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in kgeotag (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in kmail (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in konqueror (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in kontact (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: Triaged → Fix Committed
Changed in marble (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in plasma-welcome (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Changed in tellico (Ubuntu Noble):
assignee: nobody → Scarlett Gately Moore (scarlettmoore)
importance: Undecided → High
milestone: none → noble-updates
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kontact - 4:23.08.5-0ubuntu5

---------------
kontact (4:23.08.5-0ubuntu5) oracular; urgency=medium

  * Set @{multiarch} rather than hard code path. (LP: #2064492)

 -- Scarlett Moore <email address hidden> Thu, 16 May 2024 04:55:59 -0700

Changed in kontact (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package akregator - 4:23.08.5-0ubuntu5

---------------
akregator (4:23.08.5-0ubuntu5) oracular; urgency=medium

  * Set @{multiarch} rather than hard code path. (LP: #2064492)

 -- Scarlett Moore <email address hidden> Thu, 16 May 2024 05:03:29 -0700

Changed in akregator (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kmail - 4:23.08.5-0ubuntu6

---------------
kmail (4:23.08.5-0ubuntu6) oracular; urgency=medium

  * Set @{multiarch} rather than hard code path. (LP: #2064492)

 -- Scarlett Moore <email address hidden> Thu, 16 May 2024 07:14:20 -0700

Changed in kmail (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package marble - 4:23.08.5-0ubuntu4

---------------
marble (4:23.08.5-0ubuntu4) oracular; urgency=medium

  * Set @{multiarch} rather than hard code path. (LP: #2064492)

 -- Scarlett Moore <email address hidden> Thu, 16 May 2024 07:24:13 -0700

Changed in marble (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kalgebra - 4:23.08.5-0ubuntu5

---------------
kalgebra (4:23.08.5-0ubuntu5) oracular; urgency=medium

  * Set @{multiarch} rather than hard code path. (LP: #2064492)

 -- Scarlett Moore <email address hidden> Thu, 16 May 2024 07:00:35 -0700

Changed in kalgebra (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package konqueror - 4:23.08.5-0ubuntu4

---------------
konqueror (4:23.08.5-0ubuntu4) oracular; urgency=medium

  * Set @{multiarch} rather than hard code path. (LP: #2064492)

 -- Scarlett Moore <email address hidden> Thu, 16 May 2024 07:20:42 -0700

Changed in konqueror (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cantor - 4:23.08.5-0ubuntu5

---------------
cantor (4:23.08.5-0ubuntu5) oracular; urgency=medium

  * Set @{multiarch} rather than hard code path. (LP: #2064492)

 -- Scarlett Moore <email address hidden> Thu, 16 May 2024 05:20:21 -0700

Changed in cantor (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tellico - 3.5.4-1ubuntu2

---------------
tellico (3.5.4-1ubuntu2) oracular; urgency=medium

  * Set @{multiarch} rather than hard code path. (LP: #2064492)

 -- Scarlett Moore <email address hidden> Thu, 16 May 2024 07:34:15 -0700

Changed in tellico (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
themroc (rauchweihe) wrote :

Thanks for the bug fixes!
Will the fixes soon be distributed via the noble updates, or will we have to wait until the next upgrade to oracular?

Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

Unfortunately they have to make to development release first and tested. Once it passes that, I have the Sru prepared to release it to noble updates and 24.04.1 release. Another unfortunate is I don't have upload rights to half of them so I am waiting on tsimonq2 to upload them. Thanks for your patience.

Revision history for this message
themroc (rauchweihe) wrote :

Thank you for your efforts.
I will wait patiently. I was just afraid of having to go without Kontact/Kmail until fall :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.