Application: knights (2.5.0) KDE Platform Version: 4.10.5 "release 1" Qt Version: 4.8.4 Operating System: Linux 3.7.10-1.16-desktop x86_64 Distribution: "openSUSE 12.3 (x86_64)" -- Information about the crash: I was playing white against GNU Chess very easy level. After making a move the opponent doesn't move for a long time (from past experience I know it could be hours at least, this is also a bug I guess). I pressed pause, then unpause again, and the program crashed. -- Backtrace: Application: Knights (knights), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [KCrash Handler] #5 Knights::Piece::pieceType (this=0x0) at /usr/src/debug/knights-2.5.0/src/core/piece.cpp:187 #6 0x00000000004374c3 in Knights::ChessRules::moveMade (this=0x28ba8e0, m=...) at /usr/src/debug/knights-2.5.0/src/rules/chessrules.cpp:547 #7 0x00000000004446b4 in Knights::Manager::sendPendingMove (this=this@entry=0x273f090) at /usr/src/debug/knights-2.5.0/src/gamemanager.cpp:697 #8 0x000000000044519e in Knights::Manager::gameOver (this=this@entry=0x273f090, winner=winner@entry=Knights::White) at /usr/src/debug/knights-2.5.0/src/gamemanager.cpp:492 #9 0x00000000004452ed in Knights::Manager::timerEvent (this=0x273f090) at /usr/src/debug/knights-2.5.0/src/gamemanager.cpp:212 #10 0x00007fcd38c475ac in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4 #11 0x00007fcd37d5f86c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #12 0x00007fcd37d63ceb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #13 0x00007fcd3a8eb7f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #14 0x00007fcd38c32d8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #15 0x00007fcd38c63b61 in ?? () from /usr/lib64/libQtCore.so.4 #16 0x00007fcd38c60c54 in ?? () from /usr/lib64/libQtCore.so.4 #17 0x00007fcd38c60c71 in ?? () from /usr/lib64/libQtCore.so.4 #18 0x00007fcd2f2877d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #19 0x00007fcd2f287b08 in ?? () from /usr/lib64/libglib-2.0.so.0 #20 0x00007fcd2f287bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #21 0x00007fcd38c612c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #22 0x00007fcd37dffc1e in ?? () from /usr/lib64/libQtGui.so.4 #23 0x00007fcd38c31adf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #24 0x00007fcd38c31d68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #25 0x00007fcd38c36a08 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #26 0x00000000004198cf in main (argc=1, argv=0x7fff8794fb58) at /usr/src/debug/knights-2.5.0/src/main.cpp:79 Possible duplicates by query: bug 290246. Reported using DrKonqi
Pausing and unpausing works well here with GNU chess. Please give it another try with the current code. There is currently no pause/unpause for UCI-engines. I'll add it soon.