Bug 436922 - Kamoso crashes on startup
Summary: Kamoso crashes on startup
Status: REPORTED
Alias: None
Product: kamoso
Classification: Applications
Component: general (show other bugs)
Version: 21.04.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-05-11 12:38 UTC by H.H.
Modified: 2022-01-29 21:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.84 KB, text/plain)
2021-10-12 02:22 UTC, Tony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description H.H. 2021-05-11 12:38:46 UTC
Application: kamoso (21.04.0)

Qt Version: 5.15.2
Frameworks Version: 5.81.0
Operating System: Linux 5.12.0-2-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

My default device /dev/video0 is in use to create a virtual device /dev/video10 (see https://github.com/allo-/virtual_webcam_background).

Kamoso crashes at startup, while kamerka works with this new device.

The crash can be reproduced every time.

-- Backtrace:
Application: Kamoso (kamoso), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f71f44f9f00 (LWP 9479))]
[KCrash Handler]
#6  g_type_check_instance_cast (type_instance=0x56431de52280, iface_type=0x50 [GObject]) at ../gobject/gtype.c:4114
#7  0x00007f71dc1a467b in  () at /usr/lib64/gstreamer-1.0/libgstcamerabin.so
#11 0x00007f71f890eb3f in <emit signal notify:zoom on instance 0x56431de1c080 [GstWrapperCameraBinSrc]> (instance=instance@entry=0x56431de1c080, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3553
    #8  0x00007f71f88f569f in g_closure_invoke (closure=0x56431da0e670, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x7fff0ecec790, invocation_hint=invocation_hint@entry=0x7fff0ecec710) at ../gobject/gclosure.c:810
    #9  0x00007f71f8907fab in signal_emit_unlocked_R (node=node@entry=0x56431d28c9c0, detail=detail@entry=2457, instance=instance@entry=0x56431de1c080, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fff0ecec790) at ../gobject/gsignal.c:3741
    #10 0x00007f71f890e9d9 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff0ecec930) at ../gobject/gsignal.c:3497
#12 0x00007f71f88fa094 in g_object_dispatch_properties_changed (object=0x56431de1c080 [GstWrapperCameraBinSrc], n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1206
#13 0x00007f71f8ab5da4 in gst_object_dispatch_properties_changed (object=0x56431de1c080 [GstWrapperCameraBinSrc], n_pspecs=1, pspecs=0x7fff0ececaa0) at ../gst/gstobject.c:455
#14 0x00007f71f88f98ce in g_object_notify_queue_thaw (object=0x56431de1c080 [GstWrapperCameraBinSrc], nqueue=<optimized out>) at ../gobject/gobject.c:341
#15 0x00007f71f88fd31f in g_object_set_valist (object=0x56431de1c080 [GstWrapperCameraBinSrc], first_property_name=<optimized out>, var_args=0x7fff0ececc20) at ../gobject/gobject.c:2471
#16 0x00007f71f88fdcfc in g_object_set (_object=0x56431de1c080, first_property_name=0x7f71dc1ab026 "zoom") at ../gobject/gobject.c:2635
#17 0x00007f71dc1a8f9e in  () at /usr/lib64/gstreamer-1.0/libgstcamerabin.so
#18 0x00007f71f8ae41e5 in gst_element_change_state (element=element@entry=0x56431de52610 [GstCameraBin|camerabin], transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at ../gst/gstelement.c:3046
#19 0x00007f71f8ae48ed in gst_element_set_state_func (element=0x56431de52610 [GstCameraBin|camerabin], state=GST_STATE_READY) at ../gst/gstelement.c:3000
#20 0x000056431b777342 in WebcamControl::playDevice(Device*) (this=0x7fff0eced2c0, device=0x56431d7cee00) at /usr/src/debug/kamoso-21.04.0-1.1.x86_64/src/video/webcamcontrol.cpp:301
#21 0x000056431b77865d in WebcamControl::onBusMessage(_GstMessage*) (message=<optimized out>, this=<optimized out>) at /usr/src/debug/kamoso-21.04.0-1.1.x86_64/src/video/webcamcontrol.cpp:320
#22 webcamWatch(GstBus*, GstMessage*, gpointer) (message=0x7f71a0001d40 [GstMessage], user_data=0x7fff0eced2c0) at /usr/src/debug/kamoso-21.04.0-1.1.x86_64/src/video/webcamcontrol.cpp:256
#23 0x00007f71f8acdf0c in gst_bus_source_dispatch (source=source@entry=0x56431de46c70, callback=0x56431b7784f0 <webcamWatch(GstBus*, GstMessage*, gpointer)>, user_data=0x7fff0eced2c0) at ../gst/gstbus.c:851
#24 0x00007f71f89928b7 in g_main_dispatch (context=0x7f71ec005000) at ../glib/gmain.c:3337
#25 g_main_context_dispatch (context=0x7f71ec005000) at ../glib/gmain.c:4055
#26 0x00007f71f8992c38 in g_main_context_iterate (context=context@entry=0x7f71ec005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#27 0x00007f71f8992cef in g_main_context_iteration (context=0x7f71ec005000, may_block=may_block@entry=1) at ../glib/gmain.c:4196
#28 0x00007f71f6f5cd30 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x56431d21b990, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f71f6f03b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff0eced0f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f71f6f0bdb0 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007f71f73fba9c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#32 0x00007f71f7b5ca75 in QApplication::exec() () at kernel/qapplication.cpp:2824
#33 0x000056431b773188 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kamoso-21.04.0-1.1.x86_64/src/main.cpp:59
[Inferior 1 (process 9479) detached]

Possible duplicates by query: bug 436863, bug 435992, bug 435427, bug 434974, bug 434725.

Reported using DrKonqi
Comment 1 Tony 2021-10-12 02:22:23 UTC
Created attachment 142351 [details]
New crash information added by DrKonqi

kamoso (21.11.70) using Qt 5.15.2

Ok, that's bizarre, i literally saved the file from drkonqi, no wonder the drives from the machine i originally got it died soon after.

-- Backtrace (Reduced):
#4  QString::QString(QString const&) (other=..., this=0x7ffcde6df1e0) at /usr/include/qt5/QtCore/qstring.h:1093
#5  Device::objectId() const (this=0x0) at /usr/src/debug/kamoso-21.11.70git.20211005T003328~2a2174e-ku.4.1.x86_64/src/device.cpp:50
#6  WebcamControl::playDevice(Device*) (this=0x7ffcde6e1e90, device=0x0) at /usr/src/debug/kamoso-21.11.70git.20211005T003328~2a2174e-ku.4.1.x86_64/src/video/webcamcontrol.cpp:275
#7  0x0000556862128660 in Kamoso::setRecording(bool) (recording=<optimized out>, this=0x556862683ab0) at /usr/src/debug/kamoso-21.11.70git.20211005T003328~2a2174e-ku.4.1.x86_64/src/kamoso.cpp:117
#8  Kamoso::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x556862683ab0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kamoso-21.11.70git.20211005T003328~2a2174e-ku.4.1.x86_64/build/src/kamoso_autogen/EWIEGA46WW/moc_kamoso.cpp:201
Comment 2 Tony 2021-10-12 02:24:44 UTC
(In reply to Tony from comment #1)
> Created attachment 142351 [details]
> New crash information added by DrKonqi
> 
> kamoso (21.11.70) using Qt 5.15.2
> 
> Ok, that's bizarre, i literally saved the file from drkonqi, no wonder the
> drives from the machine i originally got it died soon after.
> 
> -- Backtrace (Reduced):
> #4  QString::QString(QString const&) (other=..., this=0x7ffcde6df1e0) at
> /usr/include/qt5/QtCore/qstring.h:1093
> #5  Device::objectId() const (this=0x0) at
> /usr/src/debug/kamoso-21.11.70git.20211005T003328~2a2174e-ku.4.1.x86_64/src/
> device.cpp:50
> #6  WebcamControl::playDevice(Device*) (this=0x7ffcde6e1e90, device=0x0) at
> /usr/src/debug/kamoso-21.11.70git.20211005T003328~2a2174e-ku.4.1.x86_64/src/
> video/webcamcontrol.cpp:275
> #7  0x0000556862128660 in Kamoso::setRecording(bool) (recording=<optimized
> out>, this=0x556862683ab0) at
> /usr/src/debug/kamoso-21.11.70git.20211005T003328~2a2174e-ku.4.1.x86_64/src/
> kamoso.cpp:117
> #8  Kamoso::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
> (_o=0x556862683ab0, _c=<optimized out>, _id=<optimized out>, _a=<optimized
> out>) at
> /usr/src/debug/kamoso-21.11.70git.20211005T003328~2a2174e-ku.4.1.x86_64/
> build/src/kamoso_autogen/EWIEGA46WW/moc_kamoso.cpp:201

Please discard this, mistakes were made.