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 158551 - Crash in gnome-font-viewer
Crash in gnome-font-viewer
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] fonts:///
2.8.x
Other Linux
: High critical
: ---
Assigned To: James Henstridge
Control-Center Maintainers
: 301538 318532 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-11-17 12:45 UTC by Frederic Crozat
Modified: 2005-10-11 05:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Frederic Crozat 2004-11-17 12:45:01 UTC
Try the following :
-start gnome-font-viewer on a font (for instance gnome-font-viewer
fonts:///Bitstream%20Vera%20Sans)
-once gnome-font-viewer is running, start gnome-font-properties, then choose
advanced and change hinting 2 times (wait until display is refresh before
changing a second time)
=> crash

Program received signal SIGSEGV, Segmentation fault.

Thread 1088007392 (LWP 14080)

  • #0 strlen
    from /lib/tls/libc.so.6
  • #1 _XftReleaseFile
    at xftfreetype.c line 288
  • #2 XftFontDestroy
    at xftfreetype.c line 1026
  • #3 XftFontManageMemory
    at xftfreetype.c line 1109
  • #4 XftFontClose
    at xftfreetype.c line 1126
  • #5 pango_xft_font_finalize
    at pangoxft-font.c line 409
  • #6 g_object_unref
    at gobject.c line 570
  • #7 pango_item_free
    at pango-item.c line 91
  • #8 free_run
    at pango-layout.c line 2332
  • #9 pango_layout_line_unref
    at pango-layout.c line 3281
  • #10 pango_layout_clear_lines
    at pango-layout.c line 2233
  • #11 pango_layout_finalize
    at pango-layout.c line 174
  • #12 g_object_unref
    at gobject.c line 570
  • #13 gtk_label_clear_layout
    at gtklabel.c line 1363
  • #14 g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #15 g_type_class_meta_marshal
    at gclosure.c line 514
  • #16 g_closure_invoke
    at gclosure.c line 437
  • #17 signal_emit_unlocked_R
    at gsignal.c line 2365
  • #18 g_signal_emit_valist
    at gsignal.c line 2194
  • #19 g_signal_emit
    at gsignal.c line 2238
  • #20 gtk_widget_set_style_internal
    at gtkwidget.c line 4727
  • #21 gtk_widget_reset_rc_style
    at gtkwidget.c line 4409
  • #22 reset_rc_styles_recurse
    at gtkwidget.c line 4886
  • #23 gtk_table_forall
    at gtktable.c line 961
  • #24 gtk_container_forall
  • #25 reset_rc_styles_recurse
    at gtkwidget.c line 4889
  • #26 gtk_box_forall
    at gtkbox.c line 701
  • #27 gtk_container_forall
    at gtkcontainer.c line 1264
  • #28 reset_rc_styles_recurse
    at gtkwidget.c line 4889
  • #29 gtk_bin_forall
    at gtkbin.c line 165
  • #30 gtk_container_forall
    at gtkcontainer.c line 1264
  • #31 reset_rc_styles_recurse
    at gtkwidget.c line 4889
  • #32 gtk_widget_reset_rc_styles
    at gtkwidget.c line 4899
  • #33 gtk_rc_reset_widgets
    at gtkrc.c line 1317
  • #34 gtk_settings_notify
  • #35 g_cclosure_marshal_VOID__PARAM
    at gmarshal.c line 531
  • #36 g_type_class_meta_marshal
    at gclosure.c line 514
  • #37 g_closure_invoke
    at gclosure.c line 437
  • #38 signal_emit_unlocked_R
    at gsignal.c line 2365
  • #39 g_signal_emit_valist
    at gsignal.c line 2194
  • #40 g_signal_emit
    at gsignal.c line 2238
  • #41 g_object_dispatch_properties_changed
    at gobject.c line 592
  • #42 g_object_notify_dispatcher
    at gobject.c line 233
  • #43 g_object_notify
  • #44 _gtk_settings_handle_event
    at gtksettings.c line 1291
  • #45 gtk_main_do_event
    at gtkmain.c line 1438
  • #46 gdk_event_dispatch
    at gdkevents-x11.c line 2158
  • #47 g_main_context_dispatch
    at gmain.c line 1942
  • #48 g_main_context_iterate
    at gmain.c line 2573
  • #49 g_main_loop_run
    at gmain.c line 2777
  • #50 gtk_main
    at gtkmain.c line 1173
  • #51 main
    at font-view.c line 461

Comment 1 Elijah Newren 2004-11-17 14:38:53 UTC
Unique trace according to the simple-dup-finder.
Comment 2 shakti 2004-11-25 09:37:30 UTC
Sorry, I couldn't reproduce it. I can't perform the step "once gnome-font-viewer
is running, start gnome-font-properties, then choose
advanced and change hinting 2 times (wait until display is refresh before
changing a second time)"

Could someone please tell me where the Advanced button is?
Comment 3 Frederic Crozat 2004-11-25 09:42:50 UTC
It isn't Advanced but Details..
Comment 4 James Henstridge 2004-11-28 09:41:15 UTC
I managed to trigger this bug too, and it seems to be an Xft bug.

The bug report and patch are available here:
  https://bugs.freedesktop.org/show_bug.cgi?id=1951

It turned out to be a simple operator precedence problem.  You might want to
apply the patch to your copy of Xft while waiting for it to be applied.
Comment 5 James Henstridge 2005-04-22 10:01:22 UTC
*** Bug 301538 has been marked as a duplicate of this bug. ***
Comment 6 James Henstridge 2005-10-11 05:37:06 UTC
*** Bug 318532 has been marked as a duplicate of this bug. ***