Bug 326779 - Knights crashes when trying to use phalanx chess engine
Summary: Knights crashes when trying to use phalanx chess engine
Status: RESOLVED DUPLICATE of bug 310017
Alias: None
Product: knights
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.5.0
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Miha Čančula
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-28 12:06 UTC by KD
Modified: 2013-10-29 01:05 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 KD 2013-10-28 12:06:16 UTC
Application: knights (2.5.0)
KDE Platform Version: 4.10.5
Qt Version: 4.8.6
Operating System: Linux 3.10-3-686-pae i686
Distribution: Debian GNU/Linux testing (jessie)

-- Information about the crash:
- What I was doing when the application crashed:
Everytime I go to New Game-Configure Engines-Phalanx, a new game starts, but the application crashes within 10 seconds. I have manually installed Phalanx engine.  I don't have this problem with other manually installed engines like Stockfish, Toga2 etc 
- Custom settings of the application:
Manually installed and added Phalanx engine after going through Settings-Configure Knights-Computer Engines-Add

The crash can be reproduced every time.

-- Backtrace:
Application: Knights (knights), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1ed2740 (LWP 7460))]

Thread 3 (Thread 0xad511b40 (LWP 7463)):
#0  0xb7764424 in __kernel_vsyscall ()
#1  0xb32c3b93 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250
#2  0xb585a304 in __pthread_cond_timedwait (cond=0x8a6c480, mutex=0x8a6c468, abstime=0xad511228) at forward.c:162
#3  0xb5b1dfb3 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb5b10992 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xb5b1da4f in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb32bfcf1 in start_thread (arg=0xad511b40) at pthread_create.c:311
#7  0xb584d08e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xacbffb40 (LWP 7464)):
#0  0xb7764424 in __kernel_vsyscall ()
#1  0xb32c3b93 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250
#2  0xb585a304 in __pthread_cond_timedwait (cond=0x8a6c480, mutex=0x8a6c468, abstime=0xacbff228) at forward.c:162
#3  0xb5b1dfb3 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb5b10992 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xb5b1da4f in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb32bfcf1 in start_thread (arg=0xacbffb40) at pthread_create.c:311
#7  0xb584d08e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb1ed2740 (LWP 7460)):
[KCrash Handler]
#6  0x08061014 in Knights::Piece::pieceType (this=0x0) at /build/knights-rqDIKS/knights-2.5.0/src/core/piece.cpp:187
#7  0x0807b899 in Knights::ChessRules::changeNotation (this=0x8a6d0f8, move=0xbf9ea898, notation=Knights::Move::Algebraic, color=Knights::White) at /build/knights-rqDIKS/knights-2.5.0/src/rules/chessrules.cpp:784
#8  0x080781f0 in Knights::ChessRules::checkSpecialFlags (this=0x8a6d0f8, move=0xbf9ea898, color=Knights::White) at /build/knights-rqDIKS/knights-2.5.0/src/rules/chessrules.cpp:371
#9  0x0808ad49 in Knights::Manager::processMove (this=this@entry=0x880c858, move=...) at /build/knights-rqDIKS/knights-2.5.0/src/gamemanager.cpp:822
#10 0x0808aebd in Knights::Manager::moveByProtocol (this=0x880c858, move=...) at /build/knights-rqDIKS/knights-2.5.0/src/gamemanager.cpp:454
#11 0x0805c9f7 in Knights::Manager::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/knights-rqDIKS/knights-2.5.0/obj-i486-linux-gnu/src/moc_gamemanager.cpp:116
#12 0xb5c45825 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0x0805c197 in Knights::Protocol::pieceMoved (this=0x88018f8, _t1=...) at /build/knights-rqDIKS/knights-2.5.0/obj-i486-linux-gnu/src/moc_protocol.cpp:227
#14 0x0806a065 in Knights::XBoardProtocol::parseLine (this=0x88018f8, line=...) at /build/knights-rqDIKS/knights-2.5.0/src/proto/xboardprotocol.cpp:160
#15 0x080688a7 in Knights::XBoardProtocol::parseStub (this=0x88018f8, line=...) at /build/knights-rqDIKS/knights-2.5.0/src/proto/xboardprotocol.cpp:109
#16 0x08062328 in Knights::TextProtocol::readFromDevice (this=0x88018f8) at /build/knights-rqDIKS/knights-2.5.0/src/proto/textprotocol.cpp:54
#17 0xb5c45825 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#18 0xb5c93585 in QIODevice::readyRead() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#19 0xb5bbd224 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#20 0xb5bc003b in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#21 0xb5c45825 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#22 0xb5c95d25 in QSocketNotifier::activated(int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#23 0xb5c4ecaf in QSocketNotifier::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#24 0xb61988b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb619f3b3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0xb750a554 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0xb5c3071a in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#28 0xb5c60f98 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#29 0xb302542e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0xb30257d8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb3025898 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb5c6021f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#33 0xb6249dae in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#34 0xb5c2f163 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#35 0xb5c2f489 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#36 0xb5c350fe in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#37 0xb6196d44 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#38 0x0805ad26 in main (argc=1, argv=0xbf9eb364) at /build/knights-rqDIKS/knights-2.5.0/src/main.cpp:79

Possible duplicates by query: bug 325310, bug 310017.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-28 14:28:52 UTC

*** This bug has been marked as a duplicate of bug 310017 ***
Comment 2 KD 2013-10-28 18:13:59 UTC
How can this be a dublicate of bug 310017? They aren't really the same. One is about crashing when undoing and redoing, and another about crashing when a certain engine is used.
Comment 3 Jekyll Wu 2013-10-29 01:05:44 UTC
The backtrace is the one that really counts, and they are the same.