Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566410 - kde-apps/kdenlive-15.08.1 crashes when adding Distort/Corners effect to a clip
Summary: kde-apps/kdenlive-15.08.1 crashes when adding Distort/Corners effect to a clip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-21 18:54 UTC by Anton Gubarkov
Modified: 2015-12-20 16:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
stack trace of the crash (stack.20127,38.09 KB, text/plain)
2015-11-22 20:38 UTC, Anton Gubarkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2015-11-21 18:54:59 UTC
see the subj. 
I tested title, image and movie clips. Crash is immedate as soon as I add the effect from context menu.
Comment 1 Anton Gubarkov 2015-11-21 18:55:40 UTC
anton@r9-008cln ~ $ emerge --info kdenlive
Portage 2.2.25 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    15782556 total,   1313852 free
KiB Swap:   20971516 total,  20971516 free
Timestamp of repository gentoo: Sat, 21 Nov 2015 16:15:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10-r3::gentoo, 3.4.3-r2::gentoo, 3.5.0-r1::gentoo
dev-util/cmake:           3.4.0-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.ru.gentoo.org/gentoo-portage
    priority: -1000

rugubara
    location: /home/anton/devel/rugubara
    masters: gentoo
    priority: 0

anders-larsson
    location: /var/lib/layman/anders-larsson
    masters: gentoo
    priority: 50

betagarden
    location: /var/lib/layman/betagarden
    masters: gentoo
    priority: 50

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 50

fw-overlay
    location: /var/lib/layman/fw-overlay
    masters: gentoo
    priority: 50

ixit
    location: /var/lib/layman/ixit
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

proaudio
    location: /var/lib/layman/pro-audio
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/ http://mirror.bytemark.co.uk/gentoo/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/etersoft"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aes alsa amd64 archive avahi avx avx2 bash-completion berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx cycles dbus dri dri3 dts dvd dvdr eds egl emboss encode evdev evo exif extras faac fam ffmpeg fftw firefox flac fma3 fortran frei0r g711 g722 g7221 gbm gdbm gif gimp glamor gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 http iconv ieee1394 introspection ios ipv6 jack jpeg jpeg2k kms lcms ldap libnotify libsecret lv2 mad midi mmx mmxext mng modules mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl nsplugin nvenc ogg opengl openmp pam pango pcre pdf png policykit popcnt postproc ppds pulseaudio qt3support qt4 rar raw readline realtime samba sdl seccomp sendto session smp speex spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb uxa v4l vaapi vorbis vpx wayland wxwidgets x264 x265 xa xattr xcb xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="multiboot efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby22" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

kde-apps/kdenlive-15.08.1::gentoo was built with the following:
USE="handbook v4l -debug" ABI_X86="64"
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-11-22 15:35:36 UTC
Are you able to create a backtrace at all?
Comment 3 Andreas Sturmlechner gentoo-dev 2015-11-22 16:03:22 UTC
I don't see it linking with kcrash, so drkonqi won't appear.
Comment 4 Anton Gubarkov 2015-11-22 19:31:49 UTC
I can get backtraces with gdb. Please advise what libraries I need to rebuild with debug info in addition to kdenlive and frei0r.
Comment 5 Andreas Sturmlechner gentoo-dev 2015-11-22 20:05:58 UTC
`equery g kdenlive` gives a good hint for what to rebuild.
Comment 6 Anton Gubarkov 2015-11-22 20:12:54 UTC
That's quite a list!

I'll start with kdenlive, mlt, frei0r and see if it goes. Will post my backtrace soon.
Comment 7 Anton Gubarkov 2015-11-22 20:38:06 UTC
Created attachment 417594 [details]
stack trace of the crash

I rebuilt 
r9-008cln ~ # FEATURES="splitdebug" emerge -1v kdenlive mlt frei0r-plugins

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-plugins/frei0r-plugins-1.4::gentoo  USE="facedetect scale0tilt -doc" 0 KiB
[ebuild   R    ] media-libs/mlt-0.9.8-r1::rugubara  USE="ffmpeg fftw frei0r gtk kdenlive melt opengl python qt5 rtaudio sdl xml -compressed-lumas -debug -jack -kde -libav -libsamplerate -lua -qt4 (-ruby) -vdpau -xine" CPU_FLAGS_X86="mmx sse sse2" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] kde-apps/kdenlive-15.08.1:5::gentoo  USE="handbook v4l -debug" 0 KiB


Adding Corners effect produced a core dump. The terminal output is:
anton@r9-008cln ~/kdenlive $ kdenlive
Icon theme "oxygen" not found.
Icon theme "oxygen" not found.
Error: standard icon theme "oxygen" not found!
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
QWidget::setMaximumSize: (/QToolButton) Negative sizes (2,-2) are not possible
Removing cache at "/home/anton/.cache/kdenlive-thumbs.kcache"
 // / processing file open
 // / processing file open: validate
Opening a document with version  0.91  /  0.91
 // / processing file validate ok
Invalid playlist
QCursor: Cannot create bitmap cursor; invalid bitmap(s)
***********
FOUND GUIDES:  0 
**********
[swscaler @ 0x7f8dc0091460] Warning: data is not aligned! This can lead to a speedloss
[mlt_producer avformat-novalidate] /home/anton/Видео/Terkin/Terkin.kdenlive/дневник Тани Савичевой/'Савичевы' любительский художественно-документальный фильм 2014 год-ABGjQjwqzHs.mp4
     WILD TIMESTAMP!
[mlt_producer avformat-novalidate] /home/anton/Видео/Terkin/Terkin.kdenlive/дневник Тани Савичевой/'Савичевы' любительский художественно-документальный фильм 2014 год-ABGjQjwqzHs.mp4
     WILD TIMESTAMP!
 - - -- SEND AUDIO DATA
Ошибка сегментирования (core dumped)

See the attached file for the stack trace. I'm a complete noob in reading these traces. Sorry. Please let me know if I can help further.
Comment 8 Andreas Sturmlechner gentoo-dev 2015-11-23 01:11:03 UTC
This patch sounds related: https://quickgit.kde.org/?p=kdenlive.git&a=commit&h=7b395db98444bd69bee19366619cc68cdbd51f73
Comment 9 Anton Gubarkov 2015-11-23 16:41:12 UTC
(In reply to Andreas Sturmlechner from comment #8)
> This patch sounds related:
> https://quickgit.kde.org/?p=kdenlive.
> git&a=commit&h=7b395db98444bd69bee19366619cc68cdbd51f73

Well, it seems so. However it's made against a recent tree and it doesn't apply to 15.08.1. I tried to adapt it, but it seems that some previous commits are essential (like https://quickgit.kde.org/?p=kdenlive.git&a=history&h=7b395db98444bd69bee19366619cc68cdbd51f73&f=src%2Feffectstack%2Feffectstackview2.cpp) since effectstackview2.cpp fails to compile. 

7b395db98444bd69bee19366619cc68cdbd51f73 fails to apply directly too and needs rework.


the commit that solves the problem was made to the 15.12 branch, while we are on 15.08... I don't feel comfortable to try to backport to 15.08 myself as I know too little about kdenlive, qt and C++ programming.
Comment 10 Andreas Sturmlechner gentoo-dev 2015-11-23 17:43:22 UTC
No, that wouldn't make sense, though you should really be running 15.08.3 by now to make sure you aren't fighting already fixed bugs.

15.12 will be there soon, one possibility would be unmasking kdenlive-15.12.49.9999 from overlay.
Comment 11 Anton Gubarkov 2015-11-24 06:19:07 UTC
kdenlive-15.12.49.9999 works ok with Corners effect
Comment 12 Michael Palimaka (kensington) gentoo-dev 2015-12-20 16:29:01 UTC
15.12.0 is in the tree now.