Bug 328283 - Knights (gnuchess) crashes when going back in moves. twice)
Summary: Knights (gnuchess) crashes when going back in moves. twice)
Status: RESOLVED DUPLICATE of bug 310017
Alias: None
Product: knights
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.5.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Miha Čančula
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-12-01 14:28 UTC by stakanov
Modified: 2013-12-01 15:27 UTC (History)
1 user (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 stakanov 2013-12-01 14:28:16 UTC
Application: knights (2.5.0)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.11.6-4-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I was taking back two stages of moves in order to try alternatives. 
- Unusual behavior I noticed:
Suddent crash of the application (but not at once, only after having tried back and forth twice. What was also important: had a heavy systemload in the moment of the crash du to a backup, this might cause the system itself to be less responsive as usual to the requests of the application. 
- Custom settings of the application:
Black and white outfit (I think it is standard) and at least 6 different engines installed. The one that crashed was gnuchess in minimal difficulty - a shame I know, lol.

-- Backtrace:
Application: Knights (knights), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2309f5f880 (LWP 26771))]

Thread 2 (Thread 0x7f22ed0fe700 (LWP 26784)):
#0  0x00007f23062fc99d in read () from /lib64/libc.so.6
#1  0x00007f22fd988580 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f22fd9490ec in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f22fd94955b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f22fd9496cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f2307cc5d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f2307c97d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f2307c98005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007f2307b96fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007f2307c79513 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f2307b9968f in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f23046cb0db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f230630990d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2309f5f880 (LWP 26771)):
[KCrash Handler]
#6  Knights::Piece::pieceType (this=0x0) at /usr/src/debug/knights-2.5.0/src/core/piece.cpp:187
#7  0x0000000000438efd in Knights::ChessRules::changeNotation (this=0x229b300, move=0x7fff4d9550a0, notation=Knights::Move::Algebraic, color=Knights::White) at /usr/src/debug/knights-2.5.0/src/rules/chessrules.cpp:784
#8  0x000000000043563a in Knights::ChessRules::checkSpecialFlags (this=0x229b300, move=0x7fff4d9550a0, color=Knights::White) at /usr/src/debug/knights-2.5.0/src/rules/chessrules.cpp:371
#9  0x0000000000446c0b in Knights::Manager::processMove (this=this@entry=0x20e1870, move=...) at /usr/src/debug/knights-2.5.0/src/gamemanager.cpp:822
#10 0x0000000000446d51 in Knights::Manager::moveByProtocol (this=0x20e1870, move=...) at /usr/src/debug/knights-2.5.0/src/gamemanager.cpp:454
#11 0x000000000041b2f9 in Knights::Manager::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/knights-2.5.0/build/src/moc_gamemanager.cpp:116
#12 0x00007f2307cacd68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x000000000041ac10 in Knights::Protocol::pieceMoved (this=this@entry=0x247f1f0, _t1=...) at /usr/src/debug/knights-2.5.0/build/src/moc_protocol.cpp:227
#14 0x0000000000427c63 in Knights::XBoardProtocol::parseLine (this=0x247f1f0, line=...) at /usr/src/debug/knights-2.5.0/src/proto/xboardprotocol.cpp:160
#15 0x00000000004281b1 in Knights::XBoardProtocol::parseLine (this=<optimized out>, line=...) at /usr/src/debug/knights-2.5.0/src/proto/xboardprotocol.cpp:114
#16 0x00000000004265fd in Knights::XBoardProtocol::parseStub (this=<optimized out>, line=...) at /usr/src/debug/knights-2.5.0/src/proto/xboardprotocol.cpp:109
#17 0x0000000000420650 in Knights::TextProtocol::readFromDevice (this=0x247f1f0) at /usr/src/debug/knights-2.5.0/src/proto/textprotocol.cpp:54
#18 0x00007f2307cacd68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007f2307c2e6d3 in ?? () from /usr/lib64/libQtCore.so.4
#20 0x00007f2307c317de in ?? () from /usr/lib64/libQtCore.so.4
#21 0x00007f2307cacd68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#22 0x00007f2307cf7dce in QSocketNotifier::activated(int) () from /usr/lib64/libQtCore.so.4
#23 0x00007f2307cb5b4b in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#24 0x00007f2306db98ac in QApplicationPrivate::notify_helper (this=this@entry=0x1f18bd0, receiver=receiver@entry=0x237dfa0, e=e@entry=0x7fff4d9559c0) at kernel/qapplication.cpp:4562
#25 0x00007f2306dbfe70 in QApplication::notify (this=this@entry=0x7fff4d955d10, receiver=receiver@entry=0x237dfa0, e=e@entry=0x7fff4d9559c0) at kernel/qapplication.cpp:4348
#26 0x00007f230997418a in KApplication::notify (this=0x7fff4d955d10, receiver=0x237dfa0, event=0x7fff4d9559c0) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#27 0x00007f2307c990ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#28 0x00007f2307cc69b0 in ?? () from /usr/lib64/libQtCore.so.4
#29 0x00007f22fd9492d6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f22fd949628 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f22fd9496cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f2307cc5d55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007f2306e56936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f2307c97d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007f2307c98005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x00007f2307c9d13b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#37 0x00007f2306db806c in QApplication::exec () at kernel/qapplication.cpp:3823
#38 0x00000000004198e7 in main (argc=5, argv=0x7fff4d955e48) at /usr/src/debug/knights-2.5.0/src/main.cpp:79

The reporter indicates this bug may be a duplicate of or related to bug 310017.

Possible duplicates by query: bug 327000, bug 326779, bug 325310, bug 310017.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-12-01 15:27:27 UTC

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