Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#53762 - gnome-font-viewer: segfault (NULL ptr error)
Attached to Project:
Arch Linux
Opened by Cookie Engineer (cookiengineer) - Sunday, 23 April 2017, 08:54 GMT
Last edited by Jan de Groot (JGC) - Monday, 24 April 2017, 21:26 GMT
Opened by Cookie Engineer (cookiengineer) - Sunday, 23 April 2017, 08:54 GMT
Last edited by Jan de Groot (JGC) - Monday, 24 April 2017, 21:26 GMT
|
DetailsDescription:
The current version of the gnome-font-viewer cannot be used. It will crash with a segfault. The stacktrace suggests that the gnome-font-viewer.mo file is not available. When successfully running locale-gen again, it will not create any gnome-font-viewer.mo; not in en_US, not in en and not in other language-specific folders. Additional info: * package gnome-font-viewer * build date Sun 09 Apr 2017 12:29:46 AM CEST * currently in testing (3.23.91+2+g419afa1-1) Stacktrace: ```bash open("/usr/share/locale/en_US.utf8/LC_MESSAGES/gnome-font-viewer.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/gnome-font-viewer.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/gnome-font-viewer.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/gnome-font-viewer.mo", O_RDONLY) = -1 ENOENT (No such file or directory) (...) futex(0x1676fa0, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) (...) recvmsg(8, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable) (...) getpeername(2, 0x7fff0fef95e0, [128]) = -1 ENOTSOCK (Socket operation on non-socket) futex(0x7f577ce5c4a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0 getpid() = 6902 write(2, "\n(gnome-font-viewer:6902): GLib-"..., 95 (gnome-font-viewer:6902): GLib-GObject-WARNING **: invalid (NULL) pointer instance ) = 95 ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0 getpid() = 6902 write(2, "\n(gnome-font-viewer:6902): GLib-"..., 139 (gnome-font-viewer:6902): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed ) = 139 ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0 getpid() = 6902 write(2, "\n(gnome-font-viewer:6902): Gtk-\33"..., 126 (gnome-font-viewer:6902): Gtk-CRITICAL **: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed ) = 126 ``` Steps to reproduce: Open a TTF file with gnome-font-viewer. It will crash. Try not to open a TTF file with gnome-font-viewer (to view all installed fonts). It will crash. Reason is probably the missing translations file. I attached the stacktrace and uploaded it here: https://pastebin.com/p84BRzyw |
This task depends upon
stacktrace.log
Opening a TTF file when gnome-font-viewer is already running works fine.