Bug 459700 - Kamoso crashes when camera is unplugged
Summary: Kamoso crashes when camera is unplugged
Status: REPORTED
Alias: None
Product: kamoso
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.08.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-09-26 15:30 UTC by Loren Burkholder
Modified: 2022-09-26 15:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Loren Burkholder 2022-09-26 15:30:23 UTC
Application: kamoso (22.08.1)

Qt Version: 5.15.5
Frameworks Version: 5.98.0
Operating System: Linux 5.19.1-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
When a camera being used by Kamoso is unplugged from the system, Kamoso crashes.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  g_type_check_instance_cast (type_instance=type_instance@entry=0x55b671f3c1a0, iface_type=iface_type@entry=0x50 [None]) at ../gobject/gtype.c:4127
#5  0x00007f3e59fd5833 in gst_camera_bin_src_notify_zoom_cb (self=<optimized out>, pspec=<optimized out>, user_data=0x55b671f3c1a0) at ../gst/camerabin2/gstcamerabin2.c:1341
#9  0x00007f3e9dbec49f in <emit signal ??? on instance ???> (instance=instance@entry=0x55b671f1a0f0, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3606
    #6  0x00007f3e9dbd1570 in g_closure_invoke (closure=0x55b671989880, return_value=0x0, n_param_values=2, param_values=0x7ffd256be140, invocation_hint=0x7ffd256be0c0) at ../gobject/gclosure.c:832
    #7  0x00007f3e9dbe5396 in signal_emit_unlocked_R (node=node@entry=0x55b6710cab90, detail=detail@entry=2094, instance=instance@entry=0x55b671f1a0f0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffd256be140) at ../gobject/gsignal.c:3796
    #8  0x00007f3e9dbec335 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffd256be2e0) at ../gobject/gsignal.c:3549
#10 0x00007f3e9dbd5714 in g_object_dispatch_properties_changed (object=0x55b671f1a0f0, n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1428
#11 0x00007f3e9dc61b24 in gst_object_dispatch_properties_changed (object=0x55b671f1a0f0, n_pspecs=1, pspecs=0x7ffd256be450) at ../gst/gstobject.c:455
#12 0x00007f3e9dbd612c in g_object_notify_queue_thaw (object=0x55b671f1a0f0, nqueue=<optimized out>) at ../gobject/gobject.c:359
#13 0x00007f3e9dbd9c90 in g_object_set_valist (object=0x55b671f1a0f0, first_property_name=<optimized out>, var_args=0x7ffd256be5e0) at ../gobject/gobject.c:2771
#14 0x00007f3e9dbda8fc in g_object_set (_object=0x55b671f1a0f0, first_property_name=first_property_name@entry=0x7f3e59fdc026 "zoom") at ../gobject/gobject.c:2935
#15 0x00007f3e59fda29d in gst_camera_bin_create_elements (camera=0x55b671f3c530) at ../gst/camerabin2/gstcamerabin2.c:1742
#16 gst_camera_bin_change_state (element=0x55b671f3c530, trans=GST_STATE_CHANGE_NULL_TO_READY) at ../gst/camerabin2/gstcamerabin2.c:1891
#17 0x00007f3e9dc8f96d in gst_element_change_state (element=element@entry=0x55b671f3c530, transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at ../gst/gstelement.c:3083
#18 0x00007f3e9dc8ff93 in gst_element_set_state_func (element=0x55b671f3c530, state=GST_STATE_READY) at ../gst/gstelement.c:3037
#19 0x000055b66f1ed404 in WebcamControl::playDevice(Device*) (this=0x7ffd256becd0, device=0x55b6714f9d60) at /usr/src/debug/kamoso-22.08.1-1.1.x86_64/src/video/webcamcontrol.cpp:289
#20 0x000055b66f1ee660 in WebcamControl::onBusMessage(_GstMessage*) (message=<optimized out>, this=<optimized out>) at /usr/src/debug/kamoso-22.08.1-1.1.x86_64/src/video/webcamcontrol.cpp:308
#21 webcamWatch(GstBus*, GstMessage*, gpointer) (message=<optimized out>, user_data=0x7ffd256becd0) at /usr/src/debug/kamoso-22.08.1-1.1.x86_64/src/video/webcamcontrol.cpp:244
#22 0x00007f3e9dc79967 in gst_bus_source_dispatch (source=0x55b671b75c70, callback=0x55b66f1ee500 <webcamWatch(GstBus*, GstMessage*, gpointer)>, user_data=0x7ffd256becd0) at ../gst/gstbus.c:821
#23 0x00007f3e9dad8a50 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#24 0x00007f3e9dad8e08 in  () at /lib64/libglib-2.0.so.0
#25 0x00007f3e9dad8e9c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#26 0x00007f3e9e0a0406 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55b671053890, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f3e9e0479fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd256beae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x00007f3e9e04fb66 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x000055b66f1e915b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kamoso-22.08.1-1.1.x86_64/src/main.cpp:47
[Inferior 1 (process 26354) detached]

The reporter indicates this bug may be a duplicate of or related to bug 447270, bug 450349.

Reported using DrKonqi