Motion - Bug Report 2011x 05x 02x 090748
You are here: Foswiki>Motion Web>BugReports>BugReport2011x05x02x090748 (02 May 2011, RaulFajardo)Edit Attach

BUG: zero-copy mode of vloopback module on Linux kernel >2.6.32

the vloopback module can be initialized to work in zero-copy mode. When client has issued an ioctl pusher will receive a SIGIO signal.

Right now, when client issues an ioctl, the SIGIO is sent but never arrives because vloopback stores the wrong pusher PID.

The solution is quite easy: change vloopback.c:489: loops[nr]->pid = find_pid_ns(current->pid,0); to: loops[nr]->pid = find_vpid(current->pid);

This has been tested on >2.6.31 and is working well.

Paste in your error messages, config settings, terminal window output etc in this text field.

Environment

Motion version: 3.2.12
ffmpeg version:  
Shared libraries: ffmpeg, mysql, postgresql
Server OS:  
-- RaulFajardo - 02 May 2011

Follow up

Fix record

BugReportForm edit

TopicTitle zero-copy mode of vloopback module on Linux kernel >2.6.32
BugStatus New
AssignedBugTo
SubmittedBy RaulFajardo
Topic revision: r1 - 02 May 2011, RaulFajardo
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.