Opened 19 years ago

Closed 17 years ago

#4993 closed defect (fixed)

BUG: gtk2-Apps crash when trying to change font

Reported by: schmidt_r@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

GTK-Theme-Switch2 (from dp), Beep-Media-Player (self compiled) are crashing when I try to change the font to anything other then Sans.

Gimp 2.2.8 (from dp) has another dialog for selecting fonts, witch seems to work.

Change History (4)

comment:1 Changed 19 years ago by schmidt_r@…

Here's gdb output:

(gdb) bt #0 0x9004a12c in kill () #1 0x90120954 in abort () #2 0x00553c7c in eprintf () #3 0x00537c78 in _cairo_ft_unscaled_font_set_scale (unscaled=0x19dc6e0, scale=0x19f3ca0) at cairo-ft-font.c:677 #4 0x0053a310 in cairo_ft_scaled_font_lock_face (abstract_font=0x19f3c30) at cairo-ft-font.c:2598 #5 0x0174bddc in pango_fc_font_create_metrics_for_context (fcfont=0x195e4c0, context=0x19e6560) at pangofc-font.c:276 #6 0x000c55ac in pango_cairo_fc_font_get_metrics (font=0x195e4c0, language=0x1952b40) at pangocairo-fcfont.c:289 #7 0x0048df2c in get_first_metrics_foreach (fontset=0x0, font=0x195e4c0, data=0x19e7ec0) at pango-context.c:1273 #8 0x00490240 in pango_fontset_simple_foreach (fontset=0x19dabe0, func=0x48def8 <get_first_metrics_foreach>, data=0x19e7ec0) at pango-fontset.c:394 #9 0x0048e054 in pango_context_get_metrics (context=0x19db4a0, desc=0x19d6cb0, language=0x1952b40) at pango-context.c:1295 #10 0x010b0ef8 in gtk_entry_size_request () #11 0x015441a8 in g_closure_invoke () #12 0x0155a018 in signal_emit_unlocked_R () #13 0x0155b884 in g_signal_emit_valist () #14 0x0155e1bc in g_signal_emit_by_name () #15 0x011e5a24 in do_size_request () #16 0x011e6054 in _gtk_size_group_compute_requisition () #17 0x012ed894 in gtk_widget_size_request () #18 0x010fbfdc in gtk_font_selection_update_preview () #19 0x010fbebc in gtk_font_selection_load_font () #20 0x010fbb68 in gtk_font_selection_select_best_size () #21 0x010fb7d8 in gtk_font_selection_select_style () #22 0x015441a8 in g_closure_invoke () #23 0x0155a3d4 in signal_emit_unlocked_R () #24 0x0155b884 in g_signal_emit_valist () #25 0x0155bd24 in g_signal_emit () #26 0x0129f960 in _gtk_tree_selection_internal_select_node () #27 0x012c81ac in gtk_tree_view_real_set_cursor () #28 0x012c869c in gtk_tree_view_set_cursor_on_cell () #29 0x012c83e0 in gtk_tree_view_set_cursor () #30 0x010fad6c in set_cursor_to_iter () #31 0x010fb680 in gtk_font_selection_show_available_styles () #32 0x010fae9c in gtk_font_selection_select_font () #33 0x015441a8 in g_closure_invoke () #34 0x0155a3d4 in signal_emit_unlocked_R () #35 0x0155b884 in g_signal_emit_valist () #36 0x0155bd24 in g_signal_emit () #37 0x0129f960 in _gtk_tree_selection_internal_select_node () #38 0x012c81ac in gtk_tree_view_real_set_cursor () #39 0x012ae610 in gtk_tree_view_button_press () #40 0x01168750 in _gtk_marshal_BOOLEANBOXED () #41 0x015441a8 in g_closure_invoke () #42 0x0155a5f8 in signal_emit_unlocked_R () #43 0x0155b8e8 in g_signal_emit_valist () #44 0x0155bd24 in g_signal_emit () #45 0x012f02d0 in gtk_widget_event_internal () #46 0x012efc0c in gtk_widget_event () #47 0x01166248 in gtk_propagate_event () #48 0x0116449c in gtk_main_do_event () #49 0x00254108 in gdk_event_dispatch () #50 0x015b36c4 in g_main_dispatch () #51 0x015b64e8 in g_main_context_iterate () #52 0x015b6928 in g_main_loop_run () #53 0x01163670 in gtk_main () #54 0x000050b0 in main () (gdb)

comment:2 Changed 19 years ago by schmidt_r@…

severity: normalmajor

comment:3 Changed 19 years ago by mww@…

Summary: GTK2-Apps crash when trying to change fontBUG: gtk2-Apps crash when trying to change font

comment:4 Changed 17 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

This has been fixed in subsequent gtk2 updates.

Note: See TracTickets for help on using tickets.