[gstreamer-bugs] [Bug 359133] [gnomevfssrc] smb:// - could not read from (valid) resource
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Oct 28 17:01:23 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=359133
GStreamer | gst-plugins-base | Ver: HEAD CVS
------- Comment #14 from René Stadler 2006-10-29 00:00 UTC -------
Here is a trivial python program, triggering the problem and not using
GStreamer at all:
import sys, threading
h = gnomevfs.open (sys.argv[1], gnomevfs.OPEN_READ)
class T (threading.Thread):
def run (self):
h.read (4096)
print "Success!"
t = T ()
t.start ()
t.join ()
Calling this with a smb:// URI raises "InternalError: Internal error" on read.
These are basically the steps that GStreamer's gnomevfssrc performs (leaving
out getting of the file info and the no-op seek). In gnomevfssrc, the vfs open
is done in the "start" vfunc, which is called from the main thread. Data is
read in the "create" vfunc, called from the streaming thread.
If using gnome-vfs that way is supposed to work, the regression is there (it's
just gnomevfssrc that triggers it). Otherwise, gnomevfssrc was broken _all the
time_, it's just that the new gnome-vfs shows it.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list