Problems with fonts in Nautilus 2
- From: Dave Malcolm <david davemalcolm demon co uk>
- To: garnome-list gnome org
- Subject: Problems with fonts in Nautilus 2
- Date: Wed, 17 Jul 2002 15:41:26 +0100
I'm attempting to get Nautilus 2 to run using GARNOME 0.12.2
(my machine is an x86 with SuSE Linux 7.1)
It dies on startup before rendering anything. I believe the failure occurs within #6 in the
backtrace below (which passes a NULL MiniXftPattern* down through the lower
layers).
Control within "pango_ft2_font_map_load_fontset" passes through the "if
(array->len == 0)" path, and "_MiniXftFontSet" appears to contain zero fonts,
and hence the NULL match is generated which causes the eventual segfault - I
believe it's having trouble locating suitable fonts. Beyond that I've lost
track of where that stuff gets initialised and was hoping someone more
knowledgeable might help.
Does anyone know how to configure the font search system?
Is there a step that I missed, and should I have installed some fonts
somewhere? Have I misconfigured something? Or am I just being dumb :-)
The closest I could see to this in the archives is bugzilla.gnome.org bug
42247, though that doesn't seem to help. I may have missed something though.
Here's my backtrace:
#0 0x40348918 in MiniXftPatternFind (p=0x0, object=0x40361d90 "file",
insert=0) at minixftpat.c:92
#1 0x40348cfd in MiniXftPatternGet (p=0x0, object=0x40361d90 "file", id=0,
v=0xbfffeaf4) at minixftpat.c:262
#2 0x40348e69 in MiniXftPatternGetString (p=0x0, object=0x40361d90 "file",
id=0, s=0xbfffeb40) at minixftpat.c:327
#3 0x4034035d in pango_ft2_pattern_hash (pattern=0x0) at
pangoft2-fontmap.c:174
#4 0x409f680e in g_hash_table_lookup (hash_table=0x81c0038, key=0x0) at
ghash.c:192
#5 0x40340ed8 in pango_ft2_font_map_new_font (fontmap=0x81c0008, match=0x0)
at pangoft2-fontmap.c:534
#6 0x4034123f in pango_ft2_font_map_load_fontset (fontmap=0x81c0008,
context=0x81bfc98, desc=0x8134998, language=0x815cc68) at
pangoft2-fontmap.c:670
#7 0x40665b65 in pango_font_map_load_fontset (fontmap=0x81c0008,
context=0x81bfc98, desc=0x8134998, language=0x815cc68) at pango-fontmap.c:128
#8 0x40664d78 in add_engines (context=0x81bfc98, text=0x81345b0 "History",
start_index=0, length=7, attrs=0x8134620, cached_iter=0x8134678, n_chars=7,
analyses=0x81348e8) at pango-context.c:660
#9 0x4066474b in pango_itemize (context=0x81bfc98, text=0x81345b0 "History",
start_index=0, length=7, attrs=0x8134620, cached_iter=0x8134678) at
pango-context.c:422
#10 0x4066a686 in pango_layout_check_lines (layout=0x81d02d0) at
pango-layout.c:2904
#11 0x40668f70 in pango_layout_get_extents_internal (layout=0x81d02d0,
ink_rect=0x0, logical_rect=0xbfffee68, line_extents=0x0) at
pango-layout.c:1879
#12 0x406691f0 in pango_layout_get_extents (layout=0x81d02d0, ink_rect=0x0,
logical_rect=0xbfffee68) at pango-layout.c:2004
#13 0x4066945d in pango_layout_get_pixel_size (layout=0x81d02d0,
width=0xbfffeeb4, height=0x0) at pango-layout.c:2091
#14 0x806fcd6 in get_tab_width (sidebar_tabs=0x81be860, this_tab=0x81bfb70,
is_themed=0, first_flag=1) at nautilus-sidebar-tabs.c:925
#15 0x8070168 in draw_or_layout_all_tabs (sidebar_tabs=0x81be860,
layout_only=1) at nautilus-sidebar-tabs.c:1094
#16 0x806f2a5 in measure_total_height (sidebar_tabs=0x81be860) at
nautilus-sidebar-tabs.c:541
#17 0x806f2e5 in recalculate_size (sidebar_tabs=0x81be860) at
nautilus-sidebar-tabs.c:553
#18 0x8070eb6 in nautilus_sidebar_tabs_add_view (sidebar_tabs=0x81be860,
name=0x8135358 "History", new_view=0x8134c40, page_num=0) at
nautilus-sidebar-tabs.c:1528
#19 0x807456a in nautilus_sidebar_add_panel (sidebar=0x81bbaa8,
panel=0x8134c40) at nautilus-sidebar.c:950
#20 0x80848b4 in nautilus_window_add_sidebar_panel (window=0x8141010,
sidebar_panel=0x8134c40) at nautilus-window.c:1409
#21 0x807e0e8 in nautilus_window_set_sidebar_panels (window=0x8141010,
passed_identifier_list=0x81bc57c) at nautilus-window-manage-views.c:1570
#22 0x8085431 in update_sidebar_panels_from_preferences (window=0x8141010) at
nautilus-window.c:1818
#23 0x8082c43 in nautilus_window_set_up_sidebar (window=0x8141010) at
nautilus-window.c:551
#24 0x8082f71 in nautilus_window_constructed (window=0x8141010) at
nautilus-window.c:641
#25 0x80831ef in nautilus_window_set_property (object=0x8141010, arg_id=1,
value=0xbffff1e4, pspec=0x80d4478) at nautilus-window.c:721
#26 0x40996922 in g_object_constructor (type=135549912,
n_construct_properties=2, construct_params=0x8133360) at gobject.c:573
#27 0x40995de1 in g_object_newv (object_type=135549912, n_parameters=2,
parameters=0x81331a0) at gobject.c:697
#28 0x4099669a in g_object_new_valist (object_type=135549912,
first_property_name=0x80a7273 "app", var_args=0xbffff3a8) at gobject.c:780
#29 0x404fee1e in gtk_widget_new (type=135549912,
first_property_name=0x80a7273 "app") at gtkwidget.c:1407
#30 0x80603f1 in nautilus_application_create_window (application=0x8131228)
at nautilus-application.c:651
#31 0x806e200 in open_window (shell=0x8144590, uri=0x0, geometry=0x80a7160
"") at nautilus-shell.c:127
#32 0x806e32d in corba_open_default_window (servant=0x81445a4,
geometry=0x80a7160 "", ev=0xbffff4a0) at nautilus-shell.c:172
#33 0x805ebad in Nautilus_Shell_open_default_window (_obj=0x81446e0,
geometry=0x80a7160 "", ev=0xbffff4a0) at nautilus-shell-interface-stubs.c:48
#34 0x806015c in nautilus_application_startup (application=0x8131228,
kill_shell=0, restart_shell=0, no_default_window=0, no_desktop=1,
do_first_time_druid_check=1, geometry=0x0, urls=0x0) at
nautilus-application.c:555
#35 0x8066d39 in main (argc=1, argv=0xbffff70c) at nautilus-main.c:256
#36 0x40b8abaf in __libc_start_main () from /lib/libc.so.6
Thanks for reading this far, apologies if I've missed something obvious.
Dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]