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

Crash when starting #402

Closed
stibinator opened this issue Nov 26, 2024 · 2 comments
Closed

Crash when starting #402

stibinator opened this issue Nov 26, 2024 · 2 comments

Comments

@stibinator
Copy link

Describe the bug
The app crashes a few seconds after launch

To Reproduce
Steps to reproduce the behavior:

  1. Run the app
  2. '....'
  3. Core dump.

Screenshots
If I run in the terminal I get this error:
~ font-manager
** (font-manager:1757180): ERROR **: 10:49:48.803: readPIDFromPeer: Unexpected short read from PID socket
[1] 1757180 trace trap (core dumped) font-manager

System Information

  • OS: Garuda x86_64
  • Desktop Environment Gnome 47.1
  • Font Manager version 0.9.0-2
  • Font Manager installation method Arch repo, via pacman

Additional context
Add any other context about the problem here.

@fedkad
Copy link

fedkad commented Dec 25, 2024

Similar problem. Ubuntu 24.10 Xorg or Wayland. In my case:

$ font-manager
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: failed to get driver name for fd -1

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd -1


(font-manager:35936): Gtk-WARNING **: 15:14:03.713: Theme parser error: gtk.css:3:3-37: No property named "-GtkScrollbar-has-backward-stepper"

(font-manager:35936): Gtk-WARNING **: 15:14:03.713: Theme parser error: gtk.css:4:3-36: No property named "-GtkScrollbar-has-forward-stepper"
bwrap: setting up uid map: Permission denied

** (font-manager:35936): ERROR **: 15:14:04.239: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap (core dumped)

$ font-manager --version
font-manager 0.9.0

$ font-manager --debug

Font Manager 0.9.0

(process:36463): [font-manager]-DEBUG: 15:16:04.226: Fontconfig version : 21500
(process:36463): [font-manager]-DEBUG: 15:16:04.226: Freetype version (compile-time) : 2.13.3
(process:36463): [font-manager]-DEBUG: 15:16:04.226: Freetype version (run-time) : 2.13.3
(process:36463): [font-manager]-DEBUG: 15:16:04.226: Harfbuzz version (compile-time) : 9.0.0
(process:36463): [font-manager]-DEBUG: 15:16:04.226: Harfbuzz version (run-time) : 9.0.0
(process:36463): [font-manager]-DEBUG: 15:16:04.226: JSON-GLib version : 1.8.0
(process:36463): [font-manager]-DEBUG: 15:16:04.226: Pango version (compile-time) : 1.54.0
(process:36463): [font-manager]-DEBUG: 15:16:04.226: Pango version (run-time) : 15400
(process:36463): [font-manager]-DEBUG: 15:16:04.226: libxml2 version : 21207
(process:36463): [font-manager]-DEBUG: 15:16:04.226: SQLite version (compile-time) : 3.46.1
(process:36463): [font-manager]-DEBUG: 15:16:04.226: SQLite version (run-time) : 3.46.1
(process:36463): [font-manager]-DEBUG: 15:16:04.226: GLib version (compile-time) : 2.82.0
(process:36463): [font-manager]-DEBUG: 15:16:04.226: GLib version (run-time) : 2.82.1
(process:36463): [font-manager]-DEBUG: 15:16:04.226: GTK version (compile-time) : 4.15.6
(process:36463): [font-manager]-DEBUG: 15:16:04.226: GTK version (run-time) : 4.16.3
(process:36463): [font-manager]-DEBUG: 15:16:04.226: Using schema with id com.github.FontManager.FontManager from default source
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: failed to get driver name for fd -1

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd -1


(font-manager:36463): Gtk-WARNING **: 15:16:04.279: Theme parser error: gtk.css:3:3-37: No property named "-GtkScrollbar-has-backward-stepper"

(font-manager:36463): Gtk-WARNING **: 15:16:04.279: Theme parser error: gtk.css:4:3-36: No property named "-GtkScrollbar-has-forward-stepper"
(font-manager:36463): [font-manager]-DEBUG: 15:16:04.301: Using schema with id com.github.FontManager.FontManager from default source
(font-manager:36463): [font-manager]-DEBUG: 15:16:04.319: Adding icons from resource path : /com/github/FontManager/FontManager/icons/
(font-manager:36463): [font-manager]-DEBUG: 15:16:04.336: Loading custom css from resource path : /com/github/FontManager/FontManager/ui/FontManager.css
(font-manager:36463): [font-manager]-DEBUG: 15:16:04.573: Database version is current, skipping initialization
(font-manager:36463): [font-manager]-DEBUG: 15:16:04.574: Database version is current, skipping initialization
(font-manager:36463): [font-manager]-DEBUG: 15:16:04.579: Database version is current, skipping initialization
(font-manager:36463): [font-manager]-DEBUG: 15:16:04.581: Restoring state : Window size : 950 x 700
(font-manager:36463): [font-manager]-DEBUG: 15:16:04.581: Restoring state : Window is maximized : FALSE
bwrap: setting up uid map: Permission denied

** (font-manager:36463): ERROR **: 15:16:04.730: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap (core dumped)

@JerryCasiano
Copy link
Contributor

@stibinator

I can't reproduce the original report and since no one else has reported it I'm closing this issue out.

@fedkad

None of the errors in your output relate to the application or this issue...

bwrap: setting up uid map: Permission denied

That suggests an issue with AppArmor. If you installed from the PPA open a new issue.

If you installed using some other method add a file to /etc/apparmor.d named font-manager with the following contents:

# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"

abi <abi/4.0>,
include <tunables/global>

profile font-manager /usr/bin/font-manager flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/font-manager>
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants