Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap: Failed to spawn child process “/usr/lib/x86_64-linux-gnu/webkitgtk-6.0/WebKitNetworkProcess” #1102

Open
videni opened this issue Nov 2, 2023 · 14 comments
Labels
bug Something isn't working snap

Comments

@videni
Copy link

videni commented Nov 2, 2023

Error

(base) ➜  ~ foliate

(com.github.johnfactotum.Foliate:133145): Gtk-WARNING **: 16:11:28.455: No IM module matching GTK_IM_MODULE=fcitx found

(com.github.johnfactotum.Foliate:133145): com.github.johnfactotum.Foliate-WARNING **: 16:11:29.626: Error: Requiring Tracker, version none: Typelib file for namespace 'Tracker' (any version) not found
getURIFromTracker@resource:///com/github/johnfactotum/Foliate/library.js:16:24
get@resource:///com/github/johnfactotum/Foliate/library.js:56:42
getBookFromIdentifier@resource:///com/github/johnfactotum/Foliate/library.js:105:36
getBook@resource:///com/github/johnfactotum/Foliate/library.js:101:21
activate@resource:///com/github/johnfactotum/Foliate/library.js:394:63
activate@resource:///com/github/johnfactotum/Foliate/library.js:322:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

** (com.github.johnfactotum.Foliate:133145): WARNING **: 16:11:29.632: Could not open /etc/machine-info: Failed to open file “/etc/machine-info”: Permission denied

** (com.github.johnfactotum.Foliate:133145): WARNING **: 16:11:29.632: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (com.github.johnfactotum.Foliate:133145): WARNING **: 16:11:29.632: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied

** (com.github.johnfactotum.Foliate:133145): ERROR **: 16:11:29.633: Unable to spawn a new child process: Failed to spawn child process “/usr/lib/x86_64-linux-gnu/webkitgtk-6.0/WebKitNetworkProcess” (No such file or directory)
[1]    133145 trace trap (core dumped)  foliate

System

Ubuntu 23.04

@videni videni added the bug Something isn't working label Nov 2, 2023
@Nutjob
Copy link

Nutjob commented Nov 2, 2023

Got the exact same crash and log with the snap version on Ubuntu 18.04.5 LTS.
Up until yesterday it worked fine.

@johnfactotum
Copy link
Owner

Is this from using the Snap package?

@Nutjob
Copy link

Nutjob commented Nov 2, 2023

Is this from using the Snap package?

In my case, yes.
I just updated and now it has the same crash and error log as described by @videni

@johnfactotum
Copy link
Owner

@soumyaDghosh

@soumyaDghosh
Copy link
Contributor

Never thought, this error may come up in user machines. So, unexpected to me. But, probably this should fix it.

sudo /usr/lib/snapd/snap-discard-ns foliate

@Nutjob
Copy link

Nutjob commented Nov 2, 2023

Never thought, this error may come up in user machines. So, unexpected to me. But, probably this should fix it.

sudo /usr/lib/snapd/snap-discard-ns foliate

Just tested it, it works now!

@soumyaDghosh
Copy link
Contributor

Just tested it, it works now!

Interesting! Let me take this to the forum. This is actually a regression by snapd for third party content snaps.

@soumyaDghosh
Copy link
Contributor

@videni
Copy link
Author

videni commented Nov 2, 2023

yes, I also use snap package

Never thought, this error may come up in user machines. So, unexpected to me. But, probably this should fix it.

sudo /usr/lib/snapd/snap-discard-ns foliate

this one works

@videni videni closed this as completed Nov 2, 2023
@soumyaDghosh
Copy link
Contributor

@johnfactotum keep this open for now please.

@johnfactotum johnfactotum reopened this Nov 2, 2023
@Nutjob
Copy link

Nutjob commented Nov 7, 2023

Just noticed I can no longer add books to the library, foliate crashes immediately when I do.
This is still the Snap package, here's the log:

Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in isn't supported and may not work as expected
/usr/share/libdrm/amdgpu.ids: No such file or directory
/usr/share/libdrm/amdgpu.ids: No such file or directory

(com.github.johnfactotum.Foliate:32765): Gtk-WARNING **: 15:59:23.522: No IM module matching GTK_IM_MODULE=ibus found

(com.github.johnfactotum.Foliate:32765): GLib-GIO-WARNING **: 15:59:26.351: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

** (com.github.johnfactotum.Foliate:32765): WARNING **: 15:59:44.856: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (com.github.johnfactotum.Foliate:32765): WARNING **: 15:59:44.856: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied

** (com.github.johnfactotum.Foliate:32765): ERROR **: 15:59:44.860: Unable to spawn a new child process: Failed to spawn child process “/usr/lib/x86_64-linux-gnu/webkitgtk-6.0/WebKitNetworkProcess” (No such file or directory)
Trace/breakpoint trap (core dumped)

@Nutjob
Copy link

Nutjob commented Nov 7, 2023

And I just noticed it also no longer even open books that were already in the library, here's the crash log for that one:

Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in isn't supported and may not work as expected
/usr/share/libdrm/amdgpu.ids: No such file or directory
/usr/share/libdrm/amdgpu.ids: No such file or directory

(com.github.johnfactotum.Foliate:1664): Gtk-WARNING **: 16:10:07.859: No IM module matching GTK_IM_MODULE=ibus found

(com.github.johnfactotum.Foliate:1664): com.github.johnfactotum.Foliate-WARNING **: 16:10:11.057: Error: Requiring Tracker, version none: Typelib file for namespace 'Tracker' (any version) not found
getURIFromTracker@resource:///com/github/johnfactotum/Foliate/library.js:16:24
get@resource:///com/github/johnfactotum/Foliate/library.js:56:42
getBookFromIdentifier@resource:///com/github/johnfactotum/Foliate/library.js:105:36
getBook@resource:///com/github/johnfactotum/Foliate/library.js:101:21
activate@resource:///com/github/johnfactotum/Foliate/library.js:394:63
activate@resource:///com/github/johnfactotum/Foliate/library.js:322:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

** (com.github.johnfactotum.Foliate:1664): WARNING **: 16:10:11.075: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (com.github.johnfactotum.Foliate:1664): WARNING **: 16:10:11.075: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied

** (com.github.johnfactotum.Foliate:1664): ERROR **: 16:10:11.078: Unable to spawn a new child process: Failed to spawn child process “/usr/lib/x86_64-linux-gnu/webkitgtk-6.0/WebKitNetworkProcess” (No such file or directory)
Trace/breakpoint trap (core dumped)

@soumyaDghosh
Copy link
Contributor

Same error. Rerun the command above. It'll be fixed. Until you face this in future, please continue doing so. This is a snapd regression third party content snaps and I have created an issue in the forum. Hope it'll fixed soon.

@Nutjob
Copy link

Nutjob commented Nov 7, 2023

This is a snapd regression third party content snaps and I have created an issue in the forum. Hope it'll fixed soon.

Thanks for the quick update, let's hope this gets fixed soon upstream.

@johnfactotum johnfactotum changed the title Unable to open foliate on Ubuntu 23.04 Snap: Failed to spawn child process “/usr/lib/x86_64-linux-gnu/webkitgtk-6.0/WebKitNetworkProcess” Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working snap
Projects
None yet
Development

No branches or pull requests

4 participants