Bug 298171

Summary: Crash when starting new game
Product: [Applications] konquest Reporter: Jeroen Vermeulen <jtv>
Component: generalAssignee: Pierre Ducroquet <pinaraf>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, kde-games-bugs, laughton.andrew
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

Description Jeroen Vermeulen 2012-04-15 09:18:51 UTC
Application: konquest (2.1)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic-pae i686
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
Still crashing on Ubuntu 12.04 every time I start a new game after finishing the previous one.

The crash can be reproduced every time.

-- Backtrace:
Application: Konquest (konquest), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4c7c980 (LWP 26960))]

Thread 3 (Thread 0xb267db40 (LWP 26963)):
#0  0xb76ee424 in __kernel_vsyscall ()
#1  0xb5ec6380 in __GI___poll (fds=0xb1d00c78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb54e0a8b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb54d306e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb54d352b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb3523134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0xb54f66c3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb55a4d4c in start_thread (arg=0xb267db40) at pthread_create.c:308
#8  0xb5ed4ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb1cffb40 (LWP 26964)):
#0  0xb76ee424 in __kernel_vsyscall ()
#1  0xb5ec6380 in __GI___poll (fds=0xb1302398, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb54e0a8b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb54d306e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb54d352b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb341c0ea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb54f66c3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb55a4d4c in start_thread (arg=0xb1cffb40) at pthread_create.c:308
#8  0xb5ed4ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4c7c980 (LWP 26960)):
[KCrash Handler]
#7  MapScene::getSectorSize (this=0x9e20948) at ../../konquest/map/mapscene.cc:192
#8  0x080621b8 in PlanetItem::boundingRect (this=0xa026090) at ../../konquest/map/mapitems.cc:77
#9  0xb6e6c28d in QGraphicsItemPrivate::effectiveBoundingRect (this=0xa2f2a40, topMostEffectItem=0x0) at graphicsview/qgraphicsitem.cpp:2857
#10 0xb6e6c432 in QGraphicsItemPrivate::sceneEffectiveBoundingRect (this=0xa2f2a40) at graphicsview/qgraphicsitem.cpp:2908
#11 0xb6ea39d8 in _q_updateIndex (this=0x9e20b78) at graphicsview/qgraphicsscenebsptreeindex.cpp:175
#12 QGraphicsSceneBspTreeIndexPrivate::_q_updateIndex (this=0x9e20b78) at graphicsview/qgraphicsscenebsptreeindex.cpp:120
#13 0xb6ea3c88 in QGraphicsSceneBspTreeIndex::event (this=0x9aeb8d0, event=0xbf8b0a4c) at graphicsview/qgraphicsscenebsptreeindex.cpp:704
#14 0xb67daed4 in notify_helper (e=0xbf8b0a4c, receiver=0x9aeb8d0, this=0x98b8d10) at kernel/qapplication.cpp:4559
#15 QApplicationPrivate::notify_helper (this=0x98b8d10, receiver=0x9aeb8d0, e=0xbf8b0a4c) at kernel/qapplication.cpp:4531
#16 0xb67e030d in QApplication::notify (this=0xbf8b0a4c, receiver=0x9aeb8d0, e=0xbf8b0a4c) at kernel/qapplication.cpp:4288
#17 0xb7477b21 in KApplication::notify (this=0xbf8b2d64, receiver=0x9aeb8d0, event=0xbf8b0a4c) at ../../kdeui/kernel/kapplication.cpp:311
#18 0xb621d97e in QCoreApplication::notifyInternal (this=0xbf8b2d64, receiver=0x9aeb8d0, event=0xbf8b0a4c) at kernel/qcoreapplication.cpp:876
#19 0xb6252990 in sendEvent (event=0xbf8b0a4c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=0x98b755c) at kernel/qeventdispatcher_unix.cpp:611
#21 0xb62500f8 in timerSourceDispatch (source=0x98b7528) at kernel/qeventdispatcher_glib.cpp:186
#22 timerSourceDispatch (source=0x98b7528) at kernel/qeventdispatcher_glib.cpp:180
#23 0xb6250132 in idleTimerSourceDispatch (source=0x98b7330) at kernel/qeventdispatcher_glib.cpp:233
#24 0xb54d2cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb54d30e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb54d31c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb6250887 in QEventDispatcherGlib::processEvents (this=0x98b79a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0xb6893aaa in QGuiEventDispatcherGlib::processEvents (this=0x98b79a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0xb621c50d in QEventLoop::processEvents (this=0xbf8b0cd0, flags=...) at kernel/qeventloop.cpp:149
#30 0xb621c7a9 in QEventLoop::exec (this=0xbf8b0cd0, flags=...) at kernel/qeventloop.cpp:204
#31 0xb6d2d0c9 in QDialog::exec (this=0xa534fe8) at dialogs/qdialog.cpp:554
#32 0x0805de9e in GameView::gameOver (this=0xa1381d8) at ../../konquest/gameview.cc:512
#33 0xb62346b1 in QMetaObject::activate (sender=0xa1b38c0, m=0x806dc4c, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3547
#34 0x08056fe7 in Game::finished (this=0xa1b38c0) at moc_game.cpp:126
#35 0x08058a61 in Game::findWinner (this=0xa1b38c0) at ../../konquest/game.cpp:201
#36 0x0806ce0b in NeutralPlayer::play (this=0xa11dec8) at ../../konquest/players/neutralplayer.cpp:63
#37 0x0806d13d in Player::onEntry (this=0xa11dec8, event=0xa534228) at ../../konquest/players/player.cpp:50
#38 0xb626c65a in QAbstractStatePrivate::callOnEntry (this=0xa024198, e=0xa534228) at statemachine/qabstractstate.cpp:110
#39 0xb626744d in QStateMachinePrivate::enterStates (this=0x9c643e8, event=0xa534228, enabledTransitions=...) at statemachine/qstatemachine.cpp:515
#40 0xb626830d in QStateMachinePrivate::microstep (this=0x9c643e8, event=0xa534228, enabledTransitions=...) at statemachine/qstatemachine.cpp:375
#41 0xb626596d in QStateMachinePrivate::_q_process (this=0x9c643e8) at statemachine/qstatemachine.cpp:1287
#42 0xb6268c10 in QStateMachinePrivate::_q_start (this=0x9c643e8) at statemachine/qstatemachine.cpp:1233
#43 0xb6268dcb in QStateMachine::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qstatemachine.cpp:78
#44 0xb622fc01 in QMetaCallEvent::placeMetaCall (this=0x9c69078, object=0xa1b38e0) at kernel/qobject.cpp:525
#45 0xb6238c7b in QObject::event (this=0xa1b38e0, e=0x9c69078) at kernel/qobject.cpp:1195
#46 0xb626c8a3 in QAbstractState::event (this=0xa1b38e0, e=0x9c69078) at statemachine/qabstractstate.cpp:210
#47 0xb626d41b in QState::event (this=0xa1b38e0, e=0x9c69078) at statemachine/qstate.cpp:499
#48 0xb6265f8e in QStateMachine::event (this=0xa1b38e0, e=0x9c69078) at statemachine/qstatemachine.cpp:2075
#49 0xb67daed4 in notify_helper (e=0x9c69078, receiver=0xa1b38e0, this=0x98b8d10) at kernel/qapplication.cpp:4559
#50 QApplicationPrivate::notify_helper (this=0x98b8d10, receiver=0xa1b38e0, e=0x9c69078) at kernel/qapplication.cpp:4531
#51 0xb67e030d in QApplication::notify (this=0x9c69078, receiver=0xa1b38e0, e=0x9c69078) at kernel/qapplication.cpp:4288
#52 0xb7477b21 in KApplication::notify (this=0xbf8b2d64, receiver=0xa1b38e0, event=0x9c69078) at ../../kdeui/kernel/kapplication.cpp:311
#53 0xb621d97e in QCoreApplication::notifyInternal (this=0xbf8b2d64, receiver=0xa1b38e0, event=0x9c69078) at kernel/qcoreapplication.cpp:876
#54 0xb6221ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9897c18) at kernel/qcoreapplication.cpp:1500
#56 0xb6221e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#57 0xb6250494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#58 postEventSourceDispatch (s=0x98b78b8) at kernel/qeventdispatcher_glib.cpp:279
#59 0xb54d2cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#60 0xb54d30e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#61 0xb54d31c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb6250887 in QEventDispatcherGlib::processEvents (this=0x98b79a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#63 0xb6893aaa in QGuiEventDispatcherGlib::processEvents (this=0x98b79a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0xb62220a3 in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1063
#65 0x08059030 in LocalGame::start (this=0xa1b38c0) at ../../konquest/localgame.cpp:34
#66 0x0805e245 in GameView::startNewGame (this=0xa1381d8) at ../../konquest/gameview.cc:468
#67 0xb62346b1 in QMetaObject::activate (sender=0x9a74840, m=0xb71523f8, local_signal_index=1, argv=0xbf8b1a88) at kernel/qobject.cpp:3547
#68 0xb67d39bd in QAction::triggered (this=0x9a74840, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#69 0xb67d3c5b in QAction::activate (this=0x9a74840, event=QAction::Trigger) at kernel/qaction.cpp:1257
#70 0xb67d3df0 in QAction::event (this=0x1, e=0x9e20948) at kernel/qaction.cpp:1183
#71 0xb7371aff in KAction::event (this=0x9a74840, event=0xbf8b1f68) at ../../kdeui/actions/kaction.cpp:131
#72 0xb67daed4 in notify_helper (e=0xbf8b1f68, receiver=0x9a74840, this=0x98b8d10) at kernel/qapplication.cpp:4559
#73 QApplicationPrivate::notify_helper (this=0x98b8d10, receiver=0x9a74840, e=0xbf8b1f68) at kernel/qapplication.cpp:4531
#74 0xb67e030d in QApplication::notify (this=0xbf8b1f68, receiver=0x9a74840, e=0xbf8b1f68) at kernel/qapplication.cpp:4288
#75 0xb7477b21 in KApplication::notify (this=0xbf8b2d64, receiver=0x9a74840, event=0xbf8b1f68) at ../../kdeui/kernel/kapplication.cpp:311
#76 0xb621d97e in QCoreApplication::notifyInternal (this=0xbf8b2d64, receiver=0x9a74840, event=0xbf8b1f68) at kernel/qcoreapplication.cpp:876
#77 0xb68135f7 in sendEvent (event=0xbf8b1f68, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#78 QShortcutMap::dispatchEvent (this=0x98b8db8, e=0xbf8b23a4) at kernel/qshortcutmap.cpp:879
#79 0xb6814bd5 in QShortcutMap::tryShortcutEvent (this=0x98b8db8, o=0x9a5fd90, e=0xbf8b23a4) at kernel/qshortcutmap.cpp:364
#80 0xb67e21ec in QApplication::notify (this=0x9a5fd90, receiver=0x9a5fd90, e=0xbf8b23a4) at kernel/qapplication.cpp:3983
#81 0xb7477b21 in KApplication::notify (this=0xbf8b2d64, receiver=0x9a5fd90, event=0xbf8b23a4) at ../../kdeui/kernel/kapplication.cpp:311
#82 0xb621d97e in QCoreApplication::notifyInternal (this=0xbf8b2d64, receiver=0x9a5fd90, event=0xbf8b23a4) at kernel/qcoreapplication.cpp:876
#83 0xb67d8ced in sendSpontaneousEvent (event=0xbf8b23a4, receiver=0x9a5fd90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#84 qt_sendSpontaneousEvent (receiver=0x9a5fd90, event=0xbf8b23a4) at kernel/qapplication.cpp:5557
#85 0xb688f401 in QKeyMapper::sendKeyEvent (keyWidget=0x9a5fd90, grab=false, type=QEvent::KeyPress, code=78, modifiers=<error reading variable: Cannot access memory at address 0x1>, text=..., autorepeat=false, count=-1081400412, nativeScanCode=1, nativeVirtualKey=1, nativeModifiers=1) at kernel/qkeymapper_x11.cpp:1866
#86 0xb688f8ab in QKeyMapperPrivate::translateKeyEvent (this=0x98de888, keyWidget=0x9a5fd90, event=0xbf8b29cc, grab=false) at kernel/qkeymapper_x11.cpp:1836
#87 0xb68667b5 in QApplication::x11ProcessEvent (this=0xbf8b2d64, event=0xbf8b29cc) at kernel/qapplication_x11.cpp:3625
#88 0xb6893eac in x11EventSourceDispatch (s=0x98b9f90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#89 0xb54d2cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#90 0xb54d30e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#91 0xb54d31c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#92 0xb6250887 in QEventDispatcherGlib::processEvents (this=0x98b79a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#93 0xb6893aaa in QGuiEventDispatcherGlib::processEvents (this=0x98b79a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#94 0xb621c50d in QEventLoop::processEvents (this=0xbf8b2cc4, flags=...) at kernel/qeventloop.cpp:149
#95 0xb621c7a9 in QEventLoop::exec (this=0xbf8b2cc4, flags=...) at kernel/qeventloop.cpp:204
#96 0xb6221eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#97 0xb67d8a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#98 0x08055e9e in main (argc=0, argv=0x0) at ../../konquest/Konquest.cc:58

Possible duplicates by query: bug 298004, bug 296514, bug 296290, bug 295729, bug 292090.

Reported using DrKonqi
Comment 1 Andrew Laughton 2012-06-04 02:45:39 UTC
Created attachment 71556 [details]
New crash information added by DrKonqi

konquest (2.1) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:
Finish one game, click on OK for viewing the game stats.
All previous game data clears.
Click on new game button, crashes every time.

-- Backtrace (Reduced):
#7  MapScene::getSectorSize (this=0x96664a0) at ../../konquest/map/mapscene.cc:192
#8  0x080621b8 in PlanetItem::boundingRect (this=0x99a3478) at ../../konquest/map/mapitems.cc:77
#9  0xb6eee28d in QGraphicsItemPrivate::effectiveBoundingRect (this=0x968ba18, topMostEffectItem=0x0) at graphicsview/qgraphicsitem.cpp:2857
#10 0xb6eee432 in QGraphicsItemPrivate::sceneEffectiveBoundingRect (this=0x968ba18) at graphicsview/qgraphicsitem.cpp:2908
#11 0xb6f259d8 in _q_updateIndex (this=0x96666d0) at graphicsview/qgraphicsscenebsptreeindex.cpp:175
Comment 2 Jekyll Wu 2012-07-05 21:29:07 UTC

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