Bug 357336

Summary: Kate crashes on "open file" when opend from command line
Product: [Applications] kate Reporter: micu <micuintus>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kare.sars
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description micu 2015-12-30 12:30:04 UTC
Application: kate (15.08.3)

Qt Version: 5.5.1
Operating System: Linux 4.2.8-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
->> Opened kate from command line "kate somefile.txt &"
->> Klicked "open file"
Does not  always happen  :/

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7fc0256a1700 (LWP 15131)):
#0  0x00007fc03d29effd in poll () at /lib64/libc.so.6
#1  0x00007fc03a1b3272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fc03a1b4ee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fc028072da9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7fc01b7f8700 (LWP 15132)):
#0  0x00007fc03b468b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc03dea865b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fc01bacebff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#3  0x00007fc01bad33a8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007fc01bacdcb3 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007fc01bad0c43 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fc01aff7700 (LWP 15133)):
#0  0x00007fc03b468b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc03dea865b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fc01bacebff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#3  0x00007fc01bad33a8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007fc01bacdcb3 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007fc01bad0c43 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fc01a5e8700 (LWP 15135)):
#0  0x00007fc03b468b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc03dea865b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fc01bacebff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#3  0x00007fc01bad33a8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007fc01bacdcb3 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007fc01bad0c43 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fc019de7700 (LWP 15136)):
#0  0x00007fc03b468b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc03dea865b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fc01bacebff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#3  0x00007fc01bad33a8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007fc01bacdcb3 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007fc01bad0c43 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fc0195e6700 (LWP 15137)):
#0  0x00007fc03b468b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc03dea865b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fc01bacebff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#3  0x00007fc01bad33a8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007fc01bacdcb3 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007fc01bad0c43 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fc018de5700 (LWP 15138)):
#0  0x00007fc03b468b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc03dea865b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fc01bacebff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#3  0x00007fc01bad33a8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007fc01bacdcb3 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007fc01bad0c43 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fc003fff700 (LWP 15139)):
#0  0x00007fc03b468b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc03dea865b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fc01bacebff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#3  0x00007fc01bad33a8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007fc01bacdcb3 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007fc01bad0c43 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fc0037fe700 (LWP 15140)):
#0  0x00007fc03b468b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc03dea865b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fc01bacebff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib64/libKF5ThreadWeaver.so.5
#3  0x00007fc01bad33a8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#4  0x00007fc01bacdcb3 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib64/libKF5ThreadWeaver.so.5
#5  0x00007fc01bad0c43 in ThreadWeaver::Thread::run() () at /lib64/libKF5ThreadWeaver.so.5
#6  0x00007fc03dea73ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fc03b46360a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc03d2aaa9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fc0449bd900 (LWP 15117)):
[KCrash Handler]
#5  0x00007fc028089f08 in QXcbWindow::setParent(QPlatformWindow const*) () at /lib64/libQt5XcbQpa.so.5
#6  0x00007fc03ef288bb in QWindow::setParent(QWindow*) () at /lib64/libQt5Gui.so.5
#7  0x00007fc03f7035d5 in QWidgetPrivate::setParent_sys(QWidget*, QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
#8  0x00007fc03f70efda in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
#9  0x00007fc03f7100cc in QWidget::setParent(QWidget*) () at /lib64/libQt5Widgets.so.5
#10 0x00007fc03f7f611c in QDialogButtonBox::addButton(QAbstractButton*, QDialogButtonBox::ButtonRole) () at /lib64/libQt5Widgets.so.5
#11 0x00007fc024870de9 in KDEPlatformFileDialog::KDEPlatformFileDialog() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#12 0x00007fc024871212 in KDEPlatformFileDialogHelper::KDEPlatformFileDialogHelper() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#13 0x00007fc02486435a in KdePlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType) const () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
#14 0x00007fc03f8c51b5 in QDialogPrivate::platformHelper() const () at /lib64/libQt5Widgets.so.5
#15 0x00007fc03f8d8958 in QFileDialogPrivate::init(QUrl const&, QString const&, QString const&) () at /lib64/libQt5Widgets.so.5
#16 0x00007fc03f8d8c76 in QFileDialog::QFileDialog(QFileDialogArgs const&) () at /lib64/libQt5Widgets.so.5
#17 0x00007fc03f8d922e in QFileDialog::getOpenFileUrls(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () at /lib64/libQt5Widgets.so.5
#18 0x00007fc044650898 in KateViewManager::slotDocumentOpen() () at /lib64/libkdeinit5_kate.so
#19 0x00007fc04468a5f5 in KateViewManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkdeinit5_kate.so
#20 0x00007fc03e0b72ea in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#21 0x00007fc03f6c17d2 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#22 0x00007fc03f6c3c58 in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#23 0x00007fc03f846562 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () at /lib64/libQt5Widgets.so.5
#24 0x00007fc03f84c82c in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () at /lib64/libQt5Widgets.so.5
#25 0x00007fc03f850730 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007fc03f70e428 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#27 0x00007fc03f851173 in QMenu::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#28 0x00007fc03f6cb41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#29 0x00007fc03f6d0fe9 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#30 0x00007fc03e08877b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#31 0x00007fc03f84ff19 in QMenuPrivate::mouseEventTaken(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007fc03f8505b6 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#33 0x00007fc03f70e428 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#34 0x00007fc03f851173 in QMenu::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#35 0x00007fc03f6cb41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#36 0x00007fc03f6d0fe9 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#37 0x00007fc03e08877b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#38 0x00007fc03f6cfef2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5
#39 0x00007fc03f728ced in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#40 0x00007fc03f72af4b in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#41 0x00007fc03f6cb41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#42 0x00007fc03f6d08e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#43 0x00007fc03e08877b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#44 0x00007fc03ef21ee1 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#45 0x00007fc03ef23bb5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#46 0x00007fc03ef07958 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#47 0x00007fc0280a40a0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#48 0x00007fc039653e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#49 0x00007fc0396541d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#50 0x00007fc03965427c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#51 0x00007fc03e0deeef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#52 0x00007fc03e085f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#53 0x00007fc03e08dfec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#54 0x00007fc044683834 in kdemain () at /lib64/libkdeinit5_kate.so
#55 0x00007fc03d1c8580 in __libc_start_main () at /lib64/libc.so.6
#56 0x0000563421809b49 in _start ()

Possible duplicates by query: bug 357327, bug 357298, bug 356867, bug 356827, bug 356820.

Reported using DrKonqi
Comment 1 Kåre Särs 2016-01-10 22:27:06 UTC

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