[Bug 682775] New: shmsink shmsrc permission problems
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Aug 27 02:10:42 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=682775
GStreamer | gst-plugins-bad | 0.10.x
Summary: shmsink shmsrc permission problems
Classification: Platform
Product: GStreamer
Version: 0.10.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: lfarkas at lfarkas.org
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
when we try to use shmsink and shmsrc from 2 different users eg. user1 and
user2. in this case currently gstreamer apps segfault eg from gstreamer-java we
simple got a segfault. the reason for this (may be) comes from 2 reason:
the shmsink has a perms flag, but it's only used for the shm area:
shm_open (path, flags, perms);
but do not applied to the control socket and in this case the two different
user are not able to communicate each other since the shmsrc has no permission
(by default) to the socket.
another strange thing we got in the log:
shm_open failed on /shmpipe. 2910. 0 (13): Permission denied
but we do give a socket path to the shmsrc so why use the generated file in the
above message?
--
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