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 790290 - Cheese crashes on launch if no camera device is present
Cheese crashes on launch if no camera device is present
Status: RESOLVED OBSOLETE
Product: cheese
Classification: Applications
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-11-13 12:52 UTC by AsciiWolf
Modified: 2020-11-12 07:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description AsciiWolf 2017-11-13 12:52:48 UTC
Description of problem:
This happens only on Wayland. Cheese crashes on launch if the computer does not have any camera device connected.

Version-Release number of selected component (if applicable):
Ubuntu 18.04
Cheese 3.26.0

Additional info:
(cheese:3620): cheese-CRITICAL **: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed

(cheese:3620): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(cheese:3620): GLib-CRITICAL **: g_variant_ref_sink: assertion 'value != NULL' failed

(cheese:3620): GLib-GIO-CRITICAL **: g_settings_schema_key_type_check: assertion 'value != NULL' failed

(cheese:3620): GLib-CRITICAL **: g_variant_get_type_string: assertion 'value != NULL' failed

(cheese:3620): GLib-GIO-CRITICAL **: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given

(cheese:3620): GLib-CRITICAL **: g_variant_unref: assertion 'value != NULL' failed

** (cheese:3620): CRITICAL **: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
Comment 1 AsciiWolf 2017-12-07 10:58:05 UTC
Still not fixed.
Comment 2 AsciiWolf 2017-12-07 10:58:53 UTC
Original Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1710370
Comment 3 AsciiWolf 2017-12-11 09:46:44 UTC
I have tested this on Fedora 27 under Wayland and Cheese works correctly when no camera is connected. But it is an upstream bug according to the Ubuntu developers.
Comment 4 AsciiWolf 2017-12-27 18:34:52 UTC
This is most likely an Ubuntu issue, not an upstream one.
Comment 5 AsciiWolf 2018-03-14 17:28:58 UTC
Nope, not an Ubuntu issue. I was able to reproduce this issue on the latest Fedora Rawhide under Wayland.
Comment 6 Cédric Bellegarde 2018-04-02 23:41:01 UTC
Same here on ArchLinux but works on Fedora 28. No idea what is the real issue...

You will find people with same issue on most Linux distro.
Comment 7 Cédric Bellegarde 2018-04-02 23:42:18 UTC
Just found this:
- Works as root
- Does not work as user even after chmod 777 /dev/video0
Comment 8 Cédric Bellegarde 2018-04-05 20:27:29 UTC
Ok, found the issue, pipewire is launched by mutter/gnome-shell and is locking the webcam...
Comment 9 André Klapper 2020-11-12 07:12:22 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all
old bug reports and feature requests in GNOME Bugzilla which have not seen
updates for a long time.

If you still use cheese and if you still see this bug / want this feature in a
recent and currently supported version, then please feel free to report it at
https://gitlab.gnome.org/GNOME/cheese/-/issues/

Thank you for creating this report and we are sorry it could not be implemented
(volunteer workforce and time is quite limited).