GNOME Bugzilla – Bug 318336
crash when playing file gets truncated
Last modified: 2006-03-10 16:41:26 UTC
Steps to reproduce: 1. extract a song from audio CD into an .ogg file 2. play the file with RB 3. extract again _while_ playing Stack trace: Backtrace was generated from '/opt/gnome2/bin/rhythmbox' Using host libthread_db library "/lib/tls/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1227151136 (LWP 13145)] [New Thread -1272972368 (LWP 13828)] [New Thread -1237390416 (LWP 13152)] [New Thread -1236878416 (LWP 13147)] [New Thread -1228489808 (LWP 13146)] 0xb6fe35a9 in poll () from /lib/tls/libc.so.6
+ Trace 63442
Thread 5 (Thread -1228489808 (LWP 13146))
Other information: moving the file away seems to be gracefully handled. overwriting it, i.e. rapidly reducing its size, is not handled very well.
From the backtrace, I assume that RB hangs when this occurs. Is the trace taken while the file is still being written to, or is it taken after the ripping program has finished?
No, it actually crashes and a dialog asks for restarting or informing developers. I was wondering, too, why there is no signal handler frame.
the crash happens very shortly after the .ogg file is overwritten. it is reduced to size zero and then increases in size.
This is a gstreamer problem, so re-assigning and re-titling. This is reproducable with "gst-launch playbin uri=file://somefile & sleep 2 ; echo > somefile" using any file type (I've tried ogg, flac and mpeg).
Confirming since James can reproduce.
reassigned.
Ooh, sounds like a fun bug :) Will probably only fix it on the 0.10 branch, though. This still needs confirmation though.
Well, James can reproduce, I reported. "gst-launch playbin uri=file://somefile & sleep 2 ; echo > somefile" using any file type The report is already confirmed :)
With GStreamer 0.10.3 and Base Plugins 0.10.3, this presents an Internal data stream error and playback stops with an error rather than crashing.
yes, this is handled gently now. Good work.