Bug 411310

Summary: Kate crashing when creating multiple subfolders upon save
Product: [Applications] kate Reporter: oliver.j.kenny
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christoph
Priority: NOR Keywords: drkonqi
Version: 19.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description oliver.j.kenny 2019-08-26 09:08:44 UTC
Application: kate (19.08.0)

Qt Version: 5.13.0
Frameworks Version: 5.61.0
Operating System: Linux 5.2.9-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I was saving a .c file with 5 lines of code, nothing much.
The issue occurred when creating a chain of 3 subfolders as such; "Parent Folder" > "First Child" > "Second Child".
When creating the "Second Child" folder, Kate crahsed.

- Custom settings of the application:
Everything was set at default as far as I'm aware, it was a fresh install.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1011fd7c80 (LWP 1303))]

Thread 4 (Thread 0x7f0fff929700 (LWP 1306)):
#0  0x00007f101528f415 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f1008c4594c in ?? () from /usr/lib/dri/nouveau_dri.so
#2  0x00007f1008c45548 in ?? () from /usr/lib/dri/nouveau_dri.so
#3  0x00007f101528957f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f10165b20e3 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f100b571700 (LWP 1305)):
#0  0x00007f10165a318c in read () from /usr/lib/libc.so.6
#1  0x00007f10146999f0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f10146e7311 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f10146e8a28 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f10146e8b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f1016b4a9bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f1016af15ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007f10169242f5 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f1016d82b37 in ?? () from /usr/lib/libQt5DBus.so.5
#9  0x00007f1016925520 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007f101528957f in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f10165b20e3 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f10111b9700 (LWP 1304)):
#0  0x00007f10165a7667 in poll () from /usr/lib/libc.so.6
#1  0x00007f10154b2630 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f10154b42db in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f1011b9b049 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f1016925520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f101528957f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f10165b20e3 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1011fd7c80 (LWP 1303)):
[KCrash Handler]
#6  0x00007f10181b4bdc in KFileItem::~KFileItem() () from /usr/lib/libKF5KIOCore.so.5
#7  0x00007f10182984c3 in ?? () from /usr/lib/libKF5KIOCore.so.5
#8  0x00007f1018299060 in ?? () from /usr/lib/libKF5KIOCore.so.5
#9  0x00007f1016b1eb70 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#10 0x00007f1016e8987d in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/libKF5CoreAddons.so.5
#11 0x00007f1016e8a36c in KJob::finishJob(bool) () from /usr/lib/libKF5CoreAddons.so.5
#12 0x00007f101823bb59 in KIO::SimpleJob::slotFinished() () from /usr/lib/libKF5KIOCore.so.5
#13 0x00007f1018232fdd in KIO::ListJob::slotFinished() () from /usr/lib/libKF5KIOCore.so.5
#14 0x00007f1016b1eb70 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#15 0x00007f10182090f0 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libKF5KIOCore.so.5
#16 0x00007f101820717c in KIO::SlaveInterface::dispatch() () from /usr/lib/libKF5KIOCore.so.5
#17 0x00007f101821117b in KIO::Slave::gotInput() () from /usr/lib/libKF5KIOCore.so.5
#18 0x00007f1016b1eb70 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#19 0x00007f10181899e1 in ?? () from /usr/lib/libKF5KIOCore.so.5
#20 0x00007f1016b1f44a in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007f10176254d5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f101762ea21 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f1016af29c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007f1016af5739 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#25 0x00007f1016b4b3a4 in ?? () from /usr/lib/libQt5Core.so.5
#26 0x00007f10146e6cf4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f10146e8b11 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f10146e8b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f1016b4a9a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007f1016af15ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007f101782f98e in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#32 0x00007f101782f886 in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#33 0x00007f10178441b6 in QFileDialog::getSaveFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007f10185f6ad9 in KTextEditor::DocumentPrivate::documentSaveAs() () from /usr/lib/libKF5TextEditor.so.5
#35 0x00007f10185f35bc in KTextEditor::DocumentPrivate::documentSave() () from /usr/lib/libKF5TextEditor.so.5
#36 0x00007f101858138c in ?? () from /usr/lib/libKF5TextEditor.so.5
#37 0x00007f1016b1ea11 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#38 0x00007f101761ee93 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#39 0x00007f1017621624 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#40 0x00007f1017621f10 in QAction::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#41 0x00007f10176254d5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#42 0x00007f101762ea21 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#43 0x00007f1016af29c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#44 0x00007f1017036ef0 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#45 0x00007f1017036fd3 in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#46 0x00007f1016fe93d4 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/libQt5Gui.so.5
#47 0x00007f101700776e in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#48 0x00007f101700d03f in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#49 0x00007f1016fe537c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#50 0x00007f1011b9bfec in ?? () from /usr/lib/libQt5XcbQpa.so.5
#51 0x00007f10146e6cf4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0x00007f10146e8b11 in ?? () from /usr/lib/libglib-2.0.so.0
#53 0x00007f10146e8b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0x00007f1016b4a9a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#55 0x00007f1016af15ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#56 0x00007f1016af9326 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#57 0x000055e8a99964d4 in ?? ()
#58 0x00007f10164dcee3 in __libc_start_main () from /usr/lib/libc.so.6
#59 0x000055e8a9997b3e in _start ()
[Inferior 1 (process 1303) detached]

Possible duplicates by query: bug 411225, bug 402966.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2019-09-08 08:19:57 UTC

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