Bug 471484 - Kamoso crashes when trying to open Kamoso a second time
Summary: Kamoso crashes when trying to open Kamoso a second time
Status: RESOLVED FIXED
Alias: None
Product: kamoso
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-06-26 22:06 UTC by Antti Savolainen
Modified: 2024-03-27 11:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Savolainen 2023-06-26 22:06:15 UTC
Application: kamoso (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.3.8-arch1-1-bcachefs-git x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
Simply opening Kamoso several times causes Kamoso to crash. Might be a duplicate of #459700 as the first instance of Kamoso hogs the camera to itself

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kamoso (kamoso), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007fac82129f82 in g_type_check_instance_is_fundamentally_a (type_instance=0x55fed0361f30, fundamental_type=0x50 [None]) at ../glib/gobject/gtype.c:4167
#7  0x00007fac82114b0d in g_object_notify (object=0x55fed0361f30, property_name=0x7fac5e4ba989 "zoom") at ../glib/gobject/gobject.c:1584
#8  0x00007fac821036c0 in g_closure_invoke (closure=0x55fecfdfb750, return_value=0x0, n_param_values=2, param_values=0x7ffeac69d500, invocation_hint=0x7ffeac69d480) at ../glib/gobject/gclosure.c:832
#9  0x00007fac82131938 in signal_emit_unlocked_R.isra.0 (node=node@entry=0x55fecf3dd3d0, detail=detail@entry=2843, instance=instance@entry=0x55fecfcd7230, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffeac69d500) at ../glib/gobject/gsignal.c:3812
#10 0x00007fac82122aa7 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffeac69d6c0) at ../glib/gobject/gsignal.c:3565
#11 0x00007fac82122d34 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at ../glib/gobject/gsignal.c:3622
#12 0x00007fac8210e636 in g_object_dispatch_properties_changed (object=0x55fecfcd7230, n_pspecs=<optimized out>, pspecs=<optimized out>) at ../glib/gobject/gobject.c:1428
#13 0x00007fac80ae7dc8 in gst_object_dispatch_properties_changed (object=0x55fecfcd7230, n_pspecs=1, pspecs=0x7ffeac69d830) at ../gstreamer/subprojects/gstreamer/gst/gstobject.c:455
#14 0x00007fac82103c72 in g_object_notify_queue_thaw (object=0x55fecfcd7230, nqueue=<optimized out>) at ../glib/gobject/gobject.c:359
#15 0x00007fac82116856 in g_object_set_valist (var_args=0x7ffeac69d9c0, first_property_name=<optimized out>, object=<optimized out>) at ../glib/gobject/gobject.c:2793
#16 g_object_set_valist (object=<optimized out>, first_property_name=<optimized out>, var_args=0x7ffeac69d9c0) at ../glib/gobject/gobject.c:2742
#17 0x00007fac82116c99 in g_object_set (_object=0x55fecfcd7230, first_property_name=first_property_name@entry=0x7fac5e4ba989 "zoom") at ../glib/gobject/gobject.c:2957
#18 0x00007fac5e4b64e9 in gst_camera_bin_create_elements (camera=0x55fecfd78b70 [GstCameraBin|camerabin]) at ../gstreamer/subprojects/gst-plugins-bad/gst/camerabin2/gstcamerabin2.c:1742
#19 gst_camera_bin_change_state (element=0x55fecfd78b70 [GstElement|camerabin], trans=GST_STATE_CHANGE_NULL_TO_READY) at ../gstreamer/subprojects/gst-plugins-bad/gst/camerabin2/gstcamerabin2.c:1891
#20 0x00007fac80b1732f in gst_element_change_state (element=element@entry=0x55fecfd78b70 [GstElement|camerabin], transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at ../gstreamer/subprojects/gstreamer/gst/gstelement.c:3093
#21 0x00007fac80b178f6 in gst_element_set_state_func (element=0x55fecfd78b70 [GstElement|camerabin], state=GST_STATE_READY) at ../gstreamer/subprojects/gstreamer/gst/gstelement.c:3047
#22 0x000055fece41dc97 in WebcamControl::playDevice(Device*) (this=0x7ffeac69e120, device=0x55fecf8a1940) at /usr/include/qt/QtCore/qscopedpointer.h:138
#23 0x000055fece41f07a in WebcamControl::onBusMessage(_GstMessage*) (message=<optimized out>, this=<optimized out>) at /usr/src/debug/kamoso/kamoso-23.04.2/src/video/webcamcontrol.cpp:308
#24 webcamWatch(GstBus*, GstMessage*, gpointer) (message=<optimized out>, user_data=0x7ffeac69e120) at /usr/src/debug/kamoso/kamoso-23.04.2/src/video/webcamcontrol.cpp:244
#25 0x00007fac80afea28 in gst_bus_source_dispatch (source=0x55fecfcf7fe0, callback=0x55fece41ee00 <webcamWatch(GstBus*, GstMessage*, gpointer)>, user_data=0x7ffeac69e120) at ../gstreamer/subprojects/gstreamer/gst/gstbus.c:821
#26 0x00007fac809b9981 in g_main_dispatch (context=0x7fac74000ee0) at ../glib/glib/gmain.c:3460
#27 g_main_context_dispatch (context=0x7fac74000ee0) at ../glib/glib/gmain.c:4200
#28 0x00007fac80a16b39 in g_main_context_iterate.isra.0 (context=context@entry=0x7fac74000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#29 0x00007fac809b7032 in g_main_context_iteration (context=0x7fac74000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#30 0x00007fac80eea5cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55fecf24c290, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007fac80e9a484 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffeac69df30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007fac80e9b923 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00007fac8133bf12 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#34 0x00007fac81b76cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#35 0x000055fece41957b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kamoso/kamoso-23.04.2/src/main.cpp:47
[Inferior 1 (process 23462) detached]

The reporter indicates this bug may be a duplicate of or related to bug 459700.

Reported using DrKonqi
Comment 1 Antti Savolainen 2024-03-27 11:30:56 UTC
Kamoso is much more stable and doesn't crash as much now. This must have been fixed somewhere along the way.