Application: kate (17.08.1) (Compiled from sources) Qt Version: 5.9.2 Frameworks Version: 5.38.0 Operating System: Linux 4.12.8-gentoo-xen x86_64 Distribution: "Gentoo Base System release 2.4.1" -- Information about the crash: - What I was doing when the application crashed: I had just clicked on kate's icon in the taskbar to switch to the application. -- Backtrace: Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f19add9c800 (LWP 4113))] Thread 2 (Thread 0x7f1998e45700 (LWP 4116)): #0 0x00007f19a90ed8bd in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f19a43f97a6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f198c003020, timeout=<optimized out>, context=0x7f198c000990) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4271 #2 g_main_context_iterate (context=context@entry=0x7f198c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3967 #3 0x00007f19a43f98bc in g_main_context_iteration (context=0x7f198c000990, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033 #4 0x00007f19a9d5873b in QEventDispatcherGlib::processEvents (this=0x7f198c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f19a9d0660a in QEventLoop::exec (this=this@entry=0x7f1998e44d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #6 0x00007f19a9b630d3 in QThread::exec (this=this@entry=0x7f19adec4da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515 #7 0x00007f19ade4e6f9 in QDBusConnectionManager::run (this=0x7f19adec4da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #8 0x00007f19a9b674ce in QThreadPrivate::start (arg=0x7f19adec4da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368 #9 0x00007f19a65b9657 in start_thread (arg=0x7f1998e45700) at pthread_create.c:456 #10 0x00007f19a90f8c5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 1 (Thread 0x7f19add9c800 (LWP 4113)): [KCrash Handler] #6 0x00007f19aa535a13 in QMap<Qt::DropAction, QPixmap>::constFind (akey=<synthetic pointer>: <optimized out>, this=0x6243980) at ../../include/QtCore/../../src/corelib/tools/qmap.h:861 #7 QDrag::dragCursor (this=0x6642640, action=action@entry=Qt::IgnoreAction) at kernel/qdrag.cpp:347 #8 0x00007f19aa51b2e3 in QBasicDrag::updateCursor (this=0x26a9ab0, action=action@entry=Qt::IgnoreAction) at kernel/qsimpledrag.cpp:303 #9 0x00007f199e2eeb27 in QXcbDrag::handle_xdnd_status (this=this@entry=0x26a9ab0, event=event@entry=0x7ffeba978cb0) at qxcbdrag.cpp:866 #10 0x00007f199e2ef472 in QXcbDrag::handle_xdnd_status (event=0x7ffeba978cb0, this=0x26a9ab0) at qxcbdrag.cpp:856 #11 QXcbDrag::handle_xdnd_position (this=this@entry=0x26a9ab0, w=w@entry=0x31e8410, e=e@entry=0x7ffeba978d40) at qxcbdrag.cpp:812 #12 0x00007f199e2f135c in QXcbDrag::move (this=0x26a9ab0, globalPos=...) at qxcbdrag.cpp:501 #13 0x00007f19aa51acbf in QBasicDrag::eventFilter (this=0x26a9ab0, o=<optimized out>, e=<optimized out>) at kernel/qsimpledrag.cpp:160 #14 0x00007f19a9d07585 in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=this@entry=0x26742a0, receiver=receiver@entry=0x697f8e0, event=event@entry=0x7ffeba979180) at kernel/qcoreapplication.cpp:1111 #15 0x00007f19aaa33288 in QApplicationPrivate::notify_helper (this=0x26742a0, receiver=0x697f8e0, e=0x7ffeba979180) at kernel/qapplication.cpp:3697 #16 0x00007f19aaa3aab1 in QApplication::notify (this=0x7ffeba97a460, receiver=0x697f8e0, e=0x7ffeba979180) at kernel/qapplication.cpp:3481 #17 0x00007f19a9d078da in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x697f8e0, event=event@entry=0x7ffeba979180) at kernel/qcoreapplication.cpp:1018 #18 0x00007f19aa526cfb in QCoreApplication::sendSpontaneousEvent (event=0x7ffeba979180, receiver=0x697f8e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #19 QGuiApplicationPrivate::processMouseEvent (e=0x5cc0c00) at kernel/qguiapplication.cpp:1949 #20 0x00007f19aa528905 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x5cc0c00) at kernel/qguiapplication.cpp:1733 #21 0x00007f19aa50591b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:939 #22 0x00007f199e340650 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77 #23 0x00007f19a43f95a7 in g_main_dispatch (context=0x7f19940016f0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234 #24 g_main_context_dispatch (context=context@entry=0x7f19940016f0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899 #25 0x00007f19a43f9810 in g_main_context_iterate (context=context@entry=0x7f19940016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972 #26 0x00007f19a43f98bc in g_main_context_iteration (context=0x7f19940016f0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033 #27 0x00007f19a9d5871f in QEventDispatcherGlib::processEvents (this=0x26c1420, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #28 0x00007f19a9d0660a in QEventLoop::exec (this=this@entry=0x656f300, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #29 0x00007f19aa51b472 in QBasicDrag::drag (this=0x26a9ab0, o=<optimized out>) at kernel/qsimpledrag.cpp:195 #30 0x00007f19aa536ef1 in QDragManager::drag (this=0x5ef3bb0, o=o@entry=0x6642640) at kernel/qdnd.cpp:141 #31 0x00007f19aa53597a in QDrag::start (this=this@entry=0x6642640, request=..., request@entry=...) at kernel/qdrag.cpp:313 #32 0x00000000004826b8 in KateTabButton::mouseMoveEvent (this=0x621d560, event=0x7ffeba979ab0) at /var/tmp/portage/kde-apps/kate-17.08.1/work/kate-17.08.1/kate/katetabbutton.cpp:210 #33 0x00007f19aaa72668 in QWidget::event (this=0x621d560, event=0x7ffeba979ab0) at kernel/qwidget.cpp:9198 #34 0x00007f19aaa3324c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x621d560, e=0x7ffeba979ab0) at kernel/qapplication.cpp:3722 #35 0x00007f19aaa3b8f7 in QApplication::notify (this=<optimized out>, receiver=0x621d560, e=0x7ffeba979ab0) at kernel/qapplication.cpp:3198 #36 0x00007f19a9d078da in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x621d560, event=event@entry=0x7ffeba979ab0) at kernel/qcoreapplication.cpp:1018 #37 0x00007f19aaa39ffd in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233 #38 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x621d560, event=event@entry=0x7ffeba979ab0, alienWidget=alienWidget@entry=0x5cf48d0, nativeWidget=0x2934c70, buttonDown=buttonDown@entry=0x7f19aaf35cb0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2704 #39 0x00007f19aaa8c226 in QWidgetWindow::handleMouseEvent (this=this@entry=0x31e7fe0, event=event@entry=0x7ffeba979eb0) at kernel/qwidgetwindow.cpp:622 #40 0x00007f19aaa8ebd3 in QWidgetWindow::event (this=0x31e7fe0, event=0x7ffeba979eb0) at kernel/qwidgetwindow.cpp:243 #41 0x00007f19aaa3324c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x31e7fe0, e=0x7ffeba979eb0) at kernel/qapplication.cpp:3722 #42 0x00007f19aaa3aab1 in QApplication::notify (this=0x7ffeba97a460, receiver=0x31e7fe0, e=0x7ffeba979eb0) at kernel/qapplication.cpp:3481 #43 0x00007f19a9d078da in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x31e7fe0, event=event@entry=0x7ffeba979eb0) at kernel/qcoreapplication.cpp:1018 #44 0x00007f19aa526cfb in QCoreApplication::sendSpontaneousEvent (event=0x7ffeba979eb0, receiver=0x31e7fe0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #45 QGuiApplicationPrivate::processMouseEvent (e=0x66be110) at kernel/qguiapplication.cpp:1949 #46 0x00007f19aa528905 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x66be110) at kernel/qguiapplication.cpp:1733 #47 0x00007f19aa50591b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:939 #48 0x00007f199e340650 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77 #49 0x00007f19a43f95a7 in g_main_dispatch (context=0x7f19940016f0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234 #50 g_main_context_dispatch (context=context@entry=0x7f19940016f0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899 #51 0x00007f19a43f9810 in g_main_context_iterate (context=context@entry=0x7f19940016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972 #52 0x00007f19a43f98bc in g_main_context_iteration (context=0x7f19940016f0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033 #53 0x00007f19a9d5871f in QEventDispatcherGlib::processEvents (this=0x26c1420, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #54 0x00007f19a9d0660a in QEventLoop::exec (this=this@entry=0x7ffeba97a250, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #55 0x00007f19a9d0ebe4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291 #56 0x00007f19aa51e25c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1679 #57 0x00007f19aaa331a5 in QApplication::exec () at kernel/qapplication.cpp:2910 #58 0x0000000000428518 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kate-17.08.1/work/kate-17.08.1/kate/main.cpp:583 Reported using DrKonqi
According to the backtrace, you were dragging one of Kate's tabs. Could you reproduce the steps to get the crash?
Can not reproduce that by wild dragging. Not sure how it can crash without going back into Kate code inside the line with start in: void KateTabButton::mouseMoveEvent(QMouseEvent *event) { // possibly start drag event if (QPoint(event->globalPos() - m_mouseDownPosition).manhattanLength() > QApplication::startDragDistance()) { QMimeData *mimeData = new QMimeData; mimeData->setData(QStringLiteral("application/x-dndkatetabbutton"), QByteArray()); mimeData->setUrls({m_url}); auto drag = new QDrag(this); drag->setMimeData(mimeData); drag->setDragCursor(QPixmap(), Qt::MoveAction); drag->start(Qt::MoveAction); event->accept(); } QAbstractButton::mouseMoveEvent(event); }
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!