Bug 469509 - Kamoso doesn't start/crashes on startup
Summary: Kamoso doesn't start/crashes on startup
Status: REPORTED
Alias: None
Product: kamoso
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-05-08 20:31 UTC by Noah Engle
Modified: 2023-07-02 10:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (2.68 KB, text/plain)
2023-07-02 10:19 UTC, kapsh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Noah Engle 2023-05-08 20:31:19 UTC
Application: kamoso (22.12.3)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.2.14-300.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
When I tried to launch Kamoso from the gui, I would get the little bouncing icon for a few seconds and then nothing. I waited a minute longer because I know that my laptop is quite slow, but still nothing. Attempting to start Kamoso from the terminal still made me wait a bit, but then a window appeared that would desaturate and say "(Not Responding" whenever focused. After a while, it crashed. I don't know if Dr Konqi includes terminal output, so I'll add it myself

```
[noah@Noah-HP-Stream ~]$ kamoso 
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
error debugMessage: Internal data stream error.
error: "../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:HP Webcam (V4L2):\nstreaming stopped, reason not-negotiated (-4)"

(kamoso:5473): GLib-GObject-CRITICAL **: 13:08:55.232: g_object_notify: assertion 'G_IS_OBJECT (object)' failed
error debugMessage: Internal data stream error.
error: "../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:HP Webcam (V4L2):\nstreaming stopped, reason not-negotiated (-4)"

(kamoso:5473): GLib-GObject-CRITICAL **: 13:09:25.391: g_object_notify: assertion 'G_IS_OBJECT (object)' failed

(kamoso:5473): GLib-GObject-CRITICAL **: 13:09:25.391: g_object_notify: assertion 'G_IS_OBJECT (object)' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.906: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.906: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.906: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:39.907: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.075: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.075: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.075: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.075: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.075: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.075: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.075: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.076: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.230: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.231: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.231: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.231: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.231: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.231: range start is not smaller than end for `GstIntRange'

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.231: gst_value_collect_int_range: assertion 'collect_values[0].v_int < collect_values[1].v_int' failed

(kamoso:5473): GStreamer-CRITICAL **: 13:09:40.231: range start is not smaller than end for `GstIntRange'
error debugMessage: Internal data stream error.
error: "../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:HP Webcam (V4L2):\nstreaming stopped, reason not-negotiated (-4)"

(kamoso:5473): GLib-GObject-CRITICAL **: 13:09:55.641: g_object_notify: assertion 'G_IS_OBJECT (object)' failed

(kamoso:5473): GLib-GObject-CRITICAL **: 13:09:55.641: g_object_notify: assertion 'G_IS_OBJECT (object)' failed
KCrash: Application 'kamoso' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi
kf5idletime_wayland: This plugin does not support polling idle time

[1]+  Stopped                 kamoso
```

The crash can be reproduced every time.

-- Backtrace:
Application: Kamoso (kamoso), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fc14fb4e272 in g_type_check_instance_is_fundamentally_a () from /lib64/libgobject-2.0.so.0
#5  0x00007fc14fb38d10 in g_object_notify () from /lib64/libgobject-2.0.so.0
#6  0x00007fc14fb274ea in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#7  0x00007fc14fb55d36 in signal_emit_unlocked_R.isra.0 () from /lib64/libgobject-2.0.so.0
#8  0x00007fc14fb46bdd in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#9  0x00007fc14fb46e53 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#10 0x00007fc14fb326b4 in g_object_dispatch_properties_changed.lto_priv () from /lib64/libgobject-2.0.so.0
#11 0x00007fc14f2f3ba9 in gst_object_dispatch_properties_changed () from /lib64/libgstreamer-1.0.so.0
#12 0x00007fc14fb27ab0 in g_object_notify_queue_thaw.lto_priv () from /lib64/libgobject-2.0.so.0
#13 0x00007fc14fb3a9f6 in g_object_set_valist () from /lib64/libgobject-2.0.so.0
#14 0x00007fc14fb3ae3d in g_object_set () from /lib64/libgobject-2.0.so.0
#15 0x00007fc10af68c11 in gst_camera_bin_change_state () from /lib64/gstreamer-1.0/libgstcamerabin.so
#16 0x00007fc14f3235a4 in gst_element_change_state () from /lib64/libgstreamer-1.0.so.0
#17 0x00007fc14f323b59 in gst_element_set_state_func () from /lib64/libgstreamer-1.0.so.0
#18 0x0000563931fad127 in WebcamControl::playDevice(Device*) ()
#19 0x0000563931fae47e in webcamWatch(_GstBus*, _GstMessage*, void*) ()
#20 0x00007fc14f30aa57 in gst_bus_source_dispatch () from /lib64/libgstreamer-1.0.so.0
#21 0x00007fc14e51339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007fc14e571438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#23 0x00007fc14e510a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007fc14e906919 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007fc14e8b270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007fc14e8ba99b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#27 0x0000563931fa8ab9 in main ()
[Inferior 1 (process 5473) detached]

Reported using DrKonqi
Comment 1 kapsh 2023-07-02 10:19:31 UTC
Created attachment 160041 [details]
New crash information added by DrKonqi

kamoso (23.04.2) using Qt 5.15.10

On the same install it works with default kernel which does not support device's cameras. Started crashing with linux-surface kernel (6.3.9-1.surface.fc38.x86_64) which, in theory, should support them.

-- Backtrace (Reduced):
#4  0x00007f4053b2f331 in g_type_check_instance_is_fundamentally_a () from /lib64/libgobject-2.0.so.0
#5  0x00007f4053b19d10 in g_object_notify () from /lib64/libgobject-2.0.so.0
#6  0x00007f4053b084ea in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#7  0x00007f4053b36e16 in signal_emit_unlocked_R.isra.0 () from /lib64/libgobject-2.0.so.0
#8  0x00007f4053b27cbd in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0