After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671201 - Cheese crash on startup : cheese_camera_device_get_uuid: assertion `CHEESE_IS_CAMERA_DEVICE (device)' failed
Cheese crash on startup : cheese_camera_device_get_uuid: assertion `CHEESE_IS...
Status: RESOLVED DUPLICATE of bug 677544
Product: cheese
Classification: Applications
Component: general
3.4.x
Other Linux
: Normal critical
: 3.4
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-03-02 10:21 UTC by Vadim Rutkovsky
Modified: 2019-12-17 08:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vadim Rutkovsky 2012-03-02 10:21:46 UTC
DistroRelease: Ubuntu 12.04
Package: cheese 3.3.5-0ubuntu1

"On my computer, cheese crashes on startup.
When launching it from command-line, it gives the following error message :
** CRITICAL **: cheese_camera_device_get_uuid: assertion `CHEESE_IS_CAMERA_DEVICE (device)' failed

I have 2 video input devices on this computer :
- an USB webcam Hercules Dualpix Exchange, that I already tested on Ubuntu 10.04 : it was perfectly supported, without any extra drivers
- a PCI device to convert video from an analog source : Winfast TV 2000"

Program received signal SIGSEGV, Segmentation fault.
__strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:163
163	../sysdeps/x86_64/multiarch/strcmp-sse42.S: Aucun fichier ou dossier de ce type.
(gdb) backtrace full
  • #0 __strcmp_sse42
    at ../sysdeps/x86_64/multiarch/strcmp-sse42.S line 163
  • #1 cheese_camera_set_device_by_dev_uuid
    at libcheese/cheese-camera.c line 1455
  • #2 cheese_camera_setup
    at libcheese/cheese-camera.c line 1495
  • #3 cheese_main_window_setup_camera
    at src/cheese-window.c line 4969
  • #4 cheese_main_on_app_activate
    at src/cheese-main.c line 214
  • #5 g_closure_invoke
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #6 ??
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #7 g_signal_emit_valist
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #8 g_signal_emit
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #9 cheese_main_real_local_command_line
    at src/cheese-main.c line 402
  • #10 g_application_run
    from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
  • #11 _vala_main
    at src/cheese-main.c line 478
  • #12 __libc_start_main
    at libc-start.c line 226
  • #13 _start

lspci output: https://launchpadlibrarian.net/92507394/lspci.txt
lsusb output: https://launchpadlibrarian.net/92507395/lsusb.txt
Comment 1 Vadim Rutkovsky 2012-03-02 10:23:22 UTC
This bug was originally filed at https://bugs.launchpad.net/cheese/+bug/930128
Comment 2 adys.wh 2012-04-22 20:18:22 UTC
Confirming on archlinux

cheese 3.4.1
Comment 3 adys.wh 2012-04-24 05:38:35 UTC
This seems to happen if we don't have read permissions on /dev/video0.
Comment 4 Goran Rakic 2012-04-26 19:31:53 UTC
I have two video devices (webcam and video capture card):

goran@pingvin:~$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 Apr 26 20:40 /dev/video0
crw-rw----+ 1 root video 81, 1 Apr 26 20:40 /dev/video1

It should be readable as I am in the video group:
goran@pingvin:~$ groups
goran ... video

Preview in gtreamer-properties works ok, and also gst-launch v4l2src device="/dev/video0" ! xvimagesink

It is a Logitech Quickcam, from lsusb:
Bus 002 Device 002: ID 046d:0992 Logitech, Inc. QuickCam Communicate Deluxe

I tried to set video device for cheese in dconf to /dev/video0 but the bug is still there, running cheese 3.4.1 on Ubuntu 12.04
Comment 5 David King 2012-06-12 06:41:12 UTC
Should be fixed by the patch which was merged to master and gnome-3-4 branches from bug 677574, can you verify that Cheese no longer crashes?
Comment 6 Vadim Rutkovsky 2012-06-19 04:22:04 UTC
From downstream bug: https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/917757

"Confirm not crashing. (deleted distro cheese using apt-get remove, installed new cheese from ppa using dpkg -i).

Working again! (yay!).

NOTE:- many, many resolution options" (using latest code from master)
Comment 7 David King 2012-06-19 05:49:55 UTC

*** This bug has been marked as a duplicate of bug 677574 ***
Comment 8 Simon McVittie 2019-12-17 08:35:33 UTC

*** This bug has been marked as a duplicate of bug 677544 ***
Comment 9 Simon McVittie 2019-12-17 08:37:22 UTC
(In reply to David King from comment #5)
> Should be fixed by the patch which was merged to master and gnome-3-4
> branches from bug 677574, can you verify that Cheese no longer crashes?

(Revisiting this while closing old downstream bugs in Debian)

It seems more likely to have been Bug #677544. The test results on downstream bug https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/917757 indicate that it was not fixed in 3.5.1 but was fixed in 3.5.3, which would be right for the patches in Bug #677544 having fixed this.