[gstreamer-bugs] [Bug 348455] [filesrc] bus error reading from corrupt medium or if device disappears unexpectdly

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 25 06:37:15 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=348455
 GStreamer | gstreamer (core) | Ver: 0.10.x


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
            Summary|filesrc bus error           |[filesrc] bus error reading
                   |typefinding VideoCD Mpeg-1  |from corrupt medium or if
                   |.dat                        |device disappears
                   |                            |unexpectdly




------- Comment #5 from Tim-Philipp Müller  2006-07-25 13:37 UTC -------
It would appear we'll run into similar problems with mmap() if

 - a device (ipod, external harddrive, usb stick) is removed/unplugged
   while still in use

 - an mmap()'ed file is truncated


There don't seem to be many possibilities of handling these things gracefully.
Installing a global signal handler isn't really an acceptable thing to do for a
library (but even then it would be fairly complicated to deal with it).


Maybe we should just default to normal read() again? The performance win of
mmap() is probably negligible compared to the cpu time used for audio/video
decoding/encoding. Shame about the additional memory usage though...


-- 
Configure bugmail: http://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