Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703524 - kde-apps/kdenlive-19.12.0 w/ Qt 5.14.0: crash when opening a project
Summary: kde-apps/kdenlive-19.12.0 w/ Qt 5.14.0: crash when opening a project
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://invent.kde.org/kde/kdenlive/i...
Whiteboard: tracking upstream
Keywords:
Depends on:
Blocks: qt-5.14
  Show dependency tree
 
Reported: 2019-12-22 08:57 UTC by Pavel Volkov
Modified: 2020-01-15 19:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkov 2019-12-22 08:57:19 UTC
I have Kdenlive 19.12.0 and Qt 5.14.
Same project doesn't currently crash in Arch (same Kdenlive and Qt 5.13).

I re-built kdenlive and qtdeclarative with debug options to get this backtrace:

qt.gui.icc: fromIccProfile: failed minimal tag size sanity

Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff4660561 in QQmlAdaptorModel::rowCount() const (this=<optimized out>) at qqmladaptormodel.cpp:991
#2  0x00007ffff46605f8 in QQmlAdaptorModel::columnAt(int) const (this=<optimized out>, index=-1) at qqmladaptormodel.cpp:1007
#3  0x00007ffff4663ab4 in non-virtual thunk to VDMAbstractItemModelDataType::modelIndex(QQmlAdaptorModel const&, int) const ()
    at /usr/include/qt5/QtCore/qvariant.h:397
#4  0x00007ffff4668bc4 in QQmlAdaptorModel::modelIndex(int) const (index=<optimized out>, this=<optimized out>)
    at /usr/include/qt5/QtCore/qvariant.h:397
#5  0x00007ffff4668bc4 in QQmlDelegateModel::modelIndex(int) const (this=this@entry=0x55555a136a00, idx=<optimized out>)
    at qqmldelegatemodel.cpp:559
#6  0x00007ffff46786aa in QQmlDelegateModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
    (_o=_o@entry=0x55555a136a00, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=15, _a=_a@entry=0x7fffffff7930)
    at .moc/moc_qqmldelegatemodel_p.cpp:209
#7  0x00007ffff4678b43 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**)
    (this=0x55555a136a00, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fffffff7930) at .moc/moc_qqmldelegatemodel_p.cpp:346
#8  0x00007ffff63ebe2d in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const
    (this=this@entry=0x7fffffff7c80, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, 
    index@entry=25, argv=<optimized out>)
    at ../../include/QtQml/5.14.0/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:351
#9  0x00007ffff62cd53d in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call)
    (object=..., index=<optimized out>, returnType=returnType@entry=41, argCount=<optimized out>, argTypes=<optimized out>, engine=engine@entry=0x555557aa75a0, callArgs=<optimized out>, callType=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1300
#10 0x00007ffff62cf6f4 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call)
    (object=..., data=..., engine=engine@entry=0x555557aa75a0, callArgs=callArgs@entry=0x7fff9afc0590, callType=callType@entry=QMetaObject::InvokeMetaMethod) at ../../include/QtQml/5.14.0/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:196
#11 0x00007ffff62d04d0 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const
    (this=<optimized out>, thisObject=0x7fff9afc0540, argv=<optimized out>, argc=1) at jsruntime/qv4qobjectwrapper.cpp:2127
#12 0x00007ffff62ff58b in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const
    (argc=1, argv=0x7fff9afc0558, thisObject=0x7fff9afc0540, this=0x7fffffff7de8) at jsruntime/qv4functionobject_p.h:172
#13 0x00007ffff62ff58b in QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value const&, unsigned int, QV4::Value*, int) (engine=0x555557aa75a0, base=..., index=<optimized out>, argv=0x7fff9afc0558, argc=1) at jsruntime/qv4runtime.cpp:1452
#14 0x00007fff84c4aae6 in  ()
#15 0x0000000000000000 in  ()

Reproducible: Always




Portage 2.3.82 (python 3.7.6-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.30-r3, 5.4.2-gentoomelf x86_64)
=================================================================
System uname: Linux-5.4.2-gentoomelf-x86_64-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.6
KiB Mem:    16367932 total,   2699208 free
KiB Swap:   17825788 total,  17813756 free
Timestamp of repository gentoo: Fri, 20 Dec 2019 13:45:01 +0000
Head commit of repository gentoo: 3b402b58d6966a07439833b636a68a64374308e8
Timestamp of repository libressl: Fri, 20 Dec 2019 02:45:26 +0000
Head commit of repository libressl: b21ea7e8c85ec922565b29402aae83560bb3be1b

Timestamp of repository mva: Sun, 15 Dec 2019 19:27:25 +0000
Head commit of repository mva: cffebbd2afc41f9c84a28e66327abf2af27ad52d

Timestamp of repository rion: Sun, 15 Dec 2019 19:27:29 +0000
Head commit of repository rion: 2174b0d31b146f86c6953708c804a9ce251e2f02

sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p1) 2.33.1
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.7.6::gentoo
dev-util/cmake:           3.16.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync1.ru.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: -4
    sync-rsync-verify-jobs: 1

libressl
    location: /var/db/repos/libressl
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/libressl.git
    masters: gentoo

mva
    location: /var/db/repos/mva
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mva.git
    masters: gentoo

rion
    location: /var/db/repos/rion
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/rion.git
    masters: gentoo

custom
    location: /usr/local/portage
    masters: gentoo
    priority: 70

Installed sets: @development, @fonts, @kdeapps, @nfc, @python-extra
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE freedist linux-fw-redistributable linux-firmware no-source-code MPEG-4 unRAR CC-BY-NC-ND-3.0 intel-ucode Samsung-EULA bluez-firmware BitstreamCyberbit MSttfEULA grass-ipafonts free-noncomm bh-luxi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=sandybridge -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/ibus/component/simple.xml"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/openvpn/update-systemd-resolved /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=sandybridge -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/ http://mirror.leaseweb.com/gentoo/"
INSTALL_MASK="/etc/init.d/ /etc/xinetd.d/ /etc/hosts /etc/networks /etc/xdg/autostart/solaar.desktop"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB ru ja"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 anthy berkdb bluetooth branding btrfs bzip2 cacert cairo cdda cdr cjk cli crypt cryptsetup cups cxx dbus declarative djvu dri dts dvd dvdr egl emboss encode exif fam ffmpeg flac fortran gdbm gif git gpg gpm gstreamer gtk ibus iconv icu idn ipv6 jpeg kde kipi kwallet lcms libnotify libressl libtirpc lm_sensors mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python qml qt5 raw readline samba scanner sdl seccomp spell split-usr ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wayland widgets wxwidgets x264 x265 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-GB ru ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 AMDGPU" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="radeon r600 amdgpu radeonsi" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Pavel Volkov 2019-12-22 09:01:34 UTC
Found upstream report:
https://bugs.kde.org/show_bug.cgi?id=415299
Comment 2 Andreas Sturmlechner gentoo-dev 2019-12-26 22:14:09 UTC
Please test https://codereview.qt-project.org/gitweb?p=qt/qtdeclarative.git;a=patch;h=79ee39a2a3f81f1111c54af7d43e8858601f390f against qtdeclarative-5.14.0.
Comment 3 Larry the Git Cow gentoo-dev 2020-01-15 19:09:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d574f603ae2467b5d18e88a9c8100abe7130f13

commit 0d574f603ae2467b5d18e88a9c8100abe7130f13
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-01-15 19:03:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-01-15 19:09:34 +0000

    kde-apps/kdenlive: Backport upstream fix for startup crash
    
    Closes: https://bugs.gentoo.org/703524
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...denlive-19.12.1-qt-5.14-new-project-crash.patch | 44 +++++++++++
 kde-apps/kdenlive/kdenlive-19.12.1-r1.ebuild       | 89 ++++++++++++++++++++++
 2 files changed, 133 insertions(+)