Bug 303142

Summary: Ksirk crash when we exit
Product: [Applications] ksirk Reporter: lajon <marc.lajon>
Component: generalAssignee: Gaël de Chalendar (aka Kleag) <kleagg>
Status: RESOLVED DUPLICATE    
Severity: crash CC: gekapes, kde-games-bugs, philippe.rannou
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description lajon 2012-07-07 10:16:51 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-26-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: just playing and listening songs with Clementine Mozzila opened. Plateform Ubuntu 12.04 lts 32bits

The crash does not seem to be reproducible.

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

Thread 3 (Thread 0xb205fb40 (LWP 8570)):
#0  0xb5731810 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xb5715392 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4f10a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4f030ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4f0356b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2064134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0xb4f266b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb508dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5723ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb15ffb40 (LWP 8571)):
#0  0xb4f0269b in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb4f02faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb4f0356b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2dbd1ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0xb4f266b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb508dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5723ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb45f8980 (LWP 8568)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0xb6f600f6 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=0x9ab19c0) at ../../libkdegames/kgame/kgame.cpp:140
#11 0xb6f63462 in KGame::reset (this=0x9ab19c0) at ../../libkdegames/kgame/kgame.cpp:132
#12 0xb6f634e1 in KGame::~KGame (this=0x9ab19c0, __in_chrg=<optimized out>) at ../../libkdegames/kgame/kgame.cpp:123
#13 0x0806bb37 in Ksirk::GameLogic::GameAutomaton::~GameAutomaton (this=0x9ab19c0, __in_chrg=<optimized out>) at ../../../ksirk/ksirk/GameLogic/gameautomaton.cpp:200
#14 0x0806bd50 in Ksirk::GameLogic::GameAutomaton::~GameAutomaton (this=0x9ab19c0, __in_chrg=<optimized out>) at ../../../ksirk/ksirk/GameLogic/gameautomaton.cpp:204
#15 0x0808a5ef in Ksirk::KGameWindow::~KGameWindow (this=0x9ab02a8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../ksirk/ksirk/kgamewin.cpp:339
#16 0x0808aad0 in Ksirk::KGameWindow::~KGameWindow (this=0x9ab02a8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../ksirk/ksirk/kgamewin.cpp:353
#17 0xb5a71d03 in qDeleteInEventHandler (o=0x9ab02a8) at kernel/qobject.cpp:4277
#18 0xb5a78ca8 in QObject::event (this=0x9ab02a8, e=0xb0f19a0) at kernel/qobject.cpp:1176
#19 0xb6025e62 in QWidget::event (this=0x9ab02a8, event=0xb0f19a0) at kernel/qwidget.cpp:8821
#20 0xb64612cc in QMainWindow::event (this=0x9ab02a8, event=0xb0f19a0) at widgets/qmainwindow.cpp:1478
#21 0xb6c2cc04 in KMainWindow::event (this=0x9ab02a8, ev=0xb0f19a0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#22 0xb6c760e2 in KXmlGuiWindow::event (this=0x9ab02a8, ev=0xb0f19a0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#23 0xb5fcbed4 in notify_helper (e=0xb0f19a0, receiver=0x9ab02a8, this=0x98fcbb0) at kernel/qapplication.cpp:4559
#24 QApplicationPrivate::notify_helper (this=0x98fcbb0, receiver=0x9ab02a8, e=0xb0f19a0) at kernel/qapplication.cpp:4531
#25 0xb5fd13a2 in QApplication::notify (this=0x98fcbb0, receiver=0x9ab02a8, e=0xb0f19a0) at kernel/qapplication.cpp:4524
#26 0xb6b51401 in KApplication::notify (this=0xbff634e4, receiver=0x9ab02a8, event=0xb0f19a0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0xb5a5d97e in QCoreApplication::notifyInternal (this=0xbff634e4, receiver=0x9ab02a8, event=0xb0f19a0) at kernel/qcoreapplication.cpp:876
#28 0xb5a61ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x98bda98) at kernel/qcoreapplication.cpp:1500
#30 0xb5a61e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#31 0xb5a90494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=0x98fcfb8) at kernel/qeventdispatcher_glib.cpp:279
#33 0xb4f02d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb4f03125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb4f03201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0xb5a90887 in QEventDispatcherGlib::processEvents (this=0x98be7e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0xb6084aaa in QGuiEventDispatcherGlib::processEvents (this=0x98be7e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0xb5a5c50d in QEventLoop::processEvents (this=0xbff63424, flags=...) at kernel/qeventloop.cpp:149
#39 0xb5a5c7a9 in QEventLoop::exec (this=0xbff63424, flags=...) at kernel/qeventloop.cpp:204
#40 0xb5a61eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#41 0xb5fc9a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#42 0x08063b1a in main (argc=0, argv=0x0) at ../../../ksirk/ksirk/main.cpp:75

Reported using DrKonqi
Comment 1 philippe.rannou 2012-09-23 21:43:09 UTC
Created attachment 74122 [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:
nothing paticuliar, just exiting after finishing the game

-- Backtrace (Reduced):
#7  0x00007f43dad922a6 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 0x00007f43dad95159 in KGame::reset (this=0x20836d0) at ../../libkdegames/kgame/kgame.cpp:132
#11 0x00007f43dad951aa in KGame::~KGame (this=0x20836d0, __in_chrg=<optimized out>) at ../../libkdegames/kgame/kgame.cpp:123
Comment 2 Yevheniy 2012-09-30 21:39:10 UTC
Created attachment 74257 [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: closed the program, when playing. Kubuntu 12.04.1 64bit

-- Backtrace (Reduced):
#7  0x00007f27739f12a6 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 0x00007f27739f4159 in KGame::reset (this=0x121c6d0) at ../../libkdegames/kgame/kgame.cpp:132
#11 0x00007f27739f41aa in KGame::~KGame (this=0x121c6d0, __in_chrg=<optimized out>) at ../../libkdegames/kgame/kgame.cpp:123
Comment 3 Gaël de Chalendar (aka Kleag) 2012-10-13 22:32:03 UTC

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