After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789560 - Segfault when resizing on 100% scale monitor (alongside 200% scale monitor)
Segfault when resizing on 100% scale monitor (alongside 200% scale monitor)
Status: RESOLVED DUPLICATE of bug 789511
Product: gnome-font-viewer
Classification: Core
Component: general
3.26.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-font-viewer-maint
gnome-font-viewer-maint
Depends on:
Blocks:
 
 
Reported: 2017-10-27 14:17 UTC by Alin Sinpalean
Modified: 2017-10-30 22:30 UTC
See Also:
GNOME target: ---
GNOME version: 3.25/3.26



Description Alin Sinpalean 2017-10-27 14:17:51 UTC
I'm running a 2 monitor setup: external monitor at 100% scale and laptop at 200% scale. Whenever I launch gnome-font-viewer on the laptop screen it runs just fine. If I launch it on the external monitor it crashes immediately (see bug 789511).

But if I launch it on the laptop screen, then drag it to the monitor and resize, it segfaults again:

(gdb) r
Starting program: /usr/bin/gnome-font-viewer 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffebb5e700 (LWP 3639)]
[New Thread 0x7fffeb35d700 (LWP 3640)]
[New Thread 0x7fffea94f700 (LWP 3641)]

(gnome-font-viewer:3635): Gtk-WARNING **: Theme parsing error: gtk.css:7:48: Junk at end of value for background-color

(gnome-font-viewer:3635): Gtk-WARNING **: Theme parsing error: gtk.css:8:0: 'trans' is not a valid property name
[New Thread 0x7fffe895e700 (LWP 3642)]

(gnome-font-viewer:3635): Gtk-CRITICAL **: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Thread 1 "gnome-font-view" received signal SIGSEGV, Segmentation fault.
g_type_check_instance_cast (type_instance=0x555555851d10, iface_type=93825004293632) at ../../../../gobject/gtype.c:4057
4057	../../../../gobject/gtype.c: No such file or directory.
(gdb) bt
  • #0 g_type_check_instance_cast
    at ../../../../gobject/gtype.c line 4057
  • #1 font_view_update_scale_factor
    at ../src/font-view.c line 521
  • #5 <emit signal notify:scale-factor on instance 0x555555b702c0 [GtkApplicationWindow]>
    at ../../../../gobject/gsignal.c line 3447
  • #6 g_object_dispatch_properties_changed
    at ../../../../gobject/gobject.c line 1080
  • #7 g_object_notify_by_spec_internal
    at ../../../../gobject/gobject.c line 1173
  • #8 g_object_notify_by_pspec
    at ../../../../gobject/gobject.c line 1283
  • #9 _gtk_widget_scale_changed
    at ././gtk/gtkwidget.c line 10852
  • #10 check_scale_changed
    at ././gtk/gtkwindow.c line 6839
  • #11 gtk_window_configure_event
    at ././gtk/gtkwindow.c line 8008
  • #16 <emit signal ??? on instance 0x555555b702c0 [GtkApplicationWindow]>
    at ../../../../gobject/gsignal.c line 3447
  • #17 gtk_widget_event_internal
    at ././gtk/gtkwidget.c line 7723
  • #18 gtk_widget_event
    at ././gtk/gtkwidget.c line 7293
  • #19 gtk_main_do_event
    at ././gtk/gtkmain.c line 1851
  • #20 _gdk_event_emit
    at ././gdk/gdkevents.c line 73
  • #21 gdk_event_source_dispatch
    at ././gdk/wayland/gdkeventsource.c line 124
  • #22 g_main_dispatch
    at ../../../../glib/gmain.c line 3148
  • #23 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3813
  • #24 g_main_context_iterate
    at ../../../../glib/gmain.c line 3886
  • #25 g_main_context_iteration
    at ../../../../glib/gmain.c line 3947
  • #26 g_application_run
    at ../../../../gio/gapplication.c line 2401
  • #27 main
    at ../src/font-view.c line 938

Comment 1 Cosimo Cecchi 2017-10-30 22:30:08 UTC
This is actually the same issue of bug 789511. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 789511 ***