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 80083 - Crash on startup in xft
Crash on startup in xft
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other other
: Normal critical
: ---
Assigned To: gtk-bugs
Nautilus Maintainers
: 100894 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-27 23:13 UTC by Ben FrantzDale
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
My XftConfig file. I modified it from the dist. version, but not since this bug showed up. (3.33 KB, text/plain)
2002-04-29 19:46 UTC, Ben FrantzDale
Details

Description Ben FrantzDale 2002-04-27 23:13:32 UTC
Package: nautilus
Severity: normal
Version: 1.1.13
Synopsis: Crash on startup
Bugzilla-Product: nautilus
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (1.115.0)

Description:
Description of Problem:
Nautilus crashes after showing the home-dir window, but before showing
any files.

Steps to reproduce the problem:
1.  Start nautilus

Actual Results:
Crash

Expected Results:
No crash

How often does this happen?
Every time




Debugging Information:

Backtrace was generated from '/usr/bin/nautilus'

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New
Thread 1024 (LWP 19455)]
[New Thread 2049 (LWP 19458)]
[New Thread 1026 (LWP 19459)]
[New Thread 2051 (LWP 19460)]
[New Thread 3076 (LWP 19463)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x40a4ea69 in wait4 () from
/lib/libc.so.6

Thread 5 (Thread 3076 (LWP 19463))

  • #0 sigsuspend
    from /lib/libc.so.6
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #4 gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #5 pthread_start_thread
    from /lib/libpthread.so.0

Thread 4 (Thread 2051 (LWP 19460))

  • #0 sigsuspend
    from /lib/libc.so.6
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #4 gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #5 pthread_start_thread
    from /lib/libpthread.so.0

Thread 3 (Thread 1026 (LWP 19459))

  • #0 sigsuspend
    from /lib/libc.so.6
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #4 gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #5 pthread_start_thread
    from /lib/libpthread.so.0

Thread 1 (Thread 1024 (LWP 19455))

  • #0 wait4
    from /lib/libc.so.6
  • #1 __check_rhosts_file
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 pthread_sighandler
    from /lib/libpthread.so.0
  • #5 sigaction
    from /lib/libc.so.6
  • #6 MiniXftConfiglex
    from /usr/lib/libpangoft2-1.0.so.0
  • #7 MiniXftConfiglex
    from /usr/lib/libpangoft2-1.0.so.0
  • #8 MiniXftConfig_scan_bytes
    from /usr/lib/libpangoft2-1.0.so.0
  • #9 MiniXftConfiglex
    from /usr/lib/libpangoft2-1.0.so.0
  • #10 MiniXftConfigparse
    from /usr/lib/libpangoft2-1.0.so.0
  • #11 MiniXftInit
    from /usr/lib/libpangoft2-1.0.so.0
  • #12 _pango_ft2_font_map_remove
    from /usr/lib/libpangoft2-1.0.so.0
  • #13 pango_font_map_load_fontset
    from /usr/lib/libpango-1.0.so.0
  • #14 pango_itemize
    from /usr/lib/libpango-1.0.so.0
  • #15 pango_itemize
    from /usr/lib/libpango-1.0.so.0
  • #16 pango_layout_get_pixel_size
    from /usr/lib/libpango-1.0.so.0
  • #17 pango_layout_get_cursor_pos
    from /usr/lib/libpango-1.0.so.0
  • #18 pango_layout_get_extents
    from /usr/lib/libpango-1.0.so.0
  • #19 pango_layout_get_pixel_extents
    from /usr/lib/libpango-1.0.so.0
  • #20 eel_gdk_pixbuf_draw_layout_clipped
    from /usr/lib/libeel-2.so.1
  • #21 nautilus_icon_factory_get_thumbnail_frame
    from /usr/lib/libnautilus-private.so.2
  • #22 nautilus_icon_factory_get_thumbnail_frame
    from /usr/lib/libnautilus-private.so.2
  • #23 nautilus_icon_factory_get_emblem_icons_for_file
    from /usr/lib/libnautilus-private.so.2
  • #24 nautilus_icon_factory_get_pixbuf_for_icon
    from /usr/lib/libnautilus-private.so.2
  • #25 nautilus_icon_container_update_icon
    from /usr/lib/libnautilus-private.so.2
  • #26 nautilus_icon_container_update_icon
    from /usr/lib/libnautilus-private.so.2
  • #27 nautilus_icon_container_update_icon
    from /usr/lib/libnautilus-private.so.2
  • #28 nautilus_icon_container_update_scroll_region
    from /usr/lib/libnautilus-private.so.2
  • #29 nautilus_icon_container_update_scroll_region
    from /usr/lib/libnautilus-private.so.2
  • #30 g_timeout_add
    from /usr/lib/libglib-2.0.so.0
  • #31 g_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #32 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #33 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #34 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #35 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 gtk_widget_grab_focus
  • #37 __libc_start_main
    from /lib/libc.so.6
  • #0 wait4
    from /lib/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-04-27 19:13 -------

Unknown version 1.1.x in product nautilus. Setting version to the default, "unspecified".
Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.

Comment 1 Alexander Larsson 2002-04-28 03:36:56 UTC
Looks like something is busted with the Xft configuration.
Comment 2 Ben FrantzDale 2002-04-28 05:52:39 UTC
This may be related: for whatever reason, after a recent apt-get
dist-upgrade, loging in with the Gnome-AA session stopped working---it
would send me back to the login screen basically instantly.

Also, I managed to get nautilus to work for some things: If I run it
with --no-desktop and with a directory other than my home dir, it will
work fine for a while... I can also sometimes hit stop fast enough for
it not to load my home dir, after which I can go on and use it for a
while. There are other non-home-directory locations that will crash
it, though.
Comment 3 Luis Villa 2002-04-29 14:26:40 UTC
alex: should owen be cc'd on this, then? It looks like it is dying in
pango, right? [FWIW this isn't the first report of this- see also bug
78766.] Ben: do you have an XftConfig file installed correctly? Is it
possible the dist-upgrade horked your X and/or Xft installs?
Comment 4 Alexander Larsson 2002-04-29 14:45:35 UTC
This is a crash in PangoFT2. It uses the same configuration as the AA
mode, and it seems to crash while reading the config file. I think the
configuration file contains something strange. Maybe it shouldn't
crash though. 

Could you attach you XftConfig?
Comment 5 Ben FrantzDale 2002-04-29 19:46:00 UTC
Created attachment 8035 [details]
My XftConfig file. I modified it from the dist. version, but not since this bug showed up.
Comment 6 Luis Villa 2002-05-01 12:20:35 UTC
Reopening, then. Owen, is this xftconfig useful to you?
Comment 7 Owen Taylor 2002-05-01 14:26:12 UTC
More interesting question is whether it is useful to 
Alex. (I've cc'ed him directly in case he's still way
behind on nautilus-maint mail.)
Comment 8 Alexander Larsson 2002-05-02 19:31:53 UTC
The crash is repeatable with this XftConfig file at least.
Comment 9 Alexander Larsson 2002-05-02 19:35:50 UTC
Looks bad. With that config file even gtk-demo crashes when i run it
in Xft mode:

  • #0 _IO_getc
    at getc.c line 39
  • #1 XftConfiglex
    at eval.c line 41
  • #2 XftConfiglex
    at eval.c line 41
  • #3 XftConfig_scan_bytes
    at eval.c line 41
  • #4 XftConfiglex
    at eval.c line 41
  • #5 XftConfigparse
    at eval.c line 41
  • #6 XftInit
    at eval.c line 41
  • #7 XftListFontsPatternObjects
    at eval.c line 41
  • #8 XftListFonts
    at eval.c line 41
  • #9 pango_xft_font_map_get_patterns
    at pangoxft-fontmap.c line 608
  • #10 pango_xft_font_map_load_font
    at pangoxft-fontmap.c line 679
  • #11 pango_font_map_load_font
    at pango-fontmap.c line 85
  • #12 pango_context_load_font
    at pango-context.c line 220
  • #13 pango_layout_line_get_empty_extents
    at pango-layout.c line 3428
  • #14 pango_layout_line_get_extents
    at pango-layout.c line 3612
  • #15 get_line_extents_layout_coords
    at pango-layout.c line 1840
  • #16 pango_layout_get_extents_internal
    at pango-layout.c line 1908
  • #17 pango_layout_get_extents
    at pango-layout.c line 2004
  • #18 gtk_text_layout_get_line_display
    at gtktextlayout.c line 1948
  • #19 gtk_text_layout_real_wrap
    at gtktextlayout.c line 939
  • #20 gtk_text_layout_wrap
    at gtktextlayout.c line 551
  • #21 _gtk_text_btree_validate_line
    at gtktextbtree.c line 5181
  • #22 gtk_text_layout_validate_yrange
    at gtktextlayout.c line 855
  • #23 gtk_text_view_validate_onscreen
    at gtktextview.c line 2983
  • #24 gtk_text_view_value_changed
    at gtktextview.c line 5958
  • #25 gtk_text_view_set_scroll_adjustments
    at gtktextview.c line 5788


Seems we should pass this on to keithp.
Comment 10 Ben FrantzDale 2002-05-02 20:59:13 UTC
I just tried some things:
First, I tried incramentally commenting out my XftConfig file. Even
after commenting it out entirely, Nautilus would crash.

Then I downloaded http://www.keithp.com/~keithp/fonts/XftConfig, which
worked perfectly. What's weird is, I just commented out all of *that*
file, and it still works. I suspect it has something to do with Xft
not re-parsing it's file every time I run Nautilus... If anyone knows
how to force Xft to re-read the file, I'd be happy to try to narrow
down what's breaking it.
Comment 11 Keith Packard 2002-05-03 06:17:00 UTC
Well, the good news is that there's no way it will crash in
XftConfiglex with current XFree86 CVS, or in MinXftConfiglex
once Pango has migrated to Xft 2.  Neither of those functions exist
anymore.

This (oddly) leaves me less motivated to find the actual source of the
problem, but I'll see about getting a fix applied to the 4.2 branch of
XFree86 sometime soonish.  Of course, if someone else had a suitable
patch it would get done faster ...
Comment 12 Luis Villa 2002-05-13 06:51:34 UTC
That sounds an awful lot like WONTFIX, which I guess is fine with me...
Comment 13 Dave Bordoley [Not Reading Bug Mail] 2002-06-06 17:56:47 UTC
So is this won't fix than???
Comment 14 Luis Villa 2002-07-02 17:19:20 UTC
Owen: I'm reassigning to gtk since this also crashes gtk-demo; based
on keith's comment I'm guessing this is wontfix but it is up to you.
Comment 15 Elijah Newren 2002-12-11 02:52:03 UTC
*** Bug 100894 has been marked as a duplicate of this bug. ***