Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29809 - [cheese] 3.4.1-1 crashes upon launch

Attached to Project: Arch Linux
Opened by Alexander Walls (Wallsy) - Tuesday, 08 May 2012, 14:52 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 06 November 2012, 20:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
As soon as I launch cheese, it flashes up for half a second then terminates immediately. When trying to launch a second time, it will show a featureless window and hang until force terminated. If I disconnect then reconnect my only webcam (usb), the problem resets.

Additional info:
Version: 3.4.1-1
Logitech webcam


Steps to reproduce:
USB webcam already connected, launch cheese.
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 06 November 2012, 20:21 GMT
Reason for closing:  Fixed
Comment by Giuseppe De Luca (pep1ko) - Wednesday, 09 May 2012, 06:42 GMT
I have the same problem more or less!

I have tried with the kernel version 3.3.4 and 3.3.5 from testing but same issue. Also, when V4L or google talk tries to access the webcam the system freezes.

With the latest linux-lts cheese freezes but in V4L test and google talk it works.

I have a built-in webcam laptop Samsung RV520-S01 (uvcvideo)
May 9 08:53:08 localhost kernel: [ 855.625577] usbcore: deregistering interface driver uvcvideo
May 9 08:53:13 localhost kernel: [ 861.474484] Linux media interface: v0.10
May 9 08:53:13 localhost kernel: [ 861.476646] Linux video capture interface: v2.00
May 9 08:53:13 localhost kernel: [ 861.478988] uvcvideo: Found UVC 1.00 device WebCam SCB-0385N (2232:1005)
May 9 08:53:13 localhost kernel: [ 861.480872] input: WebCam SCB-0385N as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input12
May 9 08:53:13 localhost kernel: [ 861.482013] usbcore: registered new interface driver uvcvideo
May 9 08:53:13 localhost kernel: [ 861.482016] USB Video Class driver (1.1.1)
May 9 08:53:38 localhost kernel: [ 886.222412] compat_ioctl32: unknown ioctl 'v', dir=2, #1 (0x803c7601)
Comment by Alexander Walls (Wallsy) - Wednesday, 09 May 2012, 08:56 GMT
Just checked Google talk, seems to be completely operational for me.
Comment by Alexander Walls (Wallsy) - Wednesday, 09 May 2012, 17:31 GMT
Upgraded to the latest stable linux kernel (3.3.5-1). Cheese is now fully operational, except video, when I click record, webcam deactivates until I click stop recording and then cheese closes immediately and without warning.
Comment by Giuseppe De Luca (pep1ko) - Thursday, 10 May 2012, 04:06 GMT
Good for you :) For me it doesn't work yet :(
Comment by Alexander Walls (Wallsy) - Thursday, 10 May 2012, 10:45 GMT
Annoyingly, the issue I now have was the original problem as I posted it to gnome. Just got a bit worse for a couple of days :P
Comment by Giuseppe De Luca (pep1ko) - Friday, 11 May 2012, 05:21 GMT
Interesting!

Today I've tried to open cheese with both linux-vanilla and linux with nouveau(usually I use nvidia driver) and cheese doesn't even start. V4L test freezes the system and have to hard reset.
Comment by Jānis (grocha) - Sunday, 13 May 2012, 14:14 GMT
Looks like I have the same problem. More info in my forum thread that has no replies :(

https://bbs.archlinux.org/viewtopic.php?id=140284
Comment by Giuseppe De Luca (pep1ko) - Monday, 14 May 2012, 06:55 GMT
I've tried the new kernel 3.3.6 -ck and I can't use my webcam at all :(

I think it's a uvcvideo development issue, with the uvcvideo module.
Comment by Giuseppe De Luca (pep1ko) - Monday, 14 May 2012, 22:39 GMT
OK I found a solution for V4L test, gvcview and google talk.

I created a file in /etc/modprobe.d/uvcvideo.conf with "option uvcvideo nodrop=1"

Cheese still freezes.
Comment by Stevie Card (steveokard) - Friday, 18 May 2012, 07:21 GMT
I can confirm that Cheese is not working on Linux ArchLinux 3.3.6-1-ARCH #1 SMP PREEMPT Sun May 13 10:52:32 CEST 2012 x86_64 GNU/Linux
I do not have an /etc/modprobe.d/uvcvideo.conf file
I have a Logitech webcam:
[ 4.477572] Linux video capture interface: v2.00
[ 5.373976] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0807)
[ 5.388911] usbcore: registered new interface driver uvcvideo
[ 5.622883] cx88[0]/0: registered device video1 [v4l2]

Cheese fails immediately upon startup. I see a window for a few seconds as originally mentioned.
Running from terminal, cheese reports the following (which doesnt really mean much to me but I hope it, along with everything else, is helpful)
** (cheese:22613): CRITICAL **: cheese_camera_device_get_uuid: assertion `CHEESE_IS_CAMERA_DEVICE (device)' failed
Segmentation fault

The funny thing is, the webcam works just fine with fswebcam and Skype...
Comment by Patryk Rzucidlo (PTKDev) - Friday, 18 May 2012, 20:33 GMT
+1 for Segmentation fault
I have this webcam:
Bus 001 Device 003: ID 174f:a311 Syntek 1.3MPixel Web Cam - Asus A3A, A6J, A6K, A6M, A6R, A6T, A6V, A7T, A7sv, A7U

P.s. work with skype
Comment by Ionut Biru (wonder) - Friday, 18 May 2012, 22:53 GMT
please recompile cheese, clutter, clutter-gtk with debug symbols and get a proper trace.

https://wiki.archlinux.org/index.php/Step_By_Step_Debugging_Guide#Technique_.232_-_even_better_gdb_output
Comment by Stevie Card (steveokard) - Friday, 18 May 2012, 23:50 GMT
I must confess I have never done this before, but here is the trace when I ran Cheese (hope I did it right)
Comment by Giuseppe De Luca (pep1ko) - Wednesday, 06 June 2012, 06:55 GMT
Any news? I still have issues on cheese 3.4.2
Comment by Patryk Rzucidlo (PTKDev) - Thursday, 07 June 2012, 06:19 GMT
my gdb log (is correct?)

Comment by Ionut Biru (wonder) - Friday, 22 June 2012, 12:36 GMT Comment by Ionut Biru (wonder) - Friday, 22 June 2012, 12:38 GMT
I'm asking you guys to try the latest patch from the webkit bug and let me know if is fixed.
Comment by Balló György (City-busz) - Sunday, 19 August 2012, 14:30 GMT
The webkit patch is already included in the current libwebkit release, which solves the problem with llvmpipe, but there are some other problems reported also.

The following upstream commits fix all problems for me, please apply them:

Do not add NULL devices to the camera list
http://git.gnome.org/browse/cheese/commit/?id=60f9af8ff5f14e68588561320530937b1b3e57ed

Do not overwrite camerabin's default flags
http://git.gnome.org/browse/cheese/commit/?id=03fe3c79311d1e3b8cb62a92ba04ce7728b8032b

I think it's also solves  FS#30147 .

UPDATE:
These patches are still not solve the video recording problem, but at least cheese won't crash on startup.

Fedora applied various patches to gstreamer in order to fix video recording in cheese:
http://pkgs.fedoraproject.org/cgit/gstreamer-plugins-good.git/tree/
http://pkgs.fedoraproject.org/cgit/gstreamer-plugins-bad-free.git/tree/
Comment by Balló György (City-busz) - Tuesday, 06 November 2012, 18:13 GMT
The reported problem is fixed in cheese 3.6. However, cheese still crashes when I start recording video.

Loading...