[Bug 682775] shmsink shmsrc permission problems

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 4 18:19:10 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=682775
  GStreamer | gst-plugins-bad | 0.10.x

--- Comment #3 from Roland Elek <relek.f2 at gmail.com> 2013-01-05 02:18:58 UTC ---
Created an attachment (id=232804)
 View: https://bugzilla.gnome.org/attachment.cgi?id=232804
 Review: https://bugzilla.gnome.org/review?bug=682775&attachment=232804

Control socket permission patch

With this patch, shm area permissions are also applied to the control socket.

As for the segfault and log message, it is reproducible with at least 0.10.23,
on the shmsrc side, if the user has write, but not read permission as set in
the shmsink perms property (with the patch applied). I'll attach the stack
trace as the next attachment. AFAICT, the /shmpipe. 2910.    0 in the log
message is a shared memory object name (man 3 shm_open is my source) always
auto-generated on the shmsink side, and sent to the shmsrc side as a control
packet. Thus, it is unrelated to the socket path.

-- 
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