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 304224 - nautilus-audio-view crashes with .wav files
nautilus-audio-view crashes with .wav files
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: [obsolete] Views: Music View
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-15 02:21 UTC by Daniel Nilsson
Modified: 2005-05-15 19:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Daniel Nilsson 2005-05-15 02:21:58 UTC
Distribution: Debian 3.1
Package: nautilus
Severity: normal
Version: GNOME2.8.3 0.8.1
Gnome-Distributor: Debian
Synopsis: nautilus-audio-view crashes with growing .wav files
Bugzilla-Product: nautilus
Bugzilla-Component: View as Music
Bugzilla-Version: 0.8.1
BugBuddy-GnomeVersion: 2.0 (2.8.1)
Description:
Description of the crash:

I'm ripping some CDs and trying to view the directory in Nautilus at the
same time using the Audio view. Since the ripping is ongoing that are a
combination of .ogg files and .wav files in the directory.
Nautilus-audio-view seems happy with all the .ogg files but crashes
while trying to determine status on the .wav files, note hoever that the
.wav files are "growing" in size while audio-view is trying to aquire
the data of the file.

Steps to reproduce the crash:
1. Navigate to a directory containing .wav files that are "growing" in
size.

Expected Results:

Audio-view should display the status on the files when I entered the
directory, doesn't really need to get updates from famd but that would
be nice I guess.

How often does this happen?

100% of the time.

Additional Information:




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-05-15 02:21 UTC -------


Unknown version 0.8.1 in product nautilus.  Setting version to "unspecified".

Comment 1 Daniel Nilsson 2005-05-15 02:25:51 UTC
I'm using Debian "testing" and as far as I can tell audio-view is from the
package "nautilus-media" which is at version 0.8.1-2 when I encountered this
problem.
Comment 2 Sebastien Bacher 2005-05-15 09:57:07 UTC
this feature is deprecated with GNOME 2.10, I'm closing the bug.
Comment 3 Daniel Nilsson 2005-05-15 19:58:25 UTC
Did a little more research, this problem is actually worked around by RedHat:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=134643

It actually crashes with .wav files in general, they don't need to be growing at
all. Here's the patch from RH that works around the issue:

+++ nautilus-media-0.8.1/media-info/media-info-priv.c   2004-10-14
19:16:28.215821032 -0400
@@ -364,9 +364,6 @@
   else if ((strcmp (mime, "application/x-flac") == 0) ||
            (strcmp (mime, "audio/x-flac") == 0))
     desc = g_strdup_printf ("%s name=source ! flacdec name=decoder !
audio/x-raw-int ! fakesink name=sink", priv->source_name);
-  else if ((strcmp (mime, "audio/wav") == 0) ||
-           (strcmp (mime, "audio/x-wav") == 0))
-    desc = g_strdup_printf ("%s name=source ! wavparse name=decoder !
audio/x-raw-int ! fakesink name=sink", priv->source_name);
   else if (strcmp (mime, "audio/x-mod") == 0 ||
           strcmp (mime, "audio/x-s3m") == 0 ||
            strcmp (mime, "audio/x-xm") == 0 ||
--- nautilus-media-0.8.1/audio-view/audio-view.c~       2004-06-01
04:41:45.000000000 -0400
+++ nautilus-media-0.8.1/audio-view/audio-view.c        2004-10-14
19:30:48.980496512 -0400
@@ -223,7 +223,6 @@
             (strcmp (type, "audio/mpeg") != 0) &&
             (strcmp (type, "audio/x-mp3") != 0) &&
             (strcmp (type, "audio/mpeg") != 0) &&
-            (strcmp (type, "audio/x-wav") != 0) &&
            (strcmp (type, "audio/x-mod") != 0) &&
            (strcmp (type, "audio/x-s3m") != 0) &&
            (strcmp (type, "audio/x-xm") != 0) &&