Bug 372465 - Kate crashes when dragging tab to second window
Summary: Kate crashes when dragging tab to second window
Status: RESOLVED DUPLICATE of bug 372025
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-11-14 12:22 UTC by Stefan L
Modified: 2016-11-14 14:28 UTC (History)
0 users

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 Stefan L 2016-11-14 12:22:13 UTC
Application: kate (16.08.2)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.4.0-47-generic x86_64
Distribution: KDE neon User Edition 5.8

-- Information about the crash:
Steps to reproduce the bug:
-------------------------------------------
1. Open two kate windows (A and B)
2. Drag the "Untitled"-Tab from window A to window B
3. While still dragging the Tab move your cursor onto the tab-bar of window B

What happens:
The destination window of the drag (window B) crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4e6c456900 (LWP 3012))]

Thread 2 (Thread 0x7f4e4e2b1700 (LWP 3014)):
#0  0x00007f4e676b2b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4e62ca339c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4e62ca34ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4e682e623b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4e68290cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4e680b5fb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4e6c56a7a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f4e680bab98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f4e64b4a70a in start_thread (arg=0x7f4e4e2b1700) at pthread_create.c:333
#9  0x00007f4e676be82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4e6c456900 (LWP 3012)):
[KCrash Handler]
#6  QObject::parent (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:417
#7  KateTabBar::dragEnterEvent (this=0x25b7f20, event=0x7fff621e8c10) at /workspace/build/kate/katetabbar.cpp:526
#8  0x00007f4e69092398 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f4e6904b89c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f4e69053d1f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f4e68292cf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f4e690ad84a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f4e690ae803 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f4e6904b89c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f4e69053296 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f4e68292cf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f4e68ab26ae in QGuiApplicationPrivate::processDrag(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007f4e68a90fef in QWindowSystemInterface::handleDrag(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007f4e589a3946 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#20 0x00007f4e589a3c24 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#21 0x00007f4e589afac6 in QXcbWindow::handleClientMessageEvent(xcb_client_message_event_t const*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007f4e5899af1b in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#23 0x00007f4e5899b300 in QXcbConnection::processXcbEvents() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#24 0x00007f4e682bea19 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f4e6904b89c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f4e69053296 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f4e68292cf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f4e682953bb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f4e682e5e13 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f4e62ca31a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f4e62ca3400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f4e62ca34ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f4e682e621f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f4e68290cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f4e682992fc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x000000000044350e in main (argc=3, argv=<optimized out>) at /workspace/build/kate/main.cpp:576

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-11-14 14:28:23 UTC

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