Bug 373013 - KWrite crashes when closing the application
Summary: KWrite crashes when closing the application
Status: RESOLVED DUPLICATE of bug 371507
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-11-28 01:12 UTC by crushedtortilla
Modified: 2016-11-30 01:04 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 crushedtortilla 2016-11-28 01:12:49 UTC
Application: kwrite (16.08.3)

Qt Version: 5.7.0
Frameworks Version: 5.28.0
Operating System: Linux 4.5.4-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Whenever I try to close KWrite, it crashes instead, around the time when the "do you want to save" dialog opens up. I see the dialog start to open up, but then it crashes before I have a chance to click a button in the dialog.

The crash can be reproduced every time.

-- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4097cdfc80 (LWP 8495))]

Thread 3 (Thread 0x7f407c23b700 (LWP 8497)):
#0  0x00007f4093d0248d in poll () at /usr/lib/libc.so.6
#1  0x00007f408dc57786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f408dc5789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f409462472b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f40945ce23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f40943f10f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f40905b4e55 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f40943f5d78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f408f677454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f4093d0b7df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f4084c55700 (LWP 8496)):
#0  0x00007f4093d0248d in poll () at /usr/lib/libc.so.6
#1  0x00007f408c1c48e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f408c1c6679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f40873da449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f40943f5d78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f408f677454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f4093d0b7df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f4097cdfc80 (LWP 8495)):
[KCrash Handler]
#6  0x00007f406966cb94 in  () at /usr/lib/libQtGui.so.4
#7  0x00007f4097bbf4fa in call_init.part () at /lib64/ld-linux-x86-64.so.2
#8  0x00007f4097bbf60b in _dl_init () at /lib64/ld-linux-x86-64.so.2
#9  0x00007f4097bc3b38 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#10 0x00007f4097bbf3a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#11 0x00007f4097bc32d9 in _dl_open () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f408df20ee9 in  () at /usr/lib/libdl.so.2
#13 0x00007f4097bbf3a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#14 0x00007f408df21521 in  () at /usr/lib/libdl.so.2
#15 0x00007f408df20f82 in dlopen () at /usr/lib/libdl.so.2
#16 0x00007f4078da0bb0 in  () at /usr/lib/libvlccore.so.8
#17 0x00007f4078d84ebb in  () at /usr/lib/libvlccore.so.8
#18 0x00007f4078d851e8 in  () at /usr/lib/libvlccore.so.8
#19 0x00007f4078d85144 in  () at /usr/lib/libvlccore.so.8
#20 0x00007f4078d856c4 in  () at /usr/lib/libvlccore.so.8
#21 0x00007f4078d85cca in  () at /usr/lib/libvlccore.so.8
#22 0x00007f4078d0beb1 in libvlc_InternalInit () at /usr/lib/libvlccore.so.8
#23 0x00007f4078adccee in libvlc_new () at /usr/lib/libvlc.so.5
#24 0x00007f407903d2c8 in  () at /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#25 0x00007f4079012586 in  () at /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#26 0x00007f4079041195 in qt_plugin_instance () at /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#27 0x00007f40945b8cdb in QPluginLoader::instance() () at /usr/lib/libQt5Core.so.5
#28 0x00007f407e3eb180 in  () at /usr/lib/libphonon4qt5.so.4
#29 0x00007f407e3edada in  () at /usr/lib/libphonon4qt5.so.4
#30 0x00007f407e3ee179 in  () at /usr/lib/libphonon4qt5.so.4
#31 0x00007f407e3eeaa4 in Phonon::Factory::backend(bool) () at /usr/lib/libphonon4qt5.so.4
#32 0x00007f407e3ef339 in  () at /usr/lib/libphonon4qt5.so.4
#33 0x00007f407e3e3031 in  () at /usr/lib/libphonon4qt5.so.4
#34 0x00007f407f2a48e0 in  () at /usr/lib/libKF5Notifications.so.5
#35 0x00007f407f283220 in  () at /usr/lib/libKF5Notifications.so.5
#36 0x00007f407f27f4f0 in KNotification::sendEvent() () at /usr/lib/libKF5Notifications.so.5
#37 0x00007f40945fc4b9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#38 0x00007f40952afe0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007f40952b7581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#40 0x00007f40945cfde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#41 0x00007f40945d256d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#42 0x00007f4094624303 in  () at /usr/lib/libQt5Core.so.5
#43 0x00007f408dc57587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#44 0x00007f408dc577f0 in  () at /usr/lib/libglib-2.0.so.0
#45 0x00007f408dc5789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#46 0x00007f409462470f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#47 0x00007f40945ce23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#48 0x00007f409549c6b7 in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
#49 0x00007f40961a485b in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () at /usr/lib/libKF5WidgetsAddons.so.5
#50 0x00007f40961a534c in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () at /usr/lib/libKF5WidgetsAddons.so.5
#51 0x00007f40961a7e31 in  () at /usr/lib/libKF5WidgetsAddons.so.5
#52 0x00007f40961a8205 in KMessageBox::warningYesNoCancel(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () at /usr/lib/libKF5WidgetsAddons.so.5
#53 0x00007f40975e723f in KTextEditor::DocumentPrivate::queryClose() () at /usr/lib/libKF5TextEditor.so.5
#54 0x0000000000411015 in KWrite::queryClose() ()
#55 0x00007f4096b8bb5d in KMainWindow::closeEvent(QCloseEvent*) () at /usr/lib/libKF5XmlGui.so.5
#56 0x00007f40952f6ef8 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#57 0x00007f40953f548b in QMainWindow::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#58 0x00007f4096b8be6a in KMainWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#59 0x00007f4096bdd875 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#60 0x00007f40952afe0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#61 0x00007f40952b7581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#62 0x00007f40945cfde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#63 0x00007f40952f24e1 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () at /usr/lib/libQt5Widgets.so.5
#64 0x00007f4095310636 in  () at /usr/lib/libQt5Widgets.so.5
#65 0x00007f4095313673 in  () at /usr/lib/libQt5Widgets.so.5
#66 0x00007f40952afe0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#67 0x00007f40952b7581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#68 0x00007f40945cfde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#69 0x00007f4094b1b32c in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) () at /usr/lib/libQt5Gui.so.5
#70 0x00007f4094b1feb5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#71 0x00007f4094afdcab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#72 0x00007f4087410390 in  () at /usr/lib/libQt5XcbQpa.so.5
#73 0x00007f408dc57587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#74 0x00007f408dc577f0 in  () at /usr/lib/libglib-2.0.so.0
#75 0x00007f408dc5789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#76 0x00007f409462470f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#77 0x00007f40945ce23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#78 0x00007f40945d673c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#79 0x000000000040c05f in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2016-11-30 01:04:00 UTC

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