#916076 kamoso: segmentation fault in GStreamer opening hamburger menu

Package:
kamoso
Source:
kamoso
Description:
tool to take pictures and videos from your webcam
Submitter:
John Scott
Date:
2019-12-24 17:42:03 UTC
Severity:
normal
#916076#5
Date:
2018-12-09 20:03:29 UTC
From:
To:
I'm unable to dig into the code and narrow down the issue at the
moment, but filing the bug nonetheless should others run into it
or have input.

With or without a webcam, trying to open the menu in the top-left
corner makes Kamoso crash on my system. Here's a backtrace I got.

[New Thread 0x7ffeca7ce700 (LWP 7958)]
[New Thread 0x7ffebe449700 (LWP 7959)]

Thread 45 "imagefreeze22:s" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff728e0700 (LWP 7950)]
0x00007fffc8a2915c in gst_radioactv_transform_frame (vfilter=0x555555b5c8d0 [GstRadioacTV], in_frame=<optimized out>, out_frame=<optimized out>) at gstradioac.c:399
399     gstradioac.c: No such file or directory.

#0  0x00007fffc8a2915c in gst_radioactv_transform_frame (vfilter=0x555555b5c8d0 [GstRadioacTV], in_frame=<optimized out>, out_frame=<optimized out>) at gstradioac.c:399
#1  0x00007fffe4070e53 in gst_video_filter_transform (trans=0x555555b5c8d0 [GstRadioacTV], inbuf=<optimized out>, outbuf=0x7fffe802c2f0) at gstvideofilter.c:272
#2  0x00007fffd3bcb609 in default_generate_output (trans=0x555555b5c8d0 [GstRadioacTV], outbuf=0x7fff728dfa60) at gstbasetransform.c:2132
#3  0x00007fffd3bcacd6 in gst_base_transform_chain (pad=<optimized out>, parent=0x555555b5c8d0 [GstRadioacTV], buffer=<optimized out>) at gstbasetransform.c:2285
#4  0x00007ffff7975c3a in gst_pad_chain_data_unchecked (data=0x7fffc0106eb0, type=4112, pad=0x7fffe801d140 [GstPad]) at gstpad.c:4322
#5  0x00007ffff7975c3a in gst_pad_push_data (pad=pad@entry=0x7fffe801cef0 [GstPad], type=type@entry=4112, data=data@entry=0x7fffc0106eb0) at gstpad.c:4578
#6  0x00007ffff797ded2 in gst_pad_push (pad=0x7fffe801cef0 [GstPad], buffer=0x7fffc0106eb0) at gstpad.c:4697
#7  0x00007fffd3bcadfd in gst_base_transform_chain (pad=<optimized out>, parent=0x555555c4a2d0 [GstVideoConvert], buffer=<optimized out>) at gstbasetransform.c:2321
#8  0x00007ffff7975c3a in gst_pad_chain_data_unchecked (data=0x7fffe802c1e0, type=4112, pad=0x7fffe801cca0 [GstPad]) at gstpad.c:4322
#9  0x00007ffff7975c3a in gst_pad_push_data (pad=pad@entry=0x7fffe801ca50 [GstPad], type=type@entry=4112, data=data@entry=0x7fffe802c1e0) at gstpad.c:4578
#10 0x00007ffff797ded2 in gst_pad_push (pad=0x7fffe801ca50 [GstPad], buffer=buffer@entry=0x7fffe802c1e0) at gstpad.c:4697
#11 0x00007fffd06a9b69 in gst_image_freeze_src_loop (pad=0x7fffe801ca50 [GstPad]) at gstimagefreeze.c:799
#12 0x00007ffff79aaf41 in gst_task_func (task=0x7fffc00e15f0 [GstTask]) at gsttask.c:332
#13 0x00007ffff7858ad3 in g_thread_pool_thread_proxy (data=<optimized out>) at ../../../../glib/gthreadpool.c:307
#14 0x00007ffff7858135 in g_thread_proxy (data=0x7fff9c0bf1e0) at ../../../../glib/gthread.c:784
#15 0x00007ffff5292f2a in start_thread (arg=0x7fff728e0700) at pthread_create.c:463
#16 0x00007ffff5babedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

It might not be relevant, but messages like these are visible on the
command-line too.

error: no element "frei0r-filter-cartoon"
error: no element "frei0r-filter-twolay0r"
error: no element "frei0r-filter-distort0r"

- -- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kamoso depends on:
ii  gstreamer1.0-plugins-good       1.14.4-1
ii  gstreamer1.0-x                  1.14.4-1
ii  kio                             5.51.0-1
ii  libc6                           2.27-8
ii  libgcc1                         1:8.2.0-9
ii  libglib2.0-0                    2.58.1-2
ii  libgstreamer-plugins-base1.0-0  1.14.4-1
ii  libgstreamer1.0-0               1.14.4-1
ii  libkf5configcore5               5.51.0-1
ii  libkf5configgui5                5.51.0-1
ii  libkf5coreaddons5               5.51.0-1
ii  libkf5i18n5                     5.51.0-1
ii  libkf5itemviews5                5.51.0-1
ii  libkf5kiocore5                  5.51.0-1
ii  libkf5kiofilewidgets5           5.51.0-1
ii  libkf5kiowidgets5               5.51.0-1
ii  libqt5core5a                    5.11.2+dfsg-7
ii  libqt5gui5                      5.11.2+dfsg-7
ii  libqt5qml5                      5.11.2-3
ii  libqt5quick5                    5.11.2-3
ii  libqt5widgets5                  5.11.2+dfsg-7
ii  libstdc++6                      8.2.0-9
ii  qml-module-org-kde-purpose      5.51.0-1

kamoso recommends no packages.

kamoso suggests no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEAXEkn09uX7g8Tv8W3qerYfa4vJcFAlwNdQ0ACgkQ3qerYfa4
vJfirwgAi6UmOQUV0NFURoyZAYeN4wB/cT0kIKkeheBD8aKmkeA6YciEVIovG1Cj
+N5Muy/Q8BWcq3qlWjm5RQuaL7gTNSkUJgFWvmAVyxba2ytRbAfkHzpB5iYY0qrx
DmlOQcx+SwNq9BPRxqJ8r4aYuvj5RYkcN5DamYqMgaTSCfcE272y2nC+RLlL7ank
zH5UyxelcLnb3/WOoXRKa5TWyQfTMWcmpszvLMmrD9V5u9zDLisCo6QydH1YkqBr
PveI3rBbAUcSJIzjOi7/8zBxjIF0Ohs4UToFZARtWok/TyaxC25IUEivWYGCxrR8
Wr1ed5fTG6ChRx+G2/GBPfHpDkaqIw==
=z9b7
-----END PGP SIGNATURE-----

#916076#10
Date:
2019-12-12 02:06:06 UTC
From:
To:
An easy way to reproduce it is by rapidly clicking the button while pressing
escape to close the menu. I've attached a comprehensive backtrace. Help finding
whatever package has the debugging symbols for /usr/lib/x86_64-linux-gnu/
libgstvideo-1.0.so.0.1404.0 would be appreciated.

#916076#15
Date:
2019-12-14 21:55:17 UTC
From:
To:
control: tags -1 + moreinfo

Hi John,

thank you for taking the time to report this bug and help make Debian better.

I’m not able to reproduce the bug that you describe here, neither on the
former 18.04.0-3 version nor on the new 19.08.3 that I’ve just uploaded to
unstable.
Would you have the possibility to test again and comment here with more
information if the crash is still reproducible ?


Thanks & happy hacking !
--
Aurélien

#916076#22
Date:
2019-12-14 21:55:17 UTC
From:
To:
control: tags -1 + moreinfo

Hi John,

thank you for taking the time to report this bug and help make Debian better.

I’m not able to reproduce the bug that you describe here, neither on the
former 18.04.0-3 version nor on the new 19.08.3 that I’ve just uploaded to
unstable.
Would you have the possibility to test again and comment here with more
information if the crash is still reproducible ?


Thanks & happy hacking !
--
Aurélien

#916076#29
Date:
2019-12-14 22:11:14 UTC
From:
To:
[resending with the correct recipients]

Hi John,

thank you for taking the time to report this bug and help make Debian better.

I’m not able to reproduce the bug that you describe here, neither on the
former 18.04.0-3 version nor on the new 19.08.3 that I’ve just uploaded to
unstable.
Would you have the possibility to test again and comment here with more
information if the crash is still reproducible ?


Thanks & happy hacking !
--
Aurélien

#916076#32
Date:
2019-12-14 22:11:14 UTC
From:
To:
[resending with the correct recipients]

Hi John,

thank you for taking the time to report this bug and help make Debian better.

I’m not able to reproduce the bug that you describe here, neither on the
former 18.04.0-3 version nor on the new 19.08.3 that I’ve just uploaded to
unstable.
Would you have the possibility to test again and comment here with more
information if the crash is still reproducible ?


Thanks & happy hacking !
--
Aurélien

#916076#37
Date:
2019-12-14 22:35:37 UTC
From:
To:
Sure, I've attached a backtrace done with 'bt full' on the older version that
looks more comprehensible. I've built Kamoso from source on Buster, so maybe
the dependencies need to be tightened.

The new version fails to build from source for me, both on Buster and in an
unstable pbuilder. Unfortunately it appears the buildd's are failing also:
https://buildd.debian.org/status/fetch.php?
pkg=kamoso&arch=amd64&ver=19.08.3-1&stamp=1576314481&raw=0

#916076#42
Date:
2019-12-15 08:02:44 UTC
From:
To:
Le 14 décembre 2019 23:35:37 GMT+01:00, John Scott <jscott@posteo.net> a écrit :

Thank you.

Yeah, sorry for that. I didn't bother testing that upload with sbuild which I usually do, and of course it broke. :-)

It's fixed in 19.08.3-2.


Happy hacking !
--
Aurélien

#916076#47
Date:
2019-12-24 17:16:05 UTC
From:
To:
I've upgraded to Bullseye and I'm still able to reproduce it. I've attached
new backtraces: one from gdb and a longer one from Dr. Konqi