this bug can be fixed by this patch >From 4cd9255f0a8a9e15d81561f00f02d275b5095f70 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel (Alexey Fisher) <bug-tr...@fisher-privat.net> Date: Thu, 01 Mar 2012 13:15:29 +0000 Subject: v4l2src: fix v4l2_munmap() for compressed formats
Make sure we always call munmap() with the same size we called mmap() with before. Current v4l2src uses the same structure for VIDIOC_QUERYBUF, VIDIOC_QBUF and v4l2_munmap calls. The problem is that the video buffer size (length) may vary for compressed or emulated bufs. VIDIOC_QBUF will change it if we pass the pointer of a v4l2_buffer. This is why we should avoid using same variable for mmap and video buffers. https://bugzilla.gnome.org/show_bug.cgi?id=671126 ** Bug watch added: GNOME Bug Tracker #671126 https://bugzilla.gnome.org/show_bug.cgi?id=671126 ** Patch added: "0001-fix-v4l2_munmap.patch" https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1041432/+attachment/3508463/+files/0001-fix-v4l2_munmap.patch ** Description changed: - Quantal 3.5.0-11 becomes totally unresponsive when starting a video from - the built in webcam. Both mouse and keyboard are frozen. + This is a bug in gstreamer-plugins-good. + + + ------------------------------------------------------------------------------------------ + Quantal 3.5.0-11 becomes totally unresponsive when starting a video from the built in webcam. Both mouse and keyboard are frozen. I tried both 32 and 64 bit versions of both cheese and camorama and the result was the same. This was not an issue with Precise. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: cheese 3.5.5-0ubuntu1 ProcVersionSignature: Ubuntu 3.5.0-11.11-generic 3.5.2 Uname: Linux 3.5.0-11-generic i686 NonfreeKernelModules: wl ApportVersion: 2.5.1-0ubuntu2 Architecture: i386 Date: Fri Aug 24 21:57:00 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) SourcePackage: cheese UpgradeStatus: Upgraded to quantal on 2012-08-17 (8 days ago) ** Also affects: gst-plugins-good via https://bugzilla.gnome.org/show_bug.cgi?id=670257 Importance: Unknown Status: Unknown ** Changed in: cheese (Ubuntu) Status: Confirmed => Invalid ** Also affects: gst-plugins-good0.10 (Ubuntu) Importance: Undecided Status: New ** Summary changed: - cheese and camorama freeze system when recording video + Any application which uses v4l2src element can be froze when recording video (e.x. cheese) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gst-plugins-good0.10 in Ubuntu. https://bugs.launchpad.net/bugs/1041432 Title: Any application which uses v4l2src element can be froze when recording video (e.x. cheese) To manage notifications about this bug go to: https://bugs.launchpad.net/cheese/+bug/1041432/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs