Bug 443405 - KDevelop crashes on ThumbnailProtocol::get() calling memmov
Summary: KDevelop crashes on ThumbnailProtocol::get() calling memmov
Status: RESOLVED DUPLICATE of bug 430862
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: 20.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-06 16:30 UTC by Daniel Santos
Modified: 2021-10-06 17:07 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 Daniel Santos 2021-10-06 16:30:15 UTC
Maybe this is a duplicate of Bug #430862.


STEPS TO REPRODUCE
1. Uncertain

OBSERVED RESULT
Crash

EXPECTED RESULT
Don't crash :)

SOFTWARE/OS VERSIONS
I'm running Gentoo GNU/Linux.  Results of emerge --info below stacktrace.

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f55f76ac600 (LWP 9471))]
[KCrash Handler]
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:454
#7  0x00007f55fba3edf9 in memcpy (__len=36864, __src=<optimized out>, __dest=0x7f55f01c1000) at /usr/include/bits/string_fortified.h:29
#8  ThumbnailProtocol::get(QUrl const&) (this=0x7ffda43e6140, url=<optimized out>) at /usr/src/debug/kde-apps/kio-extras-20.12.3/kio-extras-20.12.3/thumbnail/thumbnail.cpp:315
#9  0x00007f55f6dcf366 in KIO::SlaveBase::dispatch(int, QByteArray const&) (this=0x7ffda43e6140, command=67, data=...) at /usr/src/debug/kde-frameworks/kio-5.80.1-r2/kio-5.80.1/src/core/slavebase.cpp:1215
#10 0x00007f55f6dcfa26 in KIO::SlaveBase::dispatchLoop() (this=this@entry=0x7ffda43e6140) at /usr/src/debug/kde-frameworks/kio-5.80.1-r2/kio-5.80.1/src/core/slavebase.cpp:336
#11 0x00007f55fba3b90c in kdemain(int, char**) (argc=<optimized out>, argv=0x5609fb8bc5f0) at /usr/src/debug/kde-apps/kio-extras-20.12.3/kio-extras-20.12.3/thumbnail/thumbnail.cpp:138
#12 0x00005609fb852017 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) (argc=argc@entry=4, _name=_name@entry=0x5609fb877408 "/usr/lib64/qt5/plugins/kf5/kio/thumbnail.so", args=0x5609fb8774a2 "", args@entry=0x5609fb877434 "thumbnail", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x5609fb8774aa "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x5609fb854cef "0") at /usr/src/debug/kde-frameworks/kinit-5.80.0/kinit-5.80.0/src/kdeinit/kinit.cpp:692
#13 0x00005609fb8534ba in handle_launcher_request(int, char const*) (sock=8, who=who@entry=0x5609fb854d1f "launcher") at /usr/src/debug/kde-frameworks/kinit-5.80.0/kinit-5.80.0/src/kdeinit/kinit.cpp:1130
#14 0x00005609fb853f3a in handle_requests(pid_t) (waitForPid=waitForPid@entry=0) at /usr/src/debug/kde-frameworks/kinit-5.80.0/kinit-5.80.0/src/kdeinit/kinit.cpp:1323
#15 0x00005609fb84f05e in main(int, char**) (argc=3, argv=<optimized out>) at /usr/src/debug/kde-frameworks/kinit-5.80.0/kinit-5.80.0/src/kdeinit/kinit.cpp:1761
[Inferior 1 (process 9471) detached]



$ emerge --info kde-apps/kio-extras dev-util/kdevelop

Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-9.3.0, glibc-2.32-r7, 5.10.27-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-glibc2.2.5
KiB Mem:    65802216 total,  23270352 free
KiB Swap:   33554428 total,  31354984 free
Timestamp of repository gentoo: Mon, 04 Oct 2021 07:00:01 +0000
Head commit of repository gentoo: 9c13f85e04199e62c80c8b5e7b862c48a0a88692
sh bash 5.0_p18
ld GNU gold (Gentoo 2.34 p6 2.34.0) 1.16
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2.1 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p9::gentoo, 3.6.13_p3::gentoo, 3.7.10_p3::gentoo, 3.8.9_p2::gentoo, 3.9.6_p2::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/ccache:          4.2.1::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.22::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.64-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo, 2.35.2::gentoo
sys-devel/gcc:            4.9.4-r1::gentoo, 8.3.0-r3::gentoo, 9.3.0-r2::gentoo, 10.3.0-r2::gentoo, 11.1.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

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

love-local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

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

guru
    location: /var/lib/layman/guru
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50

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

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

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

rion
    location: /var/lib/layman/rion
    sync-type: laymansync
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -ggdb3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -ggdb3 -pipe"
DISTDIR="/mnt/large/distfiles"
EMERGE_DEFAULT_OPTS="-j8 --load-average=20 --with-bdeps=y --autounmask=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 buildpkg candy cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirror.leaseweb.com/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j16 --load-average=17"
PKGDIR="/mnt/large/packages"
PORTAGE_COMPRESS="pxz"
PORTAGE_COMPRESS_FLAGS="-9e"
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 --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac aacs acl acpi activities aes aio alsa amd64 amr aom apache2 avx avx2 bcache bluetooth bluray branding bzip2 cairo cdda cddb cdio cdr celt cjk cli crypt cups cxx d3d9 dav1d dbus declarative default-gold designer device-mapper dirac directfb djvu dot dri dts dvd dvdr elogind emboss encode exif f16c faad fdk ffmpeg fftw flac fluidsynth fma3 fontconfig fortran fpm fuse gd gdbm geolocation gif git glamor go gphoto2 gpm gps graphite graphviz gsm gstreamer gtk gui hardened hddtemp hdri highlight iconv icu ipv6 jbig jpeg jpeg2k kde kerberos kipi kwallet lame latex lcms libass libcaca libglvnd libnotify libsamplerate libtirpc lm_sensors log4j lto lvm lz4 lzma lzo mad mariadb matroska midi mjpeg mmx mmxext mng mono mp3 mp4 mpeg mtp multicall multilib multitarget musepack natspec ncurses netlink networkmanager nfs nls nptl nsplugin objc objc++ objc-gc oce ogg openal opencv openexr opengl openh264 openmp openssl opus osmesa pam pango pcap pch pclmul pcre pdf perl pgo php plasma playlist png policykit popcnt postgres postproc postscript ppds pulseaudio python qml qt5 rar raw rdp readline samba sasl savedconfig scanner schroedinger sdl seccomp sensors sid smp snappy speech speex spell spice split-usr sqlite squashfs sse sse2 sse3 sse4_1 sse4_2 sse4a ssh ssl ssse3 startup-notification static-libs subversion svg syslog systemtap taglib tcpd telepathy theora threads tiff timidity tools tremor truetype tty-helpers twolame udev udisks unicode upnp-av upower usb usbredir utils v4l vaapi valgrind vcdx vdpau vhosts vim-syntax virt-network virtio vlc vnc vorbis vpx vulkan webdav webp widgets wmf wxwidgets x264 x265 xattr xcb xen xine xml xspice xv xvid xvmc zeroconf zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2019" 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 avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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" GRUB_PLATFORMS="efi-64 pc coreboot emu multiboot qemu xen" INPUT_DEVICES="wacom libinput" KERNEL="linux" L10N="en-US en ja zh zh-CN zh-HK zh-TW" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU ARM BPF NVPTX Mips X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8 python3_9" QEMU_SOFTMMU_TARGETS="mipsel x86_64" QEMU_USER_TARGETS="mipsel x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev qxl radeon radeonsi vesa virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

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

kde-apps/kio-extras-20.12.3::gentoo was built with the following:
USE="X activities handbook man mtp nfs openexr phonon samba sftp taglib -debug -test" ABI_X86="(64)"
FEATURES="parallel-fetch merge-sync assume-digests pid-sandbox preserve-libs splitdebug unmerge-orphans buildpkg binpkg-dostrip distlocks binpkg-logs unknown-features-warn compressdebug config-protect-if-modified ipc-sandbox multilib-strict split-log installsources sandbox binpkg-docompress sfperms ebuild-locks strict-keepdir xattr usersync candy userfetch usersandbox unmerge-logs fixlafiles news userpriv split-elog protect-owned strict network-sandbox qa-unresolved-soname-deps cgroup"


dev-util/kdevelop-5.6.2::gentoo was built with the following:
USE="gdbui handbook hex plasma qmake subversion -debug -reviewboard -test" ABI_X86="(64)"
FEATURES="parallel-fetch merge-sync assume-digests pid-sandbox preserve-libs splitdebug unmerge-orphans buildpkg binpkg-dostrip distlocks binpkg-logs unknown-features-warn compressdebug config-protect-if-modified ipc-sandbox multilib-strict split-log installsources sandbox binpkg-docompress sfperms ebuild-locks strict-keepdir xattr usersync candy userfetch usersandbox unmerge-logs fixlafiles news userpriv split-elog protect-owned strict network-sandbox qa-unresolved-soname-deps cgroup"
Comment 1 Daniel Santos 2021-10-06 17:07:22 UTC

*** This bug has been marked as a duplicate of bug 430862 ***