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 439473 - crash in Anjuta IDE: opening font selection d...
crash in Anjuta IDE: opening font selection d...
Status: VERIFIED DUPLICATE of bug 431255
Product: anjuta
Classification: Applications
Component: plugins: editor: gtksourceview
2.1.3
Other All
: High critical
: ---
Assigned To: Johannes Schmid
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-18 17:18 UTC by a.colombo
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description a.colombo 2007-05-18 17:18:12 UTC
Version: 2.1.3

What were you doing when the application crashed?
opening font selection dialog from preferences->gtkSourceView


Distribution: SUSE LINUX 10.1 (i586)
Gnome Release: 2.18.1 2007-05-17 (JHBuild)
BugBuddy Version: 2.18.1

System: Linux 2.6.16.13-4-smp #1 SMP Wed May 3 04:53:23 UTC 2006 i686
X Vendor: The X.Org Foundation
X Vendor Release: 60900000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Gilouche
Icon Theme: Industrial

Memory status: size: 361078784 vsize: 361078784 resident: 112488448 share: 101232640 rss: 112488448 rss_rlim: 4294967295
CPU usage: start_time: 1179508593 rtime: 241 utime: 205 stime: 36 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/home/k0543388/gnome2/bin/anjuta'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1227094352 (LWP 32669)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1227094352 (LWP 32669))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 872
  • #3 <signal handler called>
  • #4 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #5 _cairo_ft_unscaled_font_lock_face
    at cairo-ft-font.c line 519
  • #6 _cairo_ft_ucs4_to_index
    at cairo-ft-font.c line 2034
  • #7 _cairo_scaled_font_text_to_glyphs
    at cairo-scaled-font.c line 932
  • #8 cairo_scaled_font_text_extents
    at cairo-scaled-font.c line 777
  • #9 _pango_cairo_font_get_hex_box_info
    at pangocairo-font.c line 262
  • #10 _pango_cairo_get_glyph_extents_missing
    at pangocairo-font.c line 325
  • #11 pango_cairo_fc_font_get_glyph_extents
    at pangocairo-fcfont.c line 401
  • #12 pango_font_get_glyph_extents
    at fonts.c line 1317
  • #13 fallback_engine_shape
    at pango-engine.c line 119
  • #14 _pango_engine_shape_shape
    at pango-engine.c line 71
  • #15 pango_shape
    at shape.c line 108
  • #16 shape_run
    at pango-layout.c line 3039
  • #17 process_item
    at pango-layout.c line 3161
  • #18 pango_layout_check_lines
    at pango-layout.c line 3404
  • #19 pango_layout_get_extents_internal
    at pango-layout.c line 2322
  • #20 pango_fc_font_create_metrics_for_context
    at pangofc-font.c line 455
  • #21 pango_cairo_fc_font_get_metrics
    at pangocairo-fcfont.c line 232
  • #22 pango_font_get_metrics
    at fonts.c line 1362
  • #23 get_first_metrics_foreach
    at pango-context.c line 1502
  • #24 pango_fontset_simple_foreach
    at pango-fontset.c line 399
  • #25 pango_fontset_foreach
    at pango-fontset.c line 101
  • #26 pango_context_get_metrics
    at pango-context.c line 1524
  • #27 gtk_entry_size_request
    at gtkentry.c line 1345
  • #28 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #29 g_type_class_meta_marshal
    at gclosure.c line 567
  • #30 IA__g_closure_invoke
    at gclosure.c line 490
  • #31 signal_emit_unlocked_R
    at gsignal.c line 2370
  • #32 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #33 IA__g_signal_emit_by_name
    at gsignal.c line 2267
  • #34 do_size_request
    at gtksizegroup.c line 592
  • #35 _gtk_size_group_compute_requisition
    at gtksizegroup.c line 792
  • #36 IA__gtk_widget_size_request
    at gtkwidget.c line 2880
  • #37 gtk_font_selection_load_font
    at gtkfontsel.c line 1088
  • #38 IA__gtk_font_selection_set_font_name
    at gtkfontsel.c line 1260
  • #39 IA__gtk_font_selection_dialog_set_font_name
    at gtkfontsel.c line 1398
  • #40 gtk_font_button_clicked
    at gtkfontbutton.c line 725
  • #41 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #42 g_type_class_meta_marshal
    at gclosure.c line 567
  • #43 IA__g_closure_invoke
    at gclosure.c line 490
  • #44 signal_emit_unlocked_R
    at gsignal.c line 2370
  • #45 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #46 IA__g_signal_emit
    at gsignal.c line 2243
  • #47 IA__gtk_button_clicked
    at gtkbutton.c line 889
  • #48 gtk_real_button_released
    at gtkbutton.c line 1484
  • #49 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #50 g_type_class_meta_marshal
    at gclosure.c line 567
  • #51 IA__g_closure_invoke
    at gclosure.c line 490
  • #52 signal_emit_unlocked_R
    at gsignal.c line 2370
  • #53 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #54 IA__g_signal_emit
    at gsignal.c line 2243
  • #55 IA__gtk_button_released
    at gtkbutton.c line 881
  • #56 gtk_button_button_release
    at gtkbutton.c line 1377
  • #57 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #58 g_type_class_meta_marshal
    at gclosure.c line 567
  • #59 IA__g_closure_invoke
    at gclosure.c line 490
  • #60 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #61 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #62 IA__g_signal_emit
    at gsignal.c line 2243
  • #63 gtk_widget_event_internal
    at gtkwidget.c line 3915
  • #64 IA__gtk_propagate_event
    at gtkmain.c line 2341
  • #65 IA__gtk_main_do_event
    at gtkmain.c line 1575
  • #66 gdk_event_dispatch
    at gdkevents-x11.c line 2318
  • #67 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #68 g_main_context_iterate
    at gmain.c line 2677
  • #69 IA__g_main_loop_run
    at gmain.c line 2881
  • #70 IA__gtk_main
    at gtkmain.c line 1154
  • #71 main
    at main.c line 393
  • #0 __kernel_vsyscall


----------- .xsession-errors (135 sec old) ---------------------
(gnome-ui-properties:32668): Gtk-WARNING **: Icon cache '/opt/kde3/share/icons/suseadds/icon-theme.cache' is invalid
bad string content
(gnome-ui-properties:32668): Gtk-WARNING **: Icon cache '/opt/kde3/share/icons/suseadds/icon-theme.cache' is invalid
bad string content
(gnome-ui-properties:32668): Gtk-WARNING **: Icon cache '/opt/kde3/share/icons/suseadds/icon-theme.cache' is invalid
bad string content
(gnome-ui-properties:32668): Gtk-WARNING **: Icon cache '/opt/kde3/share/icons/suseadds/icon-theme.cache' is invalid
--------------------------------------------------
Comment 1 Johannes Schmid 2007-05-18 23:37:23 UTC
Thanks for your report! It is a bit weird because I can't see anything wrong for the trace in anjuta's code. The crash happens deep in Gtk+!

Have you tried if the fontselection dialog works correctly in gedit?

Thanks!
Comment 2 a.colombo 2007-05-19 09:43:47 UTC
The font selection dialog in gedit works fine.

The problem is, it was a custom build of gnome 2.18, and I may have screwed up something, somewhere, especially given that half of it was built inside opensuse's poluted environment, while another half was built after RTFM'ing on how to clean it!

Do you think this may have caused the problem? I may recompile everything from scratch....
Comment 3 Johannes Schmid 2007-05-19 12:48:19 UTC
Yes, this could have caused the problem. In fact, we use a GtkFontChooserButton meaning that the whole font selection dialog is entirely handled by GTK+. Of course it's possible that we screwed up memory but I doubt that.

Would be great if you could test with a clean build and/or use packages from opensuse (should be available for 2.18). Thanks!
Comment 4 palfrey 2007-05-28 22:06:12 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 431255 ***
Comment 5 Naba Kumar 2007-06-23 22:47:03 UTC
Corrected version
Comment 6 Naba Kumar 2007-06-27 10:58:34 UTC
Closing all old bugs. Apologies for the spam.