[Bug 673708] New: using playbin2 with "fd://" URIs randomly hangs or crashes
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Apr 7 15:10:22 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=673708
GStreamer | gst-plugins-base | 0.10.35
Summary: using playbin2 with "fd://" URIs randomly hangs or
crashes
Classification: Platform
Product: GStreamer
Version: 0.10.35
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: bas at westerbaan.name
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=211559)
--> (https://bugzilla.gnome.org/attachment.cgi?id=211559)
Example code and media file
The setup is simple:
1. create a playbin2.
2. open an audio file
3. set playbin2's URI to `fd://<fd of opened audio file>'
4. when the `about-to-finish' message is received; open another audio file and
set the URI to `fd://<fd of opened audio file>'
5. when the `playbin2-stream-changed' message is received; close the previous
filedescriptor
One would expect the audio file to be played over and over again without gap.
However, one of the following problems occur:
1. Very common: After a few playbacks (2 or 3 times are common, but 4 - 8 times
also occur), GStreamer hangs. After the URI is changed the current audio file
is played successfully to the end, but the new audio file is not started. (
calls to for instance get_property('uri') hang afterwards; the process is
using ~5% CPU )
2. Occasionally (1/10): the process segfaults or exits without any specific
error message.
Attached is a .tar with an example Python script of the setup along with an
example OGG.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list