[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#891233: Bug #891233: kamoso: segmentation fault in kamoso in Debian 9 stable. Buster not affected



Dear Maintainer, hello Laura Arjona Reina,
I just tried to have a look at this crash.

Unfortunately given information point to no exact location.

In that case the line from dmesg would already be helpful:
    [  609.690904] kamoso[28487]: segfault at 0 ip 000055bc679e7fd5 sp 00007ffc474fd950 error 4 in kamoso[55bc679d3000+2b000]

A good information would be just to run it that way:
    gdb -q -ex run -ex bt -ex detach -ex quit --args kamoso

Another way would be to install a core dump collector like systemd-coredump
and execute something like this:
    coredumpctl list
    coredumpctl gdb <PID>

Even better when debug symbols are installed like described in [1].


Nevertheless I could reproduce a crash in a minimal stretch amd64 qemu VM,
with a forwarded usb webcam.

(gdb) bt
#0  0x000055bc679e7fd5 in WebcamControl::play (this=this@entry=0x7ffc474fdc80, device=0x55bc68b82220) at ./src/video/webcamcontrol.cpp:135
#1  0x000055bc679e8bfd in WebcamControl::WebcamControl (this=0x7ffc474fdc80) at ./src/video/webcamcontrol.cpp:86
#2  0x000055bc679e071f in main (argc=<optimized out>, argv=0x7ffc474fdde8) at ./src/main.cpp:43

(gdb) print cameraSource
$1 = {m_class = 0x0}

134         auto cameraSource = QGst::ElementFactory::make("wrappercamerabinsrc", "video_balance");
135         cameraSource->setProperty("video-source-filter", bin);


That "wrappercamerabinsrc" points to a missing package gstreamer1.0-plugins-bad.
Maybe you can confirm that installing that package avoids the crash,
if you still run a stretch installation that shows it.

This crash got fixed upstream in [2].

Kind regards,
Bernhard

[1] https://wiki.debian.org/HowToGetABacktrace
[2] https://cgit.kde.org/kamoso.git/commit/?id=1ff5f14fedd42bfa61ae181e0c598ec991ba4407


Reply to: