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 336538 - [gnomevfssrc?] rhythmbox crashed during NFS import
[gnomevfssrc?] rhythmbox crashed during NFS import
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other other
: High critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-29 20:47 UTC by Sjoerd Mullender
Modified: 2008-05-06 12:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Tail of the output of rhythmbox -d (55.82 KB, text/plain)
2006-04-01 11:49 UTC, Sjoerd Mullender
Details

Description Sjoerd Mullender 2006-03-29 20:47:47 UTC
Distribution: Fedora Core release 5 (Bordeaux)
Package: rhythmbox
Severity: critical
Version: GNOME2.14.0 0.9.3
Gnome-Distributor: Red Hat, Inc
Synopsis: rhythmbox crashed during NFS import
Bugzilla-Product: rhythmbox
Bugzilla-Component: Importing
Bugzilla-Version: 0.9.3
BugBuddy-GnomeVersion: 2.0 (2.14.0)
Description:
Description of the crash:

During an import of a library of ogg/vorbis files over NFS, rhythmbox
crashed.  The last thing rhythmbox displayed on the status line was
"1144 songs".  This is out of 13299 songs in my library.

Steps to reproduce the crash:
1. Start rhythmbox, select Music -> Import Folder, select a folder (over
NFS if that's relevant), and let rhythmbox do its job.
2. 
3. 

Expected Results:
Imported music.

How often does this happen?
Every time I try to import this library.

Additional Information:
All files have been created on FC4 using oggenc.
I have been able to import this library on FC4 from the same NFS server
(which has not yet been upgraded to FC5).


Debugging Information:

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

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`shared object read from target memory' has disappeared; keeping its
symbols.
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208321856 (LWP 23670)]
[New Thread -1341297760 (LWP 6314)]
[New Thread -1245803616 (LWP 23740)]
[New Thread -1235313760 (LWP 23739)]
(no debugging symbols found)
0x0089a402 in __kernel_vsyscall ()

Thread 2 (Thread -1341297760 (LWP 6314))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 gnome_init_with_popt_table
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 gnome_vfs_find_directory
    from /usr/lib/libgnomevfs-2.so.0
  • #5 gnome_vfs_read_cancellable
    from /usr/lib/libgnomevfs-2.so.0
  • #6 gnome_vfs_read
    from /usr/lib/libgnomevfs-2.so.0
  • #7 gst_gnome_vfs_src_get_type
    from /usr/lib/gstreamer-0.10/libgstgnomevfs.so
  • #8 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #9 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #10 gst_pad_get_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #11 gst_ghost_pad_get_target
    from /usr/lib/libgstreamer-0.10.so.0
  • #12 gst_pad_get_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 gst_pad_pull_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 gst_type_find_element_get_type
    from /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #15 gst_pad_get_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #16 gst_pad_pull_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #17 gst_ogg_demux_plugin_init
    from /usr/lib/gstreamer-0.10/libgstogg.so
  • #18 gst_task_set_lock
    from /usr/lib/libgstreamer-0.10.so.0
  • #19 g_thread_pool_push
    from /usr/lib/libglib-2.0.so.0
  • #20 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #21 start_thread
    from /lib/libpthread.so.0
  • #22 clone
    from /lib/libc.so.6




------- Bug created by bug-buddy at 2006-03-29 20:47 -------

Comment 1 Alex Lancaster 2006-03-30 03:18:52 UTC
Can you run the import using the "-d" option to rhythmbox, i.e.:  "rhythmbox -d" and attach the last part of that output to this bug.  That should help identify which particular track might have caused the crash.  In general things like this tend to be caused by a particular file.

Also are you using 0.9.3 or 0.9.3.1?
Comment 2 Sjoerd Mullender 2006-03-30 06:32:31 UTC
Rhythmbox claims to be version 0.9.3.1.  It's the version that came with Fedora Core 5.

Of course when I try the import again (with a clean (i.e. removed) .gnome2/rhythmbox directory), this time with the -d option, things get imported properly.  There was a pop-up window telling me about a bunch of .txt and .m3u (not even close to all of those) files it couldn't figure out the MIME type of, but that was it.

There is another oddity.  The command
find . -name \*.ogg | wc -l
finds 13299 files, whereas rhythmbox claims to have imported 13300.
Comment 3 Alex Lancaster 2006-03-30 06:36:53 UTC
Do any of the file names have ampersands in them?  If so, could be an instance of bug #333998 which is fixed in CVS.
Comment 4 Alex Lancaster 2006-03-30 06:39:31 UTC
At least that canonicalisation in comment #3 issue might explain this oddity:

> finds 13299 files, whereas rhythmbox claims to have imported 13300.
Comment 5 Alex Lancaster 2006-03-30 06:43:39 UTC
(In reply to comment #2)
> Rhythmbox claims to be version 0.9.3.1.  It's the version that came with Fedora
> Core 5.
> 
> Of course when I try the import again (with a clean (i.e. removed)
> .gnome2/rhythmbox directory), this time with the -d option, things get imported
> properly.  There was a pop-up window telling me about a bunch of .txt and .m3u
> (not even close to all of those) files it couldn't figure out the MIME type of,
> but that was it.

The fact that you are adding a large number of files and it works with the "-d" also makes me think that it might be related to bug #331876 which is about a hang when importing a large number of files.  Although arguing against that case it hangs rather than crashes and if you are on FC-5 then you shouldn't have the problem with gnome-vfs which is mentioned on that bug.

Comment 6 Sjoerd Mullender 2006-03-30 06:49:29 UTC
(In reply to comment #3)
> Do any of the file names have ampersands in them?  If so, could be an instance
> of bug #333998 which is fixed in CVS.
> 

No.  The set of ASCII characters is limited, although there are non-ASCII characters encoded as UTF-8 among the file names.
Comment 7 Alex Lancaster 2006-03-30 06:53:09 UTC
Can you reproduce without the "-d" option?
Comment 8 Sjoerd Mullender 2006-03-30 07:08:31 UTC
(In reply to comment #7)
> Can you reproduce without the "-d" option?
> 

Working on it.  But I have to leave for work and I'm away the whole day tomorrow, so I may not be able to report today.
Comment 9 Sjoerd Mullender 2006-03-30 07:11:12 UTC
(In reply to comment #2)
> There is another oddity.  The command
> find . -name \*.ogg | wc -l
> finds 13299 files, whereas rhythmbox claims to have imported 13300.
> 

Maybe this was caused by a file with a .ogg.vctemp extension which was less than half the size of the file without .vctemp.  I removed it and started a fresh import.
Comment 10 Jonathan Matthew 2006-03-30 10:17:57 UTC
Since the original crash was inside gnome-vfs (thread 2, the thread that crashed, was inside gnome_vfs_read), can you install the gnome-vfs debuginfo package (see http://fedoraproject.org/wiki/StackTraces)?
Comment 11 Sjoerd Mullender 2006-04-01 10:40:47 UTC
(In reply to comment #10)
> Since the original crash was inside gnome-vfs (thread 2, the thread that
> crashed, was inside gnome_vfs_read), can you install the gnome-vfs debuginfo
> package (see http://fedoraproject.org/wiki/StackTraces)?
> 

Here is the relevant part of the stack trace.

Thread 2 (Thread -1374684256 (LWP 30098))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 gnome_init_with_popt_table
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 _gnome_vfs_handle_do_read
    at gnome-vfs-handle.c line 132
  • #5 gnome_vfs_read_cancellable
    at gnome-vfs-cancellable-ops.c line 134
  • #6 gnome_vfs_read
    at gnome-vfs-ops.c line 215
  • #7 gst_gnome_vfs_src_get_type
    from /usr/lib/gstreamer-0.10/libgstgnomevfs.so
  • #8 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #9 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #10 gst_pad_get_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #11 gst_ghost_pad_get_target
    from /usr/lib/libgstreamer-0.10.so.0
  • #12 gst_pad_get_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 gst_pad_pull_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 gst_type_find_element_get_type
    from /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #15 gst_pad_get_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #16 gst_pad_pull_range
    from /usr/lib/libgstreamer-0.10.so.0
  • #17 gst_ogg_demux_plugin_init
    from /usr/lib/gstreamer-0.10/libgstogg.so
  • #18 gst_task_set_lock
    from /usr/lib/libgstreamer-0.10.so.0
  • #19 g_thread_pool_push
    from /usr/lib/libglib-2.0.so.0
  • #20 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #21 start_thread
    from /lib/libpthread.so.0
  • #22 clone
    from /lib/libc.so.6

I tried importing the directory twice in quick succession.  The first time it didn't crash, but the second time it did (with this stack trace).  The difference between the two runs is that I restored the .ogg.vctemp file inbetween the runs.  That file is probably a leftover from a failed attempt to run vorbiscomment to change a comment on the .ogg file.  It is a lot smaller than the corresponding .ogg file.
Comment 12 Sjoerd Mullender 2006-04-01 11:49:51 UTC
Created attachment 62529 [details]
Tail of the output of rhythmbox -d

(In reply to comment #2)
> Of course when I try the import again (with a clean (i.e. removed)
> .gnome2/rhythmbox directory), this time with the -d option, things get imported
> properly.  There was a pop-up window telling me about a bunch of .txt and .m3u
> (not even close to all of those) files it couldn't figure out the MIME type of,
> but that was it.

I tried running rhythmbox -d again, and this time I did get the crash.  I'll attach the output (or what was still visible in my terminal window).
Comment 13 James "Doc" Livingston 2006-04-01 14:09:00 UTC
This appears to be a gnomevfssrc bug (or possibly a gnomevfs one, I guess), so reassigning there.
Comment 14 Tim-Philipp Müller 2006-04-25 19:09:20 UTC
gnomevfssrc is in -base, reassigning.

Comment 15 Edward Hervey 2006-05-21 09:46:25 UTC
I can confirm I've see similar behaviour elsewhere

Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `python /home/bilboed/work/cvs/gst-media-test/gnltest.py --gst-fatal-warnings /m'.
Program terminated with signal 5, Trace/breakpoint trap.
  • #0 IA__g_logv
    at gmessages.c line 493
  • #0 IA__g_logv
    at gmessages.c line 493
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 gnome_vfs_read_cancellable
    at gnome-vfs-cancellable-ops.c line 120
  • #3 gst_gnome_vfs_src_create
    at gstgnomevfssrc.c line 657
  • #4 gst_base_src_get_range
    at gstbasesrc.c line 1269
  • #5 gst_base_src_pad_get_range
    at gstbasesrc.c line 1337
  • #6 gst_pad_get_range
    at gstpad.c line 3489
  • #7 gst_proxy_pad_do_getrange
    at gstghostpad.c line 220
  • #8 gst_pad_get_range
    at gstpad.c line 3489
  • #9 gst_pad_pull_range
    at gstpad.c line 3571
  • #10 gst_type_find_element_getrange
    at gsttypefindelement.c line 661
  • #11 gst_pad_get_range
    at gstpad.c line 3489
  • #12 gst_pad_pull_range
    at gstpad.c line 3571
  • #13 gst_avi_demux_loop
    at gstavidemux.c line 2511
  • #14 gst_task_func
    at gsttask.c line 193
  • #15 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #16 g_thread_create_proxy
    at gthread.c line 582
  • #17 start_thread
    at pthread_create.c line 261
  • #18 clone
    from /lib/libc.so.6
  • #19 ??

Comment 16 Wim Taymans 2006-08-23 17:03:37 UTC
what is the warning?
Comment 17 Tim-Philipp Müller 2006-09-28 12:38:47 UTC
Ping? What is the warning it prints?
Comment 18 Tim-Philipp Müller 2006-09-28 12:41:46 UTC
FWIW, I used to run into occasional IS_CANCELLABLE assertions (can't remember the exact look of it) ages ago, but haven't ever run into one since then, neither on ubuntu dapper nor on ubuntu edgy.

So, does anyone still get this with an up-to-date GStreamer/GnomeVFS?
Comment 19 Sjoerd Mullender 2006-09-28 12:54:06 UTC
What warning are you referring to?  Originally I reported a crash.  I wouldn't call that a warning.

FWIW, it seems the crash had to do with a corrupt ogg/vorbis file.
Comment 20 Tim-Philipp Müller 2006-09-28 13:18:29 UTC
> What warning are you referring to?

The one from Edward's stack trace. Both issues seem like they might be related.

> Originally I reported a crash.  I wouldn't call that a warning.
> FWIW, it seems the crash had to do with a corrupt ogg/vorbis file.

No, of course not :)  Can you still reproduce the crash somehow? Have you ever seen it again since? (Not entirely sure why the content of a file would matter to gnome-vfs here though; maybe the file was being modified/truncated by another application?)
Comment 21 Sjoerd Mullender 2006-09-28 13:31:56 UTC
I *have* seen it since, and again there was a corrupt file involved.

I don't have such a file currently (I didn't save the corrupt file), so I can't readily reproduce the problem.  It could be that truncating a file does the trick.

It's not up to me to decide whether or not the problem is in gnome-vfs, although in comment #11 you can see that a crash happened inside gnome_vfs_handle_do_read, which, I suppose, is a clue.
Comment 22 Sebastian Dröge (slomo) 2008-05-06 12:16:33 UTC
Ok, so it seems nobody can reproduce this anymore... let's just get this bug closed then until someone sees it again.