Bug 499667 - Kamsos crashes on launch
Summary: Kamsos crashes on launch
Status: REPORTED
Alias: None
Product: kamoso
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-02-08 00:15 UTC by justinnoah+kdedev@gmail.com
Modified: 2025-02-08 00:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/129818/events/927e8310fb334444944f2d3985224d78/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description justinnoah+kdedev@gmail.com 2025-02-08 00:15:35 UTC
Application: kamoso (23.08.5)

Qt Version: 6.6.2
Frameworks Version: 6.6.0
Operating System: Linux 6.11.0-14-generic x86_64
Windowing System: Wayland
Distribution: Ubuntu 24.10
DrKonqi: 6.1.5 [KCrashBackend]

-- Information about the crash:
Launching from the terminal or Discover results in a window to open briefly then crash. From the terminal I noticed some output about not being able to allocate enough memory. The machine I am using for this has 32G RAM and at the time of launch only about 5.5G was in use.


Terminal Output:

~ ยป kamoso
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
error debugMessage: Failed to allocate required memory.
error: "../sys/v4l2/gstv4l2src.c(956): gst_v4l2src_decide_allocation (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstV4l2Src:ipu6:\nBuffer pool activation failed"
Stop

(kamoso:12486): GLib-GObject-CRITICAL **: 15:55:57.402: g_object_notify: assertion 'G_IS_OBJECT (object)' failed
error debugMessage: Failed to allocate required memory.
error: "../sys/v4l2/gstv4l2src.c(956): gst_v4l2src_decide_allocation (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstV4l2Src:ipu6:\nBuffer pool activation failed"
Stop

(kamoso:12486): GLib-GObject-CRITICAL **: 15:55:57.629: g_object_notify: assertion 'G_IS_OBJECT (object)' failed
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kamoso path = /usr/bin pid = 12486
KCrash: Arguments: /usr/bin/kamoso 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "stateChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMState
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "connectivityChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMConnectivityState
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "deviceTypeChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMDeviceType
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "meteredChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMMetered
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qrc:/ui/MainPage.qml:64:13: QML MainPageButton: Binding loop detected for property "icon.height"
qrc:/ui/MainPage.qml:48:13: QML MainPageButton: Binding loop detected for property "icon.height"

warning: 29     ../sysdeps/unix/sysv/linux/poll.c: No such file or directory
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
Killing running debugger instance
Quit
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
[1]    12486 segmentation fault (core dumped)  kamoso

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007aad249207d1 in g_type_check_instance_is_fundamentally_a () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007aad2490ac6c in g_object_notify () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007aad248f845a in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007aad249283a3 in ??? () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007aad24918f0d in ??? () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007aad24919181 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007aad24919243 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007aad24904594 in ??? () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007aad22aeda89 in ??? () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#13 0x00007aad248f8c4e in ??? () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007aad2490ca48 in g_object_set_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007aad2490ce9b in g_object_set () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007aad0c086c41 in ??? () at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcamerabin.so
#17 0x00007aad22b1e426 in gst_element_change_state () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#18 0x00007aad22b1eceb in ??? () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#19 0x000061637c0131a7 in WebcamControl::playDevice (this=0x7ffce6b6eea0, device=0x6163aa74fbf0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:138
#20 0x000061637c0144fe in WebcamControl::onBusMessage (message=<optimized out>, this=<optimized out>) at /usr/src/kamoso-23.08.5-0ubuntu4/src/video/webcamcontrol.cpp:308
#21 webcamWatch (message=<optimized out>, user_data=0x7ffce6b6eea0) at /usr/src/kamoso-23.08.5-0ubuntu4/src/video/webcamcontrol.cpp:244
#22 0x00007aad22b04ca7 in ??? () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#23 0x00007aad229bb397 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007aad22a1bdc7 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007aad229ba8b3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007aad22f47afd in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007aad22ee75ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007aad22ef0286 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x000061637c00eb18 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/kamoso-23.08.5-0ubuntu4/src/main.cpp:47
[Inferior 1 (process 7141) detached]

Reported using DrKonqi