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 85337 - Nautilus crashes when clicking on "Home" desktop icon
Nautilus crashes when clicking on "Home" desktop icon
Status: RESOLVED DUPLICATE of bug 85975
Product: nautilus
Classification: Core
Component: Desktop
unspecified
Other other
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-06-15 02:53 UTC by jasondixon
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't crash with an empty music view. (725 bytes, patch)
2002-06-18 18:48 UTC, Dave Camp
none Details | Review

Description jasondixon 2002-06-15 02:53:09 UTC
Package: nautilus
Severity: critical
Version: 1.1.19
Synopsis: Nautilus crashes when clicking on "Home" desktop icon
Bugzilla-Product: nautilus
Bugzilla-Component: Desktop
BugBuddy-GnomeVersion: 2.0 (2.0.0)

Description:
Description of Problem:
Nautilus crashes when clicking on "Home" desktop icon.  Responds with
some error about nautilus-music (or something akin).

Steps to reproduce the problem:
1. Click my "Home" desktop icon.
2. 
3. 

Actual Results:
Spits out error.

Expected Results:
For Nautilus to start.

How often does this happen?
Every time so far.

Additional Information:
Running garnome 0.10.6 with metacity.



Debugging Information:

Backtrace was generated from
'/home/jason/garnome/bin/nautilus-music-view'

[New Thread 1024 (LWP 23097)]
[New Thread 2049 (LWP 23098)]
[New Thread 1026 (LWP 23099)]
0x420b4769 in wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 1024 (LWP 23097))

  • #0 wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    from /lib/i686/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 620
  • #4 pthread_sighandler
    from /lib/i686/libpthread.so.0
  • #5 <signal handler called>
  • #6 gtk_tree_model_get_valist
    at gtktreemodel.c line 1060

      v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0,

      v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer =
0x0}}}
	error = (gchar *) 0xbfffeec4 "




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-06-14 22:53 -------

Unknown version 1.1.x in product nautilus. Setting version to the default, "unspecified".
The original reporter (jasondixon@myrealbox.com) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.

Comment 1 Luis Villa 2002-06-15 11:45:54 UTC
Are there a lot of music files in your $HOME? Could you give us an
[edited if necessary] listing of the files in there? 
Comment 2 jasondixon 2002-06-15 13:12:02 UTC
Actually, there aren't ANY audio files in the first level of my $HOME:

[jason@lappy jason]$ ls -l
total 929948
-rw-rw-r--    1 jason    jason        2283 May 25 01:24 Application.pm
drwxr-xr-x    7 jason    jason        4096 May 23 19:35 crossover
drwxr-xr-x    7 jason    jason        4096 Jun 14 12:46 cxoffice
drwxrwxr-x    2 jason    jason        4096 Jun 10 15:35 Documents
drwx------    6 jason    jason        4096 Jun 14 13:38 evolution
drwxrwxr-x   13 jason    jason        4096 May 21 18:59 garnome
-rw-rw-r--    1 jason    jason     1453051 Jun 12 13:54
ICAClient-6.30-1.i386.rpm
-rw-rw-r--    1 jason    jason     1485835 Jun 12 13:54 linuxx86.tar.gz
drwx------    2 jason    jason        4096 May 26 16:11 mail
-rw-------    1 jason    jason       42446 Jun 14 23:56 maxtor-rebate.pdf
drwxrwxr-x    5 jason    jason        4096 Jun 14 23:41
metacity-setup-0.4.1
-rw-------    1 jason    jason       80392 Jun 14 23:39
metacity-setup-0.4.1.tar.gz
drwxrwxr-x    2 jason    jason        4096 Jun 13 22:07 movies
drwxrwxr-x    7 jason    jason        4096 May 30 09:48 mp3
-rw-------    1 jason    jason     7902470 May 22 02:14 PGPFW658Win32.zip
-rw-rw-r--    1 jason    jason    939781930 Jun 15 06:31 pulp.mpeg
drwx------    2 jason    jason        4096 Jun  7 12:04 stuff
Comment 3 Dave Camp 2002-06-18 18:48:13 UTC
The music view is crashing because there are no music files.  This was
never tested before, because the music view doesn't show up in the
menu for directories that have no music files.  However, if a
component is specified in the directory metafile (if it was chosen
from the menu before) it is not subjected to the same tests that
usually filters the music view out of the menu, so it can be activated
on directories that it normally can't view.

The comments indicate that this is the desired behaviour.  I sort of
agree with it (it would be confusing to choose a view and have it
forget that later), so the solution in this case is probably to just
make sure the music view doesn't crash.  The attached patch fixes the
crash.

It would be nice if nautilus could fall back to a different view if a
view fails to activate.
Comment 4 Dave Camp 2002-06-18 18:48:49 UTC
Created attachment 9302 [details] [review]
Don't crash with an empty music view.
Comment 5 jasondixon 2002-06-19 13:26:16 UTC
What I find particularly odd is that this is a *first-use* behavior. 
This icon defaulted to the music-view... it wasn't something I chose,
and then removed music files.  I've been able to "fix" it by cp'g an
mp3 to my home folder, opening nautilus, then changing the default to
icon view.

But this bothers me... why would it default to music-view, and where
is that configured?  I didn't see anything in the icon config file
that would warrant this behavior.

-J.
Comment 6 Luis Villa 2002-06-20 15:39:59 UTC
Doh. Dave, Damon: Pick and choose between this patch and the one on
bug 85975, please :)  [Clearly they are duplicates.] Also, please mark
bug 84979 a duplicate of the 'winner' if that is appropriate.
Comment 7 Damon Chaplin 2002-06-20 18:01:48 UTC
My patch is obviously better!

I bet your music view crashes if you click the Previous Track or Play
buttons!
Comment 8 Dave Camp 2002-06-20 18:24:32 UTC

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