Bug 477310 - Kamoso crashes if /dev/videoX is already open by ffplay
Summary: Kamoso crashes if /dev/videoX is already open by ffplay
Status: REPORTED
Alias: None
Product: kamoso
Classification: Applications
Component: general (show other bugs)
Version: 23.08.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-11-21 03:48 UTC by Jeffrey Walton
Modified: 2023-11-21 03:48 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 Jeffrey Walton 2023-11-21 03:48:40 UTC
Application: kamoso (23.08.3)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.5.11-300.fc39.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 39 (KDE Plasma)
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
I used ffplay to test if I could open the video through the file system. The camera's stream is located at /dev/video4. ffplay is showing the stream.

Next, I tried to open the camera using Kamoso. In the Configure area, I selected USB Camera. Kamosos crashed when I attempted to switch to USB Camera.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007f0984b3c05f in gst_mini_object_unref () from /lib64/libgstreamer-1.0.so.0
#5  0x00007f0984b3cb33 in gst_mini_object_replace () from /lib64/libgstreamer-1.0.so.0
#6  0x00007f0984b46842 in gst_pad_template_dispose () from /lib64/libgstreamer-1.0.so.0
#7  0x00007f09853949b4 in g_object_unref () from /lib64/libgobject-2.0.so.0
#8  0x00007f0984af2f9e in gst_object_replace () from /lib64/libgstreamer-1.0.so.0
#9  0x00007f0984b40aee in gst_pad_dispose () from /lib64/libgstreamer-1.0.so.0
#10 0x00007f09853949b4 in g_object_unref () from /lib64/libgobject-2.0.so.0
#11 0x00007f0984b1f264 in gst_element_remove_pad () from /lib64/libgstreamer-1.0.so.0
#12 0x00007f0984b23e7e in gst_element_dispose.lto_priv () from /lib64/libgstreamer-1.0.so.0
#13 0x00007f09853949b4 in g_object_unref () from /lib64/libgobject-2.0.so.0
#14 0x00007f0984afbae6 in gst_bin_remove_func () from /lib64/libgstreamer-1.0.so.0
#15 0x00007f0984af6fbf in gst_bin_remove () from /lib64/libgstreamer-1.0.so.0
#16 0x00007f09045353e7 in stream_group_free () from /lib64/gstreamer-1.0/libgstencoding.so
#17 0x00007f090453564d in gst_encode_base_bin_tear_down_profile () from /lib64/gstreamer-1.0/libgstencoding.so
#18 0x00007f09045357b8 in gst_encode_base_bin_dispose () from /lib64/gstreamer-1.0/libgstencoding.so
#19 0x00007f09853949b4 in g_object_unref () from /lib64/libgobject-2.0.so.0
#20 0x00007f0984afbae6 in gst_bin_remove_func () from /lib64/libgstreamer-1.0.so.0
#21 0x00007f0984af6fbf in gst_bin_remove () from /lib64/libgstreamer-1.0.so.0
#22 0x00007f0984af72ab in gst_bin_dispose () from /lib64/libgstreamer-1.0.so.0
#23 0x00007f09853949b4 in g_object_unref () from /lib64/libgobject-2.0.so.0
#24 0x000056225705a4f9 in webcamWatch(_GstBus*, _GstMessage*, void*) ()
#25 0x00007f0984b09657 in gst_bus_source_dispatch () from /lib64/libgstreamer-1.0.so.0
#26 0x00007f0983d12e5c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#27 0x00007f0983d6ddd8 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#28 0x00007f0983d10ad3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#29 0x00007f0984106a89 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#30 0x00007f09840b2f0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#31 0x00007f09840bb19b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#32 0x0000562257054b28 in main ()
[Inferior 1 (process 119829) detached]

Reported using DrKonqi