[gstreamer-bugs] [Bug 348455] [filesrc] should not use mmap() by default, since it might cause SIGBUS when reading from corrupt medium or if device disappears unexpectedly
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Jul 27 03:56:18 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|NEW |RESOLVED
Resolution| |FIXED
Summary|[filesrc] bus error reading |[filesrc] should not use
|from corrupt medium or if |mmap() by default, since it
|device disappears |might cause SIGBUS when
|unexpectdly |reading from corrupt medium
| |or if device disappears
| |unexpectedly
Target Milestone|HEAD |0.10.10
------- Comment #7 from Tim-Philipp Müller 2006-07-27 10:56 UTC -------
2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
Do not use mmap() by default since there are a number of error
conditions that we would like to handle in a non-fatal way that
will result in a SIGBUS if we use mmap(). Examples: external
devices (USB harddrive, portable music player) being unplugged
while in use; file on mounted CD/DVD that can't be read because
the medium is partly damaged. Fixes #348455 and #348475.
--
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