Bug 371767 - Crash if a new edited file in Kate will be closed via the close button in the document tab
Summary: Crash if a new edited file in Kate will be closed via the close button in the...
Status: RESOLVED DUPLICATE of bug 371507
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-27 21:05 UTC by Rainer Finke
Modified: 2016-10-28 22:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Finke 2016-10-27 21:05:37 UTC
Application: kate (16.08.2)

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

-- Information about the crash:
- What I was doing when the application crashed:
Closing a new edited file in Kate will crash Kate if you click on the the close button in the document tab.

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 0x7f1ffbbeb200 (LWP 2622))]

Thread 3 (Thread 0x7f1fdedf4700 (LWP 2624)):
#0  0x00007f1ff61834ed in read () at /usr/lib/libc.so.6
#1  0x00007f1ff0e5ea10 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1ff0e1a235 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1ff0e1a724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1ff0e1a89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f1ff6dad72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1ff6d5723a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f1ff6b7a0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f1ff71bee55 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f1ff6b7ed78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f1ff2b01454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f1ff61907df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f1fe7492700 (LWP 2623)):
#0  0x00007f1ff618748d in poll () at /usr/lib/libc.so.6
#1  0x00007f1ff2f268e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f1ff2f28679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f1fe95e4449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f1ff6b7ed78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f1ff2b01454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f1ff61907df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1ffbbeb200 (LWP 2622)):
[KCrash Handler]
#6  0x00007f1fd0102b94 in  () at /usr/lib/libQtGui.so.4
#7  0x00007f1ffbad54fa in call_init.part () at /lib64/ld-linux-x86-64.so.2
#8  0x00007f1ffbad560b in _dl_init () at /lib64/ld-linux-x86-64.so.2
#9  0x00007f1ffbad9b38 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#10 0x00007f1ffbad53a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#11 0x00007f1ffbad92d9 in _dl_open () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f1ff10e3ee9 in  () at /usr/lib/libdl.so.2
#13 0x00007f1ffbad53a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#14 0x00007f1ff10e4521 in  () at /usr/lib/libdl.so.2
#15 0x00007f1ff10e3f82 in dlopen () at /usr/lib/libdl.so.2
#16 0x00007f1fd5831bb0 in  () at /usr/lib/libvlccore.so.8
#17 0x00007f1fd5815ebb in  () at /usr/lib/libvlccore.so.8
#18 0x00007f1fd58161e8 in  () at /usr/lib/libvlccore.so.8
#19 0x00007f1fd5816144 in  () at /usr/lib/libvlccore.so.8
#20 0x00007f1fd58166c4 in  () at /usr/lib/libvlccore.so.8
#21 0x00007f1fd5816cca in  () at /usr/lib/libvlccore.so.8
#22 0x00007f1fd579ceb1 in libvlc_InternalInit () at /usr/lib/libvlccore.so.8
#23 0x00007f1fd556dcee in libvlc_new () at /usr/lib/libvlc.so.5
#24 0x00007f1fd5ace2c8 in  () at /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#25 0x00007f1fd5aa3586 in  () at /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#26 0x00007f1fd5ad2195 in qt_plugin_instance () at /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#27 0x00007f1ff6d41cdb in QPluginLoader::instance() () at /usr/lib/libQt5Core.so.5
#28 0x00007f1fe5093180 in  () at /usr/lib/libphonon4qt5.so.4
#29 0x00007f1fe5095ada in  () at /usr/lib/libphonon4qt5.so.4
#30 0x00007f1fe5096179 in  () at /usr/lib/libphonon4qt5.so.4
#31 0x00007f1fe5096aa4 in Phonon::Factory::backend(bool) () at /usr/lib/libphonon4qt5.so.4
#32 0x00007f1fe5097339 in  () at /usr/lib/libphonon4qt5.so.4
#33 0x00007f1fe508b031 in  () at /usr/lib/libphonon4qt5.so.4
#34 0x00007f1fe5f417e0 in  () at /usr/lib/libKF5Notifications.so.5
#35 0x00007f1fe5f201c0 in  () at /usr/lib/libKF5Notifications.so.5
#36 0x00007f1fe5f1c490 in KNotification::sendEvent() () at /usr/lib/libKF5Notifications.so.5
#37 0x00007f1ff6d854b9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#38 0x00007f1ff819ee0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007f1ff81a6581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#40 0x00007f1ff6d58de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#41 0x00007f1ff6d5b56d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#42 0x00007f1ff6dad303 in  () at /usr/lib/libQt5Core.so.5
#43 0x00007f1ff0e1a587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#44 0x00007f1ff0e1a7f0 in  () at /usr/lib/libglib-2.0.so.0
#45 0x00007f1ff0e1a89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#46 0x00007f1ff6dad70f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#47 0x00007f1ff6d5723a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#48 0x00007f1ff838b6b7 in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
#49 0x00007f1ff96a385b 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 0x00007f1ff96a434c 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 0x00007f1ff96a6e31 in  () at /usr/lib/libKF5WidgetsAddons.so.5
#52 0x00007f1ff96a7205 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 0x00007f1ffb4ff25f in KTextEditor::DocumentPrivate::queryClose() () at /usr/lib/libKF5TextEditor.so.5
#54 0x00007f1ffb1ad308 in KParts::ReadWritePart::closeUrl() () at /usr/lib/libKF5Parts.so.5
#55 0x00007f1ffb50250c in KTextEditor::DocumentPrivate::closeUrl() () at /usr/lib/libKF5TextEditor.so.5
#56 0x000000000044d4c8 in  ()
#57 0x0000000000450087 in KateDocManager::closeDocument(KTextEditor::Document*, bool) ()
#58 0x00007f1ff6d854b9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#59 0x00007f1ff81e60eb in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#60 0x00007f1ff819ee0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#61 0x00007f1ff81a6581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#62 0x00007f1ff6d58de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#63 0x00007f1ff6d5b56d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#64 0x00007f1ff6dad303 in  () at /usr/lib/libQt5Core.so.5
#65 0x00007f1ff0e1a587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#66 0x00007f1ff0e1a7f0 in  () at /usr/lib/libglib-2.0.so.0
#67 0x00007f1ff0e1a89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#68 0x00007f1ff6dad70f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#69 0x00007f1ff6d5723a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#70 0x00007f1ff6d5f73c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#71 0x00000000004400d5 in main ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-10-28 20:39:21 UTC
@Harald: Is this maybe a duplicate of bug #335111 ?
Comment 2 Christoph Feck 2016-10-28 22:41:10 UTC
Yes.

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