[kmail2] [Bug 415403] New: kmail2 5.13.0 (19.12.0) with QtWebEngine 5.14.0 - segfault in KMReaderWin::KMReaderWin on startup

Dennis Schridde bugzilla_noreply at kde.org
Fri Dec 20 16:29:01 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=415403

            Bug ID: 415403
           Summary: kmail2 5.13.0 (19.12.0) with QtWebEngine 5.14.0 -
                    segfault in KMReaderWin::KMReaderWin on startup
           Product: kmail2
           Version: 5.13.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: devurandom at gmx.net
  Target Milestone: ---

Created attachment 124619
  --> https://bugs.kde.org/attachment.cgi?id=124619&action=edit
gdb full backtrace

SUMMARY

KMail crashes on startup.


STEPS TO REPRODUCE

1. Run kmail


OBSERVED RESULT

Observe segfault


EXPECTED RESULT

See main window


SOFTWARE/OS VERSIONS

Operating System: Gentoo Linux 
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.14.0
Kernel Version: 5.4.5-gentoo
OS Type: 64-bit
Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Memory: 13,5 GiB of RAM


ADDITIONAL INFORMATION

#0  0x00007fffede665d0 in
base::Value::FindPath(base::BasicStringPiece<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >) const () at
/lib64/libQt5WebEngineCore.so.5
#1  0x00007fffede66852 in
base::DictionaryValue::GetString(base::BasicStringPiece<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>*) const () at /lib64/libQt5WebEngineCore.so.5
#2  0x00007fffeb7c01d1 in extensions::(anonymous namespace)::GenerateId
(path=..., manifest=<optimized out>) at
../../3rdparty/chromium/base/strings/char_traits.h:86
#3  0x00007fffeb7c01d1 in extensions::ExtensionSystemQt::Init(bool)
(this=0x7fffffffb850, extensions_enabled=<optimized out>) at
/var/tmp/portage/dev-qt/qtwebengine-5.14.0/work/qtwebengine-everywhere-src-5.14.0/src/core/extensions/extension_system_qt.cpp:373
#4  0x00007fffeb75bbfd in
QtWebEngineCore::ProfileAdapter::ProfileAdapter(QString const&)
(this=0x555555c86850, storageName=...) at
/var/tmp/portage/dev-qt/qtwebengine-5.14.0/work/qtwebengine-everywhere-src-5.14.0/src/core/profile_adapter.cpp:98
#5  0x00007ffff2d6e8b1 in QWebEngineProfile::QWebEngineProfile(QObject*)
(this=0x555555b19460, parent=<optimized out>) at
/usr/include/qt5/QtCore/qarraydata.h:257
#6  0x00007ffff531b522 in
WebEngineViewer::WebEnginePage::WebEnginePage(QObject*) () at
/lib64/libKF5WebEngineViewer.so.5
#7  0x00007ffff57d6b3f in
MessageViewer::MailWebEnginePage::MailWebEnginePage(QObject*) () at
/lib64/libKF5MessageViewer.so.5
#8  0x00007ffff57d4f66 in
MessageViewer::MailWebEngineView::MailWebEngineView(KActionCollection*,
QWidget*) () at /lib64/libKF5MessageViewer.so.5
#9  0x00007ffff57761af in  () at /lib64/libKF5MessageViewer.so.5
#10 0x00007ffff5781921 in  () at /lib64/libKF5MessageViewer.so.5
#11 0x00007ffff576c4c2 in MessageViewer::Viewer::Viewer(QWidget*, QWidget*,
KActionCollection*) () at /lib64/libKF5MessageViewer.so.5
#12 0x00007ffff7d0d2d3 in KMReaderWin::KMReaderWin(QWidget*, QWidget*,
KActionCollection*) (this=0x555555c06610, aParent=<optimized out>,
mainWindow=0x5555558ed570, actionCollection=<optimized out>) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/kmreaderwin.cpp:95
#13 0x00007ffff7d5a7b9 in KMMainWidget::createWidgets() (this=0x5555558ed570)
at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/kmmainwidget.cpp:1053
#14 0x00007ffff7d67409 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*,
KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig> const&)
(this=0x5555558ed570, parent=<optimized out>, aGUIClient=<optimized out>,
actionCollection=0x5555558da8e0, config=...) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/kmmainwidget.cpp:245
#15 0x00007ffff7d0997b in KMMainWin::KMMainWin(QWidget*) (this=0x5555559ed6d0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/kmmainwin.cpp:58
#16 0x00007ffff7d21367 in KMKernel::openReader(bool, bool) (this=<optimized
out>, onlyCheck=<optimized out>, startInTray=<optimized out>) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/kmkernel.cpp:554
#17 0x00007ffff7d2635f in KMKernel::action(bool, bool, bool, QString const&,
QString const&, QString const&, QString const&, QString const&, QUrl const&,
QList<QUrl> const&, QStringList const&, QString const&, QString const&, QString
const&) (this=0x7fffffffd2b0, mailto=<optimized out>, check=<optimized out>,
startInTray=<optimized out>, to=..., cc=..., bcc=..., subj=..., body=...,
messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=...,
identity=...) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/kmkernel.cpp:1174
#18 0x00007ffff7d27e24 in KMKernel::handleCommandLine(bool, QStringList const&,
QString const&) (this=0x7fffffffd2b0, noArgsOpensReader=<optimized out>,
args=..., workingDir=...) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/kmkernel.cpp:464
#19 0x0000555555557b02 in KMailApplication::activate(QStringList const&,
QString const&) (this=<optimized out>, workingDir=..., args=...) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/main.cpp:105
#20 0x0000555555557b02 in KMailApplication::activate(QStringList const&,
QString const&) (this=<optimized out>, args=..., workingDir=...) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/main.cpp:85
#21 0x00005555555577d4 in KMailApplication::delayedInstanceCreation(QStringList
const&, QString const&) (workingDir=..., args=..., this=0x7fffffffd290) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/main.cpp:114
#22 0x00005555555577d4 in KMailApplication::delayedInstanceCreation(QStringList
const&, QString const&) (workingDir=..., args=..., this=0x7fffffffd290) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/main.cpp:111
#23 0x00005555555577d4 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/tmp/portage/kde-apps/kmail-19.12.0/work/kmail-19.12.0/src/main.cpp:160


Portage 2.3.82 (python 2.7.13-final-42,
default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.30-r3,
5.4.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname:
Linux-5.4.5-gentoo-x86_64-AMD_Ryzen_5_2400G_with_Radeon_Vega_Graphics-with-gentoo-2.6
KiB Mem:    14134912 total,   1969472 free
KiB Swap:   16776188 total,  16731132 free
Timestamp of repository gentoo: Thu, 19 Dec 2019 14:45:01 +0000
Head commit of repository gentoo: 94389cc4dec59a7708f44c5f8e12e5029fee4785
Head commit of repository flatpak-overlay:
4b49969630089ec1479a1945e440ad5c17c65ba3

Head commit of repository local: b56dc5d394cab16aee9ff7de8f3475be0111071b

sh bash 5.0_p11
ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16
ccache version 3.7.6 [disabled]
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.5.7::gentoo, 3.6.10::gentoo,
3.7.6::gentoo, 3.8.0::gentoo
dev-util/ccache:          3.7.6::gentoo
dev-util/cmake:           3.16.1::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.11.6-r3::gentoo, 1.13.4-r2::gentoo,
1.16.1-r2::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 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: /var/cache/portage/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

flatpak-overlay
    location: /var/db/repos/flatpak-overlay
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo

local
    location: /var/cache/portage/local
    sync-type: git
    sync-uri: https://github.com/devurandom/gentoo-overlay.git
    masters: gentoo
    priority: 1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/grs/systems.conf
/usr/lib64/libreoffice/program/sofficerc /usr/share/config
/usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/
/etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/
/etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=znver1"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --nospinner --verbose-conflicts"
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
buildsyspkg cgroup compressdebug config-protect-if-modified distlocks
ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync mount-sandbox
multilib-strict network-sandbox news parallel-fetch parallel-install
pid-sandbox 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://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/
http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/
http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j6 -l4"
PKGDIR="/var/cache/portage/packages"
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="7z 7zip X a52 aac aacplus aacs acl acpi activities aio alsa amd64
appindicator appstream archive audit avahi ayatana bash-completion bdplus
berkdb blake2 bluetooth bluray branding brotli bs2b btrfs bzip2 cairo caps cdda
cddb cdio cdr celt chromaprint cjk clang cli clipboard color-management colord
conntrack crypt cups cxx d3d9 dav1d dbus declarative device-mapper dirac djvu
dri drm dts dvb dvd dvdr ed25519 editorconfig egl elf emboss encode epub exif
fam faudio fax fbcon ffmpeg fftw filecaps firefox firewalld fish-completion
fits flac fontconfig fontforge fortran fribidi gamepad gbm gdal gdbm geoclue
geolocation gif git gmp gnupg google googledrive gpg gps graphicsmagick
gstreamer gtk gtk3 gzip harfbuzz hdf5 heif http2 ibus iconv icu idn imlib
inotify introspection ipv6 jemalloc jpeg jpeg2k json kde kipi kms kwallet
ladspa latex lcms ldap libatomic libglvnd libidn2 libinput libnotify libproxy
libsecret libsoxr libtirpc libvirt lm-sensors lrz lv2 lvm lz4 lzma lzo mad
mariadb markdown mbim mercurial mjpeg mng mobi modemmanager modplug mp3 mp4
mpeg mplayer mpris mtp multilib mysql ncurses netlink networkmanager nls nptl
office ofx ogg openal opencl opencv openexr opengl openh264 openmax openmp opus
pam pango pcap pch pcre pcre2 pdf pgo phonon pixman pkcs7 plasma pm-utils png
policykit postscript ppds prison pulseaudio python qml qrcode qt5 raw rdp
readline redfish samba sasl scanner schroedinger screencast sctp sdl sdl2
seccomp semantic-desktop share smartcard snappy sparse speech speex spell ssl
startup-notification steamruntime stemmer svg systemd systemtap tbb tcpd teamd
telepathy tga theora threads thunderbolt tiff timezone tmux truetype tslib udev
udisks unicode unwind upnp upnp-av upower usb utempter v4l v4l2 vaapi vdpau
vkd3d vorbis vpx vulkan wasm wavpack wayland webchannel webengine webkit webp
widgets wmf wps x264 x265 xattr xcb xcomposite xinerama xkb xml xmp xrandr
xscreensaver xv xvid xwayland xz yaml zeroconf zeromq zimg zlib zstd"
ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel"
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" CAMERAS="ptp2"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2
sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="*"
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" INPUT_DEVICES="joystick libinput" KERNEL="linux"
L10N="de de-DE en en-GB ar fa tr ja ko zh zh-CN zh-TW" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher"
LIRC_DEVICES="devinput" LLVM_TARGETS="AMDGPU BPF RISCV WebAssembly"
LUA_TARGET="lua5-2" 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_6"
PYTHON_TARGETS="python2_7 python3_6 pypy pypy3" QEMU_SOFTMMU_TARGETS="riscv32
riscv64 x86_64" QEMU_USER_TARGETS="riscv32 riscv64" RUBY_TARGETS="ruby24
ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu virgl" 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, INSTALL_MASK, LC_ALL, LINGUAS,
PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

kde-apps/kmail-19.12.0::gentoo was built with the following:
USE="handbook -debug -test" ABI_X86="(64)"
CFLAGS="-pipe -O2 -march=znver1 -g"
CXXFLAGS="-pipe -O2 -march=znver1 -g"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
buildsyspkg cgroup compressdebug config-protect-if-modified distlocks
ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync mount-sandbox
multilib-strict network-sandbox news parallel-fetch parallel-install
pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync xattr"


dev-qt/qtwebengine-5.14.0::gentoo was built with the following:
USE="alsa pulseaudio system-ffmpeg system-icu widgets -bindist -debug -designer
-jumbo-build -pax_kernel -test" ABI_X86="(64)"
CFLAGS="-pipe -O2 -march=znver1 -g"
CXXFLAGS="-pipe -O2 -march=znver1 -g"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
buildsyspkg cgroup compressdebug config-protect-if-modified distlocks
ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync mount-sandbox
multilib-strict network-sandbox news parallel-fetch parallel-install
pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync xattr"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list