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 70351 - non exsistant fonts referenced by Xft cause gnome-session to crash
non exsistant fonts referenced by Xft cause gnome-session to crash
Status: RESOLVED DUPLICATE of bug 86150
Product: pango
Classification: Platform
Component: general
0.x
Other Linux
: Normal critical
: 1.0.4
Assigned To: Alexander Larsson
Alexander Larsson
: 70401 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-02-02 06:45 UTC by kuruptnz
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kuruptnz 2002-02-02 06:45:05 UTC
gnome-session (And nautilus) both segfault upon startup

backtrace:
  • #0 wait4
    from /lib/libc.so.6
  • #1 __check_rhosts_file
    from /lib/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 172
  • #3 libgnomeui_module_info_get
    from /home/mike/garnome/lib/libgnomeui-2.so.0
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 killpg
    from /lib/libc.so.6
  • #6 pango_ft2_font_get_coverage
    from /home/mike/garnome/lib/libpangoft2-0.24.so
  • #7 pango_font_get_coverage
    from /home/mike/garnome/lib/libpango-0.24.so
  • #8 pango_fontset_simple_get_font
    from /home/mike/garnome/lib/libpango-0.24.so
  • #9 pango_fontset_get_font
    from /home/mike/garnome/lib/libpango-0.24.so
  • #10 add_engines
    from /home/mike/garnome/lib/libpango-0.24.so
  • #11 pango_itemize
    from /home/mike/garnome/lib/libpango-0.24.so
  • #12 pango_layout_check_lines
    from /home/mike/garnome/lib/libpango-0.24.so
  • #13 pango_layout_get_extents_internal
    from /home/mike/garnome/lib/libpango-0.24.so
  • #14 pango_layout_get_extents
    from /home/mike/garnome/lib/libpango-0.24.so
  • #15 pango_layout_get_pixel_size
    from /home/mike/garnome/lib/libpango-0.24.so
  • #16 gnome_canvas_text_set_property
    from /home/mike/garnome/lib/libgnomecanvas-2.so.0
  • #17 object_set_property
    from /home/mike/garnome/lib/libgobject-1.3.so.13
  • #18 g_object_set_valist
    from /home/mike/garnome/lib/libgobject-1.3.so.13
  • #19 gnome_canvas_item_construct
    from /home/mike/garnome/lib/libgnomecanvas-2.so.0
  • #20 gnome_canvas_item_new
    from /home/mike/garnome/lib/libgnomecanvas-2.so.0
  • #21 start_splash
  • #22 main
  • #23 __libc_start_main
    from /lib/libc.so.6

strace showed that it was trying to load a font which didn't exsist.
checking the Xftcache in that fontdir showed the nonexsistant font
referenced. removing the Xftcache remedied the problem.
Comment 1 Jim Meier 2002-02-03 00:58:58 UTC
*** Bug 70401 has been marked as a duplicate of this bug. ***
Comment 2 Mark McLoughlin 2002-02-06 10:18:57 UTC
Happens with Nautilus as well as gnome-session, think this bug belongs
in pango.
Comment 3 Alexander Larsson 2002-02-28 22:15:08 UTC
This is repeatable with Xft on my machine.
Looking at the Xft code it seems to blindly trust the caches.
Comment 4 Alexander Larsson 2002-02-28 23:09:47 UTC
2002-02-28  Alex Larsson  <alexl@redhat.com>

	* pango/pangoft2.c (pango_ft2_font_get_face):
	Check for errors when loading font face, fall back to sans,
	exit with warning if no font found.


It's hard to do better than this.
Comment 5 Owen Taylor 2002-03-22 18:03:40 UTC
Doing better probable would involve shipping a font with Pango.
Comment 6 Owen Taylor 2002-07-26 21:44:08 UTC

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