Bug 425709 - Knights crashed on FreeBSD 12.1 (KDE-package, not port)
Summary: Knights crashed on FreeBSD 12.1 (KDE-package, not port)
Status: RESOLVED WORKSFORME
Alias: None
Product: knights
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR crash
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-08-23 12:54 UTC by Samuel Söderberg
Modified: 2022-11-29 05:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Söderberg 2020-08-23 12:54:06 UTC
Application: knights (2.6.0)

Qt Version: 5.14.2
Frameworks Version: 5.71.0
Operating System: FreeBSD 12.1-RELEASE amd64
Windowing system: X11
Distribution (Platform): FreeBSD Ports

-- Information about the crash:
- What I was doing when the application crashed:

I was in the process of getting pwned by Stockfish on custom difficulty, and it suddenly crashed.

-- Backtrace:
Application: Knights (knights), signal: Abort trap

(lldb) process attach --pid 64457
Process 64457 stopped

Executable module set to "/usr/local/bin/knights".
Architecture set to: x86_64--freebsd12.1.
(lldb) settings set term-width 200
(lldb) thread info
thread #1: tid = 101275, 0x0000000802ebc7b8 libc.so.7`_wait4 + 8, name = 'knights'

(lldb) bt all
* thread #1, name = 'knights'
  * frame #0: 0x0000000802ebc7b8 libc.so.7`_wait4 + 8
    frame #1: 0x0000000803a936ac libthr.so.3`___lldb_unnamed_symbol49$$libthr.so.3 + 60
    frame #2: 0x00000008012dda9b libKF5Crash.so.5`___lldb_unnamed_symbol3$$libKF5Crash.so.5 + 315
    frame #3: 0x00000008012dd7d6 libKF5Crash.so.5`KCrash::defaultCrashHandler(int) + 1462
    frame #4: 0x0000000803a963c0 libthr.so.3`___lldb_unnamed_symbol101$$libthr.so.3 + 208
    frame #5: 0x0000000803a9598f libthr.so.3`___lldb_unnamed_symbol82$$libthr.so.3 + 319
    frame #6: 0x00007ffffffff193
    frame #7: 0x0000000802e9c7e9 libc.so.7`abort + 73
    frame #8: 0x000000080195d119 libcxxrt.so.1`__cxa_pure_virtual + 9
    frame #9: 0x0000000802c8e122 libQt5Core.so.5`QObject::~QObject() + 2050
    frame #10: 0x0000000000235b32 knights`___lldb_unnamed_symbol234$$knights + 98
    frame #11: 0x000000000026dc5f knights`___lldb_unnamed_symbol746$$knights + 95
    frame #12: 0x0000000801fdc216 libQt5Widgets.so.5`QGraphicsScene::event(QEvent*) + 1110
    frame #13: 0x0000000801c9acc0 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
    frame #14: 0x0000000801c9c27c libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 620
    frame #15: 0x0000000802c61bf2 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 210
    frame #16: 0x0000000802005841 libQt5Widgets.so.5`QGraphicsView::dropEvent(QDropEvent*) + 161
    frame #17: 0x0000000801cd61b1 libQt5Widgets.so.5`QWidget::event(QEvent*) + 1569
    frame #18: 0x0000000801d7ddbb libQt5Widgets.so.5`QFrame::event(QEvent*) + 43
    frame #19: 0x000000080200558c libQt5Widgets.so.5`QGraphicsView::viewportEvent(QEvent*) + 1212
    frame #20: 0x0000000802c61f2e libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 222
    frame #21: 0x0000000801c9acab libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #22: 0x0000000801c9d396 libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 4998
    frame #23: 0x0000000802c61bf2 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 210
    frame #24: 0x0000000801cf6a85 libQt5Widgets.so.5`___lldb_unnamed_symbol413$$libQt5Widgets.so.5 + 421
    frame #25: 0x0000000801cf3ea9 libQt5Widgets.so.5`___lldb_unnamed_symbol399$$libQt5Widgets.so.5 + 937
    frame #26: 0x0000000801c9acc0 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
    frame #27: 0x0000000801c9c27c libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 620
    frame #28: 0x0000000802c61bf2 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 210
    frame #29: 0x00000008022b8fbf libQt5Gui.so.5`QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) + 191
    frame #30: 0x0000000802296435 libQt5Gui.so.5`QWindowSystemInterface::handleDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) + 261
    frame #31: 0x0000000806fd8a35 libQt5XcbQpa.so.5`___lldb_unnamed_symbol382$$libQt5XcbQpa.so.5 + 741
    frame #32: 0x0000000806fd86f0 libQt5XcbQpa.so.5`___lldb_unnamed_symbol381$$libQt5XcbQpa.so.5 + 656
    frame #33: 0x00000008022f523f libQt5Gui.so.5`QBasicDrag::eventFilter(QObject*, QEvent*) + 1135
    frame #34: 0x0000000802c61dfe libQt5Core.so.5`QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) + 206
    frame #35: 0x0000000801c9abf2 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 66
    frame #36: 0x0000000801c9c27c libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 620
    frame #37: 0x0000000802c61bf2 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 210
    frame #38: 0x00000008022b39db libQt5Gui.so.5`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 3563
    frame #39: 0x00000008022978dc libQt5Gui.so.5`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 220
    frame #40: 0x0000000806fcf8af libQt5XcbQpa.so.5`___lldb_unnamed_symbol345$$libQt5XcbQpa.so.5 + 31
    frame #41: 0x000000080459d7d7 libglib-2.0.so.0`g_main_context_dispatch + 327
    frame #42: 0x000000080459db9a libglib-2.0.so.0`___lldb_unnamed_symbol117$$libglib-2.0.so.0 + 538
    frame #43: 0x000000080459dc54 libglib-2.0.so.0`g_main_context_iteration + 100
    frame #44: 0x0000000802cbba40 libQt5Core.so.5`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 96
    frame #45: 0x0000000802c5db2e libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 494
    frame #46: 0x00000008022f5a44 libQt5Gui.so.5`QBasicDrag::drag(QDrag*) + 68
    frame #47: 0x00000008022f359b libQt5Gui.so.5`QDragManager::drag(QDrag*) + 363
    frame #48: 0x00000008022f394c libQt5Gui.so.5`QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) + 140
    frame #49: 0x0000000801fdc15f libQt5Widgets.so.5`QGraphicsScene::event(QEvent*) + 927
    frame #50: 0x0000000801c9acc0 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
    frame #51: 0x0000000801c9c27c libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 620
    frame #52: 0x0000000802c61bf2 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 210
    frame #53: 0x0000000801ffd89f libQt5Widgets.so.5`QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*) + 975
    frame #54: 0x0000000801cd5d7b libQt5Widgets.so.5`QWidget::event(QEvent*) + 491
    frame #55: 0x0000000801d7ddbb libQt5Widgets.so.5`QFrame::event(QEvent*) + 43
    frame #56: 0x000000080200558c libQt5Widgets.so.5`QGraphicsView::viewportEvent(QEvent*) + 1212
    frame #57: 0x0000000802c61f2e libQt5Core.so.5`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 222
    frame #58: 0x0000000801c9acab libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #59: 0x0000000801c9defd libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 7917
    frame #60: 0x0000000802c61bf2 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 210
    frame #61: 0x0000000801c9b6c1 libQt5Widgets.so.5`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 961
    frame #62: 0x0000000801cf4cb6 libQt5Widgets.so.5`___lldb_unnamed_symbol404$$libQt5Widgets.so.5 + 1846
    frame #63: 0x0000000801cf3c0c libQt5Widgets.so.5`___lldb_unnamed_symbol399$$libQt5Widgets.so.5 + 268
    frame #64: 0x0000000801c9acc0 libQt5Widgets.so.5`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
    frame #65: 0x0000000801c9c27c libQt5Widgets.so.5`QApplication::notify(QObject*, QEvent*) + 620
    frame #66: 0x0000000802c61bf2 libQt5Core.so.5`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 210
    frame #67: 0x00000008022b39db libQt5Gui.so.5`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 3563
    frame #68: 0x00000008022978dc libQt5Gui.so.5`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 220
    frame #69: 0x0000000806fcf8af libQt5XcbQpa.so.5`___lldb_unnamed_symbol345$$libQt5XcbQpa.so.5 + 31
    frame #70: 0x000000080459d7d7 libglib-2.0.so.0`g_main_context_dispatch + 327
    frame #71: 0x000000080459db9a libglib-2.0.so.0`___lldb_unnamed_symbol117$$libglib-2.0.so.0 + 538
    frame #72: 0x000000080459dc54 libglib-2.0.so.0`g_main_context_iteration + 100
    frame #73: 0x0000000802cbba40 libQt5Core.so.5`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 96
    frame #74: 0x0000000802c5db2e libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 494
    frame #75: 0x0000000802c6235e libQt5Core.so.5`QCoreApplication::exec() + 142
    frame #76: 0x000000000027b486 knights`___lldb_unnamed_symbol836$$knights + 3158
    frame #77: 0x000000000022d10f knights`___lldb_unnamed_symbol1$$knights + 271
  thread #2, name = 'knights'
    frame #0: 0x0000000803a982aa libthr.so.3`___lldb_unnamed_symbol112$$libthr.so.3 + 202
    frame #1: 0x0000000803a972b9 libthr.so.3`pthread_mutex_lock + 57
    frame #2: 0x00000008045e6d4a libglib-2.0.so.0`g_mutex_lock + 26
    frame #3: 0x000000080459d063 libglib-2.0.so.0`g_main_context_prepare + 531
    frame #4: 0x000000080459da0e libglib-2.0.so.0`___lldb_unnamed_symbol117$$libglib-2.0.so.0 + 142
    frame #5: 0x000000080459dc54 libglib-2.0.so.0`g_main_context_iteration + 100
    frame #6: 0x0000000802cbba5b libQt5Core.so.5`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 123
    frame #7: 0x0000000802c5db2e libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 494
    frame #8: 0x0000000802a7b730 libQt5Core.so.5`QThread::exec() + 160
    frame #9: 0x000000080181fa53 libQt5DBus.so.5`___lldb_unnamed_symbol12$$libQt5DBus.so.5 + 19
    frame #10: 0x0000000802a7c731 libQt5Core.so.5`___lldb_unnamed_symbol209$$libQt5Core.so.5 + 241
    frame #11: 0x0000000803a90736 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 326
  thread #3, name = 'knights'
    frame #0: 0x0000000802e3343a libc.so.7`__sys__umtx_op + 10
    frame #1: 0x0000000802e1b13d libc.so.7`sem_clockwait_np + 253
    frame #2: 0x000000080329be98 libopenal.so.1`___lldb_unnamed_symbol750$$libopenal.so.1 + 24
    frame #3: 0x000000080322f7cc libopenal.so.1`___lldb_unnamed_symbol30$$libopenal.so.1 + 108
    frame #4: 0x000000080323000b libopenal.so.1`___lldb_unnamed_symbol33$$libopenal.so.1 + 43
    frame #5: 0x0000000803a90736 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 326
  thread #4, name = 'knights'
    frame #0: 0x0000000802f1517a libc.so.7`_kevent + 10
    frame #1: 0x0000000803a937e3 libthr.so.3`___lldb_unnamed_symbol52$$libthr.so.3 + 83
    frame #2: 0x0000000803bb9b55 libinotify.so.0`___lldb_unnamed_symbol71$$libinotify.so.0 + 101
    frame #3: 0x0000000803a90736 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 326
  thread #5, name = 'llvmpipe-0'
    frame #0: 0x0000000803a9eedc libthr.so.3`___lldb_unnamed_symbol190$$libthr.so.3 + 92
    frame #1: 0x0000000803a9c512 libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 482
    frame #2: 0x000000080b482cab swrast_dri.so`___lldb_unnamed_symbol12682$$swrast_dri.so + 203
    frame #3: 0x000000080b482d79 swrast_dri.so`___lldb_unnamed_symbol12683$$swrast_dri.so + 25
    frame #4: 0x0000000803a90736 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 326
  thread #6, name = 'llvmpipe-1'
    frame #0: 0x0000000803a9eedc libthr.so.3`___lldb_unnamed_symbol190$$libthr.so.3 + 92
    frame #1: 0x0000000803a9c512 libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 482
    frame #2: 0x000000080b482cab swrast_dri.so`___lldb_unnamed_symbol12682$$swrast_dri.so + 203
    frame #3: 0x000000080b482d79 swrast_dri.so`___lldb_unnamed_symbol12683$$swrast_dri.so + 25
    frame #4: 0x0000000803a90736 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 326
  thread #7, name = 'llvmpipe-2'
    frame #0: 0x0000000803a9eedc libthr.so.3`___lldb_unnamed_symbol190$$libthr.so.3 + 92
    frame #1: 0x0000000803a9c512 libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 482
    frame #2: 0x000000080b482cab swrast_dri.so`___lldb_unnamed_symbol12682$$swrast_dri.so + 203
    frame #3: 0x000000080b482d79 swrast_dri.so`___lldb_unnamed_symbol12683$$swrast_dri.so + 25
    frame #4: 0x0000000803a90736 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 326
  thread #8, name = 'llvmpipe-3'
    frame #0: 0x0000000803a9eedc libthr.so.3`___lldb_unnamed_symbol190$$libthr.so.3 + 92
    frame #1: 0x0000000803a9c512 libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 482
    frame #2: 0x000000080b482cab swrast_dri.so`___lldb_unnamed_symbol12682$$swrast_dri.so + 203
    frame #3: 0x000000080b482d79 swrast_dri.so`___lldb_unnamed_symbol12683$$swrast_dri.so + 25
    frame #4: 0x0000000803a90736 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 326
  thread #9, name = 'knights'
    frame #0: 0x0000000802f2cdfa libc.so.7`__sys_read + 10
    frame #1: 0x0000000803a93326 libthr.so.3`___lldb_unnamed_symbol40$$libthr.so.3 + 54
    frame #2: 0x00000008045e608f libglib-2.0.so.0`___lldb_unnamed_symbol312$$libglib-2.0.so.0 + 63
    frame #3: 0x000000080459d3c4 libglib-2.0.so.0`g_main_context_check + 164
    frame #4: 0x000000080459db82 libglib-2.0.so.0`___lldb_unnamed_symbol117$$libglib-2.0.so.0 + 514
    frame #5: 0x000000080459dc54 libglib-2.0.so.0`g_main_context_iteration + 100
    frame #6: 0x0000000802cbba5b libQt5Core.so.5`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 123
    frame #7: 0x0000000802c5db2e libQt5Core.so.5`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 494
    frame #8: 0x0000000802a7b730 libQt5Core.so.5`QThread::exec() + 160
    frame #9: 0x0000000802a7c731 libQt5Core.so.5`___lldb_unnamed_symbol209$$libQt5Core.so.5 + 241
    frame #10: 0x0000000803a90736 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 326

Possible duplicates by query: bug 425658, bug 425629, bug 425619, bug 425334, bug 425228.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2020-08-23 16:56:21 UTC
Adriaan is this something you could have a look at?
Comment 2 Alexander Semke 2020-11-01 09:27:39 UTC
The problem must be somewhere in the frames 10 and 11 of the first thread where the drag&drop event is handled. The subsequent call of the destructor of an (invalid?) QObject seems to trigger the crash. I don't see anything that is obviously wrong in the code here.  

Samuel, is it possible for you to compile in the debug mode on FreeBSD and to try reproduce this issue again? I'd like to see the exact symbols in the frames 10 and 11. Thank you.
Comment 3 Justin Zobel 2022-10-30 00:40:22 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-11-14 05:16:14 UTC
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
mark the bug 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!
Comment 5 Bug Janitor Service 2022-11-29 05:19:58 UTC
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!