Bug 211967 - Bad behavior on closing (Computer vs. Computer) [QProcess::readChannel, QProcess::readAllStandardOutput, Kigo::Game::waitResponse]
Summary: Bad behavior on closing (Computer vs. Computer) [QProcess::readChannel, QProc...
Status: RESOLVED FIXED
Alias: None
Product: kigo
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Sascha Peilicke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-26 20:07 UTC by Johannes Obermayr
Modified: 2009-10-27 20:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Obermayr 2009-10-26 20:07:57 UTC
Application: kigo (v0.5.5)
KDE Version: 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091015)) "release 2" (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.31.3-1-pae i686
Distribution: "openSUSE 11.2 RC 1 (i586)"

What I was doing when the application crashed:
If you "do" a Computer vs. Computer game there is a very bad behavior on end of game:

Moves docker:
flood of messages

"Finish Game" in Main-Toolbar blinks all time...

"%1 has won this game with a score of %2." appears/disappears also all time.

After closing this crash occurs...

I know it is stupid to do a "Computer vs. Computer" game. But as a free time translator you do not have unlimited time...

 -- Backtrace:
Application: Kigo (kigo), signal: Segmentation fault
[KCrash Handler]
#6  0xb6ecdfa7 in QProcess::readChannel (this=0x8136658) at io/qprocess.cpp:1193
#7  0xb6ed238e in QProcess::readAllStandardOutput (this=0x8136658) at io/qprocess.cpp:1824
#8  0x080559db in Kigo::Game::waitResponse (this=0x8136650, nonBlocking=true) at /usr/src/packages/BUILD/kigo/kigo/src/game/game.cpp:686
#9  0x08058a80 in Kigo::Game::generateMove (this=0x8136650, player=..., undoable=true) at /usr/src/packages/BUILD/kigo/kigo/src/game/game.cpp:347
#10 0x0805d383 in Kigo::MainWindow::generateMove (this=0x8136068) at /usr/src/packages/BUILD/kigo/kigo/src/gui/mainwindow.cpp:371
#11 0x080605e5 in Kigo::MainWindow::qt_metacall (this=0x8136068, _c=InvokeMetaMethod, _id=62, _a=0xbfc337ac) at /usr/src/packages/BUILD/kigo/kigo/src/moc_mainwindow.cpp:110
#12 0xb6f3ec7d in QMetaObject::metacall (object=0x8136068, cl=InvokeMetaMethod, idx=62, argv=0xbfc337ac) at kernel/qmetaobject.cpp:237
#13 0xb6f4dda6 in QMetaObject::activate (sender=0x84e9be8, m=0xb704d1a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3391
#14 0xb6f55725 in QSingleShotTimer::timeout (this=0x84e9be8) at .moc/release-shared/qtimer.moc:82
#15 0xb6f5585c in QSingleShotTimer::timerEvent (this=0x84e9be8) at kernel/qtimer.cpp:308
#16 0xb6f4a4c4 in QObject::event (this=0x84e9be8, e=0x808ab40) at kernel/qobject.cpp:1202
#17 0xb642271c in QApplicationPrivate::notify_helper (this=0x80870b0, receiver=0x84e9be8, e=0xbfc33c74) at kernel/qapplication.cpp:4242
#18 0xb64295fd in QApplication::notify (this=0xbfc33fc0, receiver=0x84e9be8, e=0x80870b0) at kernel/qapplication.cpp:4207
#19 0xb7632881 in KApplication::notify (this=0xbfc33fc0, receiver=0x84e9be8, event=0xbfc33c74) at /usr/src/debug/kdelibs-4.3.72svn1035674/kdeui/kernel/kapplication.cpp:302
#20 0xb6f3991e in QCoreApplication::notifyInternal (this=0xbfc33fc0, receiver=0x84e9be8, event=0xbfc33c74) at kernel/qcoreapplication.cpp:704
#21 0xb6f69aee in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:617
#23 0xb6f66785 in timerSourceDispatch (source=0x808ab00) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=0x808ab00) at kernel/qeventdispatcher_glib.cpp:231
#25 0xb58f04c2 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#26 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#27 0xb58f3d98 in g_main_context_iterate (context=0x8089498, block=<value optimized out>, dispatch=1, self=0x8087208) at gmain.c:2591
#28 0xb58f3ebe in IA__g_main_context_iteration (context=0x8089498, may_block=1) at gmain.c:2654
#29 0xb6f66421 in QEventDispatcherGlib::processEvents (this=0x8087090, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#30 0xb64d894a in QGuiEventDispatcherGlib::processEvents (this=0x8087090, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#31 0xb6f37fcd in QEventLoop::processEvents (this=0xbfc33f24, flags=) at kernel/qeventloop.cpp:149
#32 0xb6f38419 in QEventLoop::exec (this=0xbfc33f24, flags=...) at kernel/qeventloop.cpp:201
#33 0xb6f3c550 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0xb64227c4 in QApplication::exec () at kernel/qapplication.cpp:3581
#35 0x080705b1 in main (argc=5, argv=0xbfc340f4) at /usr/src/packages/BUILD/kigo/kigo/src/main.cpp:62

Reported using DrKonqi
Comment 1 Sascha Peilicke 2009-10-27 20:34:09 UTC
Thanks, fixed in revision 1041319.