Bug 327800 - Crash if game closed while starting next round
Summary: Crash if game closed while starting next round
Status: RESOLVED DUPLICATE of bug 301568
Alias: None
Product: kjumpingcube
Classification: Applications
Component: general (show other bugs)
Version: 1.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Ian Wadham
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 09:26 UTC by Ian Hawthorn
Modified: 2013-11-19 13:16 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 Ian Hawthorn 2013-11-19 09:26:01 UTC
Application: kjumpingcube (1.2)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-57-generic x86_64
Distribution: Ubuntu 12.04.3 LTS

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

1.  Playing as second player (computer as first) on 10x10 expert
2.  After winning game I click to close the "you have won" window.
3. Then click to close the game window.
4. Game crashes instead of closing.

With computer as first player as soon as you close the "you have won" window, it starts up a new game.  The crash is triggered if you try to close before the computer (as first player) finishes its first move. It is very easy to trigger this when playing as second player because you usually will want to close after completing a game which is very likely to trigger the crash.

-- Backtrace:
Application: KJumpingCube (kjumpingcube), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb870655780 (LWP 2809))]

Thread 3 (Thread 0x7fb85c726700 (LWP 2812)):
#0  0x00007fb86d485a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb8698daff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb8698db45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb85c72b98b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fb8698fc9b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb86a19fe9a in start_thread (arg=0x7fb85c726700) at pthread_create.c:308
#6  0x00007fb86d4913fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb85bb1a700 (LWP 2813)):
#0  0x00007fb86d485a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb8698daff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb8698db45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb86387d5e6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fb8698fc9b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb86a19fe9a in start_thread (arg=0x7fb85bb1a700) at pthread_create.c:308
#6  0x00007fb86d4913fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb870655780 (LWP 2809)):
[KCrash Handler]
#6  0x000000000040fa96 in checkComputerplayer (player=CubeBoxBase<KCubeWidget>::One, this=0x1a926b0) at ../../kjumpingcube/kcubeboxwidget.cpp:399
#7  KCubeBoxWidget::checkComputerplayer (this=0x1a926b0, player=CubeBoxBase<KCubeWidget>::One) at ../../kjumpingcube/kcubeboxwidget.cpp:376
#8  0x000000000040c26b in KJumpingCube::showWinner (this=0x1a8f040, player=2) at ../../kjumpingcube/kjumpingcube.cpp:264
#9  0x00007fb86ebb6281 in QMetaObject::activate (sender=0x1a926b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd9795f60) at kernel/qobject.cpp:3547
#10 0x000000000040f8bf in KCubeBoxWidget::playerWon (this=<optimized out>, _t1=2) at ./kcubeboxwidget.moc:155
#11 0x000000000040fceb in KCubeBoxWidget::nextLoopStep (this=0x1a926b0) at ../../kjumpingcube/kcubeboxwidget.cpp:772
#12 0x00007fb86ebb6281 in QMetaObject::activate (sender=0x1b3d270, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#13 0x00007fb86ebbb179 in QObject::event (this=0x1b3d270, e=<optimized out>) at kernel/qobject.cpp:1157
#14 0x00007fb86df24894 in notify_helper (e=0x7fffd9796740, receiver=0x1b3d270, this=0x18713b0) at kernel/qapplication.cpp:4559
#15 QApplicationPrivate::notify_helper (this=0x18713b0, receiver=0x1b3d270, e=0x7fffd9796740) at kernel/qapplication.cpp:4531
#16 0x00007fb86df29713 in QApplication::notify (this=0x7fffd9796a20, receiver=0x1b3d270, e=0x7fffd9796740) at kernel/qapplication.cpp:4420
#17 0x00007fb86f85f3f6 in KApplication::notify (this=0x7fffd9796a20, receiver=0x1b3d270, event=0x7fffd9796740) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007fb86eba1e9c in QCoreApplication::notifyInternal (this=0x7fffd9796a20, receiver=0x1b3d270, event=0x7fffd9796740) at kernel/qcoreapplication.cpp:876
#19 0x00007fb86ebd31f2 in sendEvent (event=0x7fffd9796740, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=0x1871db0) at kernel/qeventdispatcher_unix.cpp:611
#21 0x00007fb86ebd0c0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#22 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#23 0x00007fb86ebd0c31 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#24 0x00007fb8698dad13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fb8698db060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fb8698db124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fb86ebd13bf in QEventDispatcherGlib::processEvents (this=0x1845be0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0x00007fb86dfccd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007fb86eba0c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007fb86eba0ed7 in QEventLoop::exec (this=0x7fffd97969b0, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007fb86eba5f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#32 0x000000000040a33f in main (argc=3, argv=0x7fffd9796d18) at ../../kjumpingcube/main.cpp:60

Possible duplicates by query: bug 301568.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-19 13:16:57 UTC
Try KDE SC 4.9

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