Package: libkf5kiocore5
Version: 5.54.1-1
Severity: normal
Tags: patch upstream


Dear Maintainer,
in the last year I hit a few crashes with kate,
without knowing how to reproduce the crash.

Today I found this upstream reports [1] and several
duplicates. With that information it was easy to reproduce
the crash by just creating several nested folders in the
save as dialog of okteta.

It got fixed upstream in [2] and is included in
upstream version 5.63.0.

As this may affect all users of the KDE save as dialog,
this might be considered for inclusion to stable?

Kind regards,
Bernhard


[1] https://bugs.kde.org/show_bug.cgi?id=401916
    https://bugs.kde.org/show_bug.cgi?id=411310

[2] 
https://cgit.kde.org/kio.git/commit/src/core/kcoredirlister.cpp?id=f539b17ceec2a8c7a453228b7db62a7919b849be



-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libkf5kiocore5 depends on:
ii  libacl1            2.2.53-4
ii  libc6              2.28-10
ii  libkf5auth5        5.54.0-2
ii  libkf5configcore5  5.54.0-1+deb10u1
ii  libkf5coreaddons5  5.54.0-1
ii  libkf5crash5       5.54.0-1
ii  libkf5dbusaddons5  5.54.0-1
ii  libkf5i18n5        5.54.0-1
ii  libkf5service-bin  5.54.0-1
ii  libkf5service5     5.54.0-1
ii  libqt5core5a       5.11.3+dfsg1-1+deb10u1
ii  libqt5dbus5        5.11.3+dfsg1-1+deb10u1
ii  libqt5network5     5.11.3+dfsg1-1+deb10u1
ii  libqt5xml5         5.11.3+dfsg1-1+deb10u1
ii  libstdc++6         8.3.0-6

libkf5kiocore5 recommends no packages.

libkf5kiocore5 suggests no packages.

-- no debconf information
# Buster/stable amd64

Thread 1 (Thread 0x7f25debb0c80 (LWP 2619)):
[KCrash Handler]
#6  0x00007f25e4e16426 in KFileItem::~KFileItem() () from 
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#7  0x00007f25e4eea06a in ?? () from 
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#8  0x00007f25e4ee19cd in ?? () from 
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#9  0x00007f25e381e9a3 in QMetaObject::activate(QObject*, int, int, void**) () 
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f25e382a3f7 in QTimer::timeout(QTimer::QPrivateSignal) () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f25e381f09b in QObject::event(QEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f25e42e14c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f25e42e8970 in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f25e37f54f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) 
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f25e3845ba8 in QTimerInfoList::activateTimers() () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f25e3846404 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f25e1547f2e in g_main_context_dispatch () from 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f25e15481c8 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f25e154825c in g_main_context_iteration () from 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f25e3846797 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f25de7ec401 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007f25e37f41cb in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f25e37fc1a2 in QCoreApplication::exec() () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x0000559a5cc4aa25 in ?? ()
#25 0x00007f25e326809b in __libc_start_main (main=0x559a5cc48ac0, argc=3, 
argv=0x7fffb1e60268, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, stack_end=0x7fffb1e60258) at ../csu/libc-start.c:308
#26 0x0000559a5cc4c0ba in _start ()
[Inferior 1 (process 2619) detached]


gdb -q --pid 2619

generate-core-file /coredumps/core.kate.20191114.2619


##############


apt install dpkg-dev devscripts xserver-xorg plasma-desktop gdb kate 
kate-dbgsym libkf5kiocore5-dbgsym libqt5core5a-dbgsym libqt5widgets5-dbgsym 
libglib2.0-0-dbgsym libqt5gui5-dbgsym

gdb -q /usr/bin/kate --core core.kate.20191114.2619

set width 0
set pagination off
bt

(gdb) bt
#0  0x00007f25e330a720 in __GI___nanosleep (requested_time=0x7fffb1e5eee0, 
remaining=0x7fffb1e5eee0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f25e330a62a in __sleep (seconds=0) at ../sysdeps/posix/sleep.c:55
#2  0x00007f25e482deea in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#3  0x00007f25e482e68e in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#4  0x00007f25e482ebe7 in KCrash::defaultCrashHandler(int) () from 
/usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#5  <signal handler called>
#6  0x00007f25e4e16426 in std::__atomic_base<int>::operator-- (this=0x40) at 
/usr/include/c++/8/bits/atomic_base.h:303
#7  QAtomicOps<int>::deref<int> (_q_value=...) at 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:271
#8  QBasicAtomicInteger<int>::deref (this=0x40) at 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:115
#9  QSharedDataPointer<KFileItemPrivate>::~QSharedDataPointer 
(this=0x559a5f05a400, __in_chrg=<optimized out>) at 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:89
#10 KFileItem::~KFileItem (this=0x559a5f05a400, __in_chrg=<optimized out>) at 
./src/core/kfileitem.h:47
#11 0x00007f25e4eea06a in QList<KFileItem>::node_destruct (this=0x559a5f09b1c0, 
n=0x559a5f05a400) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:449
#12 QList<KFileItem>::erase (it=..., this=0x559a5f09b1c0) at 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:536
#13 KCoreDirListerCache::reinsert (this=this@entry=0x7f25e4f51500 <(anonymous 
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, item=..., 
oldUrl=...) at ./src/core/kcoredirlister_p.h:309
#14 0x00007f25e4ee19cd in KCoreDirListerCache::processPendingUpdates 
(this=0x7f25e4f51500 <(anonymous 
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>) at 
./src/core/kcoredirlister.cpp:2014
#15 0x00007f25e381e9a3 in QtPrivate::QSlotObjectBase::call (a=0x7fffb1e5f8c0, 
r=0x7f25e4f51500 <(anonymous 
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, 
this=0x559a5ece27b0) at 
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#16 QMetaObject::activate (sender=0x7f25e4f51580 <(anonymous 
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, 
signalOffset=<optimized out>, local_signal_index=<optimized out>, 
argv=<optimized out>) at kernel/qobject.cpp:3754
#17 0x00007f25e382a3f7 in QTimer::timeout (this=<optimized out>, _t1=...) at 
.moc/moc_qtimer.cpp:200
#18 0x00007f25e381f09b in QObject::event (this=0x7f25e4f51580 <(anonymous 
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, e=<optimized 
out>) at kernel/qobject.cpp:1232
#19 0x00007f25e42e14c1 in QApplicationPrivate::notify_helper 
(this=this@entry=0x559a5d028ac0, receiver=receiver@entry=0x7f25e4f51580 
<(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, 
e=e@entry=0x7fffb1e5fb90) at kernel/qapplication.cpp:3726
#20 0x00007f25e42e8970 in QApplication::notify (this=0x7fffb1e60010, 
receiver=0x7f25e4f51580 <(anonymous 
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, 
e=0x7fffb1e5fb90) at kernel/qapplication.cpp:3485
#21 0x00007f25e37f54f9 in QCoreApplication::notifyInternal2 
(receiver=0x7f25e4f51580 <(anonymous 
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, 
event=event@entry=0x7fffb1e5fb90) at 
../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#22 0x00007f25e3845ba8 in QCoreApplication::sendEvent (event=0x7fffb1e5fb90, 
receiver=<optimized out>) at 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#23 QTimerInfoList::activateTimers (this=0x559a5d0f23a0) at 
kernel/qtimerinfo_unix.cpp:643
#24 0x00007f25e3846404 in timerSourceDispatch (source=<optimized out>) at 
kernel/qeventdispatcher_glib.cpp:182
#25 0x00007f25e1547f2e in g_main_dispatch (context=0x7f25d8004ff0) at 
../../../glib/gmain.c:3182
#26 g_main_context_dispatch (context=context@entry=0x7f25d8004ff0) at 
../../../glib/gmain.c:3847
#27 0x00007f25e15481c8 in g_main_context_iterate 
(context=context@entry=0x7f25d8004ff0, block=block@entry=1, 
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#28 0x00007f25e154825c in g_main_context_iteration (context=0x7f25d8004ff0, 
may_block=may_block@entry=1) at ../../../glib/gmain.c:3981
#29 0x00007f25e3846797 in QEventDispatcherGlib::processEvents 
(this=0x559a5d0a75f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f25de7ec401 in QPAEventDispatcherGlib::processEvents 
(this=0x559a5d0a75f0, flags=...) at qeventdispatcher_glib.cpp:69
#31 0x00007f25e37f41cb in QEventLoop::exec (this=this@entry=0x7fffb1e5fe10, 
flags=..., flags@entry=...) at 
../../include/QtCore/../../src/corelib/global/qflags.h:140
#32 0x00007f25e37fc1a2 in QCoreApplication::exec () at 
../../include/QtCore/../../src/corelib/global/qflags.h:120
#33 0x0000559a5cc4aa25 in main (argc=<optimized out>, argv=<optimized out>) at 
./kate/main.cpp:595




mkdir /home/benutzer/source/libkf5kiocore5/orig -p
cd    /home/benutzer/source/libkf5kiocore5/orig
apt source libkf5kiocore5
cd



https://cgit.kde.org/kio.git/commit/src/core/kcoredirlister.cpp?id=f539b17ceec2a8c7a453228b7db62a7919b849be
https://bugs.kde.org/show_bug.cgi?id=401916
https://phabricator.kde.org/D23875

Reply via email to