Webcam Regression - libv4l2: error setting pixformat: Device or resource busy / segfault

Bug #571539 reported by Aaron C. de Bruyn
60
This bug affects 11 people
Affects Status Importance Assigned to Milestone
libv4l (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cheese

Cheese and other camera related programs crash after upgrading from 9.10 to 10.04.

caroline@lasonador:~$ cheese
libv4l2: error setting pixformat: Device or resource busy
Segmentation fault
caroline@lasonador:~$

Skype runs, but the 'test video' button does nothing.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cheese 2.30.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed Apr 28 20:51:44 2010
MachineType: System manufacturer System Product Name
ProcCmdLine: root=UUID=122147c1-86be-4379-9fd1-985abb138ba3 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cheese
dmi.bios.date: 12/22/2005
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS A8N8L ACPI BIOS Revision 0202 12/22/2005
dmi.board.name: A8N8L
dmi.board.vendor: ASUSTek Computer INC.
dmi.board.version: 1.xx
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSA8N8LACPIBIOSRevision020212/22/2005:bd12/22/2005:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTekComputerINC.:rnA8N8L:rvr1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Aaron C. de Bruyn (darkpixel2k) wrote :
Revision history for this message
asasoft (asasoft) wrote :

Ubuntu 10.04 LTS

Lucid fresh install , cheese work fine , but no video in Skype after push the "test" video button.

Revision history for this message
asasoft (asasoft) wrote :

starting Skype with "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype" and video test work for me.

Revision history for this message
Vish (vish) wrote :
Revision history for this message
Vish (vish) wrote :

Do you get a video when you test with
~$ gstreamer-properties

This doesnt seem like a cheese specific bug

Changed in cheese (Ubuntu):
status: New → Incomplete
Revision history for this message
Aaron C. de Bruyn (darkpixel2k) wrote :

caroline@lasonador:~$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
caroline@lasonador:~$

The libv4l2 lines all pop up immediately after hitting the test button in skype.

caroline@lasonador:~$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese
libv4l2: error setting pixformat: Device or resource busy
Segmentation fault
caroline@lasonador:~$

Same issue when trying to start cheese.

gstreamer-properties dies as well when trying to test video.

Changed in cheese (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → Incomplete
Revision history for this message
Aaron C. de Bruyn (darkpixel2k) wrote :

Problem appears to be with libv4l-0

affects: cheese (Ubuntu) → libv4l (Ubuntu)
Vish (vish)
Changed in libv4l (Ubuntu):
status: Incomplete → New
Revision history for this message
Marat Dyatko (marat-dyatko) wrote :

1. I go to a page with flash-chat
2. Authorize the flash-plugin to use a webcam
3. Closing web page
4. Launches cheese

$ cheese
libv4l2: error setting pixformat: Device or resource busy
Segmentation fault

Revision history for this message
Joe Littlejohn (joelittlejohn) wrote :

I get this behaviour:

1. Goto a page using a flash webcam
2. 'Allow' flash to use the webcam
3. Finish/close that page with the flash object and the cam disconnects
4. Now any flash inside the browser window and cheese (or any other cam app) gets the message:

    libv4l2: error setting pixformat: Device or resource busy

5. Close the browser, now cheese can access the webcam.

It's as if the browser only gets 1 use, then it can't access the cam again and the cam is stuck until the browser is closed.

Revision history for this message
Joe Littlejohn (joelittlejohn) wrote :

Similar to bug 522010?

Revision history for this message
Jason Galyon (jtgalyon) wrote :

Is anyone else interested in fixing this? I would be more than happy to help in whatever way I can.

The steps in comment #9 sadly do not work in Lucid on my Dell Studio 1747.

Is this an erroneous message, that it is 'busy'?

Revision history for this message
jonathan (enlinea777) wrote :

yo tengo el mismo problema cuando cargo el gstreamer-properties este no muestra video.
siempre dice: libv4l2: error setting pixformat: Dispositivo ó recurso ocupado

cheese se cae cuando trato de abrirlo
-

I have the same problem when I load the gstreamer-properties does not display this video.
always says libv4l2: pixformat setting error: Device or resource busy

cheese crashes when I try to open it

Revision history for this message
jonathan (enlinea777) wrote :

tengo un acer aspire 5536 amdatlhon 2, 4Gram and ubuntu lucid kernel 2.6.32-25-server

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.