Bug 305000 - ksirk crashing random times
Summary: ksirk crashing random times
Status: RESOLVED DUPLICATE of bug 304362
Alias: None
Product: ksirk
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gaël de Chalendar (aka Kleag)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-12 06:57 UTC by Steve
Modified: 2012-10-13 22:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.00 KB, text/plain)
2012-09-25 08:21 UTC, Steve
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve 2012-08-12 06:57:09 UTC
Application: ksirk (4.8.4 (4.8.4))
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-virtual x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Was closing application this time. But also get random crashed at different parts of game. From starting to quiting, and everywhere in between.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KsirK (ksirk), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7feab5c41780 (LWP 7224))]

Thread 3 (Thread 0x7fea9f7d7700 (LWP 7225)):
#0  0x00007feab1a2c0bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007feaae7858cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feaae74aba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feaae74afd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feaae74b49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fea9f7e498b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#6  0x00007feaae76c9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007feaaf6cee9a in start_thread (arg=0x7fea9f7d7700) at pthread_create.c:308
#8  0x00007feab1a394bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fea9efd6700 (LWP 7226)):
#0  0x00007feab1a2db03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007feaae74b036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feaae74b49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feaa60d4406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007feaae76c9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007feaaf6cee9a in start_thread (arg=0x7fea9efd6700) at pthread_create.c:308
#6  0x00007feab1a394bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7feab5c41780 (LWP 7224)):
[KCrash Handler]
#6  0x00007feab23ad5dd in QObject::~QObject (this=0x204ac80, __in_chrg=<optimized out>) at kernel/qobject.cpp:820
#7  0x00007feab23ade69 in QObject::~QObject (this=0x204ac80, __in_chrg=<optimized out>) at kernel/qobject.cpp:940
#8  0x00007feab42cb2a6 in qDeleteAll<QList<KPlayer*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#9  qDeleteAll<QList<KPlayer*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#10 KGame::deletePlayers (this=<optimized out>) at ../../libkdegames/kgame/kgame.cpp:140
#11 0x00007feab42ce159 in KGame::reset (this=0xb3fc00) at ../../libkdegames/kgame/kgame.cpp:132
#12 0x00007feab42ce1aa in KGame::~KGame (this=0xb3fc00, __in_chrg=<optimized out>) at ../../libkdegames/kgame/kgame.cpp:123
#13 0x000000000042af42 in Ksirk::GameLogic::GameAutomaton::~GameAutomaton (this=0xb3fc00, __in_chrg=<optimized out>) at ../../../ksirk/ksirk/GameLogic/gameautomaton.cpp:200
#14 0x000000000042b199 in Ksirk::GameLogic::GameAutomaton::~GameAutomaton (this=0xb3fc00, __in_chrg=<optimized out>) at ../../../ksirk/ksirk/GameLogic/gameautomaton.cpp:204
#15 0x00000000004484bc in Ksirk::KGameWindow::~KGameWindow (this=0xb3d3b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../ksirk/ksirk/kgamewin.cpp:339
#16 0x0000000000448a59 in Ksirk::KGameWindow::~KGameWindow (this=0xb3d3b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../ksirk/ksirk/kgamewin.cpp:353
#17 0x00007feab23ae478 in QObject::event (this=0xb3d3b0, e=<optimized out>) at kernel/qobject.cpp:1176
#18 0x00007feab2ddfb7b in QWidget::event (this=0xb3d3b0, event=0x49d0f00) at kernel/qwidget.cpp:8821
#19 0x00007feab31b9c4b in QMainWindow::event (this=0xb3d3b0, event=0x49d0f00) at widgets/qmainwindow.cpp:1478
#20 0x00007feab3bc54d8 in KXmlGuiWindow::event (this=0xb3d3b0, ev=0x49d0f00) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#21 0x00007feab2d8f894 in notify_helper (e=0x49d0f00, receiver=0xb3d3b0, this=0x8d3240) at kernel/qapplication.cpp:4559
#22 QApplicationPrivate::notify_helper (this=0x8d3240, receiver=0xb3d3b0, e=0x49d0f00) at kernel/qapplication.cpp:4531
#23 0x00007feab2d94713 in QApplication::notify (this=0x7fff154bcfb0, receiver=0xb3d3b0, e=0x49d0f00) at kernel/qapplication.cpp:4420
#24 0x00007feab3ac99e6 in KApplication::notify (this=0x7fff154bcfb0, receiver=0xb3d3b0, event=0x49d0f00) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007feab2394e9c in QCoreApplication::notifyInternal (this=0x7fff154bcfb0, receiver=0xb3d3b0, event=0x49d0f00) at kernel/qcoreapplication.cpp:876
#26 0x00007feab2398c6a in sendEvent (event=0x49d0f00, receiver=0xb3d3b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x887380) at kernel/qcoreapplication.cpp:1500
#28 0x00007feab23c3f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#30 0x00007feaae74ad53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007feaae74b0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007feaae74b164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007feab23c43bf in QEventDispatcherGlib::processEvents (this=0x888be0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007feab2e37d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007feab2393c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007feab2393ed7 in QEventLoop::exec (this=0x7fff154bcf20, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007feab2398f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#38 0x0000000000423598 in main (argc=4, argv=0x7fff154bd428) at ../../../ksirk/ksirk/main.cpp:75

Reported using DrKonqi
Comment 1 Steve 2012-09-25 08:21:38 UTC
Created attachment 74157 [details]
New crash information added by DrKonqi

ksirk (4.8.5 (4.8.5)) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

Was closing game.

1) Hit "Ctrl - Q" 
2) clicked "No" when it asked if I want to save game
3) Crash report

-- Backtrace (Reduced):
#7  0x00007ff479a652a6 in qDeleteAll<QList<KPlayer*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KPlayer*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KGame::deletePlayers (this=<optimized out>) at ../../libkdegames/kgame/kgame.cpp:140
#10 0x00007ff479a68159 in KGame::reset (this=0x2714f70) at ../../libkdegames/kgame/kgame.cpp:132
#11 0x00007ff479a681aa in KGame::~KGame (this=0x2714f70, __in_chrg=<optimized out>) at ../../libkdegames/kgame/kgame.cpp:123
Comment 2 Gaël de Chalendar (aka Kleag) 2012-10-13 22:28:35 UTC
Just fixed bug #304362 of which this one is a duplicate, at least for the crashes when finishing a game. If other crashes occur, feel free to open new bug reports with adequate stack traces.

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