https://bugs.kde.org/show_bug.cgi?id=491920

            Bug ID: 491920
           Summary: Kamoso crashes when the camera is inaccessible
    Classification: Applications
           Product: kamoso
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: bribb...@disroot.org
  Target Milestone: ---

Currently on the Google Pixel 3A work is in progress to make the camera work.
Currently it works but only once per boot. Kamoso will show a picture briefly
after which it crashes while for example GNOME's Snapshot shows an image for
the entire time the application is open (until the user closes and restarts
it).

When it crashes the following error is thrown:

$ kamoso 
kf.kirigami: Failed to find a Kirigami platform plugin
error debugMessage: stream error: error set output format: -22 (Invalid
argument)
error: "../src/gst/gstpipewiresrc.c(704): on_state_changed ():
/GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:Built-in Front
Camera"
Stop

(kamoso:4067): GLib-GObject-CRITICAL **: 22:19:49.651: g_object_notify:
assertion 'G_IS_OBJECT (object)' failed
error debugMessage: stream error: error set output format: -22 (Invalid
argument)
error: "../src/gst/gstpipewiresrc.c(704): on_state_changed ():
/GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:Built-in Front
Camera"
Stop

(kamoso:4067): GLib-GObject-CRITICAL **: 22:19:50.108: g_object_notify:
assertion 'G_IS_OBJECT (object)' failed

(kamoso:4067): GLib-GObject-CRITICAL **: 22:19:50.108: g_object_notify:
assertion 'G_IS_OBJECT (object)' failed
error debugMessage: stream error: error set output format: -22 (Invalid
argument)
error: "../src/gst/gstpipewiresrc.c(704): on_state_changed ():
/GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:Built-in Front
Camera"
Stop
Segmentation fault

I understand not being able to show a camera image when this happens but the
application should at least not crash and show an error instead.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to