Bug 348604 - Crash when switching tab
Summary: Crash when switching tab
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.0.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
: 361217 364405 368300 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-02 22:11 UTC by Sandro Mani
Modified: 2016-09-06 16:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: Applications 16.08.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Mani 2015-06-02 22:11:53 UTC
Application: kate (5.0.0)

Qt Version: 5.4.1
Operating System: Linux 4.0.2-300.fc22.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Simply clicked on a tab of another document in the tab bar, which resulted in the crash.

The crash can be reproduced sometimes.

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

Thread 2 (Thread 0x7f299f4df700 (LWP 22676)):
#0  0x00007f29b6b7ad7d in poll () at /lib64/libc.so.6
#1  0x00007f29b343f182 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f29b3440d07 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f29a10256a9 in QXcbEventReader::run() (this=0x7f29bfd7eae0) at qxcbconnection.cpp:1108
#4  0x00007f29b7783ede in QThreadPrivate::start(void*) (arg=0x7f29bfd7eae0) at thread/qthread_unix.cpp:337
#5  0x00007f29b4af260a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f29b6b866bd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f29bdec1900 (LWP 22675)):
[KCrash Handler]
#5  0x00007f29b796a937 in QMetaObject::cast(QObject*) const () at kernel/qmetaobject.cpp:311
#6  0x00007f2996f520d9 in TabSwitcherPluginView::unregisterDocument(KTextEditor::Document*) (object=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:520
#7  0x00007f2996f520d9 in TabSwitcherPluginView::unregisterDocument(KTextEditor::Document*) (v=...) at /usr/include/qt5/QtCore/qvariant.h:697
#8  0x00007f2996f520d9 in TabSwitcherPluginView::unregisterDocument(KTextEditor::Document*) (a=...) at /usr/include/qt5/QtCore/qvariant.h:96
#9  0x00007f2996f520d9 in TabSwitcherPluginView::unregisterDocument(KTextEditor::Document*) (v=...) at /usr/include/qt5/QtCore/qvariant.h:823
#10 0x00007f2996f520d9 in TabSwitcherPluginView::unregisterDocument(KTextEditor::Document*) (this=0x7ffc9477c6e0) at /usr/include/qt5/QtCore/qvariant.h:343
#11 0x00007f2996f520d9 in TabSwitcherPluginView::unregisterDocument(KTextEditor::Document*) (this=this@entry=0x7f29c01ca3f0, document=0x7f29c18b8090) at ../../../addons/tabswitcher/tabswitcher.cpp:159
#12 0x00007f2996f53ad3 in TabSwitcherPluginView::raiseView(KTextEditor::View*) (this=0x7f29c01ca3f0, view=0x7f29c1888c90) at ../../../addons/tabswitcher/tabswitcher.cpp:185
#13 0x00007f29b7993c46 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7f29bffa6eb0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3716
#14 0x00007f29bd5d8c62 in KTextEditor::MainWindow::viewChanged(KTextEditor::View*) () at /lib64/libKF5TextEditor.so.5
#15 0x00007f29b7993c46 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x7f29c011ab60, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc9477c9b0) at kernel/qobject.cpp:3716
#16 0x00007f29b7994447 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7f29c011ab60, m=m@entry=0x7f29bdb48740 <KateViewManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc9477c9b0) at kernel/qobject.cpp:3582
#17 0x00007f29bd91a99f in KateViewManager::viewChanged(KTextEditor::View*) (this=this@entry=0x7f29c011ab60, _t1=_t1@entry=0x7f29c1888c90) at moc_kateviewmanager.cpp:381
#18 0x00007f29bd8e1a49 in KateViewManager::activateView(KTextEditor::View*) (this=this@entry=0x7f29c011ab60, view=0x7f29c1888c90) at ../../../kate/src/kateviewmanager.cpp:658
#19 0x00007f29bd8e485b in KateViewManager::activateView(KTextEditor::Document*) (this=0x7f29c011ab60, d=0x7f29c18b8090) at ../../../kate/src/kateviewmanager.cpp:671
#20 0x00007f29b7993ad7 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffc9477cb70, r=0x7f29c03cc460, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#21 0x00007f29b7993ad7 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7f29c045da70, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc9477cb70) at kernel/qobject.cpp:3702
#22 0x00007f29b7994447 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f29bdb48800 <KateTabBar::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc9477cb70) at kernel/qobject.cpp:3582
#23 0x00007f29bd91a6be in KateTabBar::currentChanged(int) (this=<optimized out>, _t1=8) at moc_katetabbar.cpp:249
#24 0x00007f29b7993ad7 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffc9477ccb0, r=0x7f29c045da70, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#25 0x00007f29b7993ad7 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7f29c1b06a70, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc9477ccb0) at kernel/qobject.cpp:3702
#26 0x00007f29b7994447 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f29bdb48780 <KateTabButton::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc9477ccb0) at kernel/qobject.cpp:3582
#27 0x00007f29bd91a8df in KateTabButton::activated(KateTabButton*) (this=<optimized out>, _t1=0x7f29c1b06a70) at moc_katetabbutton.cpp:237
#28 0x00007f29b8d1624f in QWidget::event(QEvent*) (this=0x7f29c1b06a70, event=0x7ffc9477d100) at kernel/qwidget.cpp:8651
#29 0x00007f29b8cd37cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x7f29bfd67fb0, receiver=0x7f29c1b06a70, e=0x7ffc9477d100) at kernel/qapplication.cpp:3720
#30 0x00007f29b8cd98ba in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x7f29c1b06a70, e=0x7ffc9477d100) at kernel/qapplication.cpp:3280
#31 0x00007f29b796324b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffc9477db60, receiver=0x7f29c1b06a70, event=0x7ffc9477d100) at kernel/qcoreapplication.cpp:935
#32 0x00007f29b8cd8332 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x7f29c1b06a70, event=event@entry=0x7ffc9477d100, alienWidget=alienWidget@entry=0x7f29c1b06a70, nativeWidget=0x7f29c00c1980, buttonDown=buttonDown@entry=0x7f29b93f63b0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#33 0x00007f29b8d2d290 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x7f29c058d190, event=event@entry=0x7ffc9477d520) at kernel/qwidgetwindow.cpp:543
#34 0x00007f29b8d2f5db in QWidgetWindow::event(QEvent*) (this=0x7f29c058d190, event=0x7ffc9477d520) at kernel/qwidgetwindow.cpp:210
#35 0x00007f29b8cd37cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x7f29bfd67fb0, receiver=0x7f29c058d190, e=0x7ffc9477d520) at kernel/qapplication.cpp:3720
#36 0x00007f29b8cd8e70 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc9477db60, receiver=0x7f29c058d190, e=0x7ffc9477d520) at kernel/qapplication.cpp:3503
#37 0x00007f29b796324b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffc9477db60, receiver=receiver@entry=0x7f29c058d190, event=event@entry=0x7ffc9477d520) at kernel/qcoreapplication.cpp:935
#38 0x00007f29b8313dc5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (event=0x7ffc9477d520, receiver=0x7f29c058d190) at ../../src/corelib/kernel/qcoreapplication.h:231
#39 0x00007f29b8313dc5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7f29c207bbc0) at kernel/qguiapplication.cpp:1771
#40 0x00007f29b8315a45 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x7f29c207bbc0) at kernel/qguiapplication.cpp:1573
#41 0x00007f29b82faf28 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:572
#42 0x00007f29a1051f30 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#43 0x00007f29b2cedbea in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#44 0x00007f29b2cedf80 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#45 0x00007f29b2cee02c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#46 0x00007f29b79ba73f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f29bfdaa540, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#47 0x00007f29b7960a8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc9477d8a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#48 0x00007f29b79685fc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#49 0x00007f29b830bb0c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1507
#50 0x00007f29b8ccfc95 in QApplication::exec() () at kernel/qapplication.cpp:2956
#51 0x00007f29bd9189f4 in kdemain(int, char**) (argc=2, argv=<optimized out>) at ../../../kate/src/main.cpp:439
#52 0x00007f29b6a9f9a0 in __libc_start_main () at /lib64/libc.so.6
#53 0x00007f29bdd72b19 in _start ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2015-10-08 10:05:30 UTC
Do you still have this issue? I cannot reproduce...
Comment 2 Dominik Haumann 2016-04-05 19:29:17 UTC
*** Bug 361217 has been marked as a duplicate of this bug. ***
Comment 3 Dominik Haumann 2016-09-06 08:16:58 UTC
*** Bug 368300 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2016-09-06 10:08:08 UTC
Finally fixed for KDE Applications release version 16.08.2. Sorry for the inconvenience.
Comment 5 Christoph Cullmann 2016-09-06 16:01:25 UTC
*** Bug 364405 has been marked as a duplicate of this bug. ***