Bug 299791 - Konquest Crashes when starting a new game after loosing the previous game
Summary: Konquest Crashes when starting a new game after loosing the previous game
Status: RESOLVED DUPLICATE of bug 296290
Alias: None
Product: konquest
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Pierre Ducroquet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 02:34 UTC by Jeff Shapiro
Modified: 2013-04-04 16:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.69 KB, text/plain)
2012-10-25 10:14 UTC, Ben
Details
New crash information added by DrKonqi (8.41 KB, text/plain)
2013-04-04 16:18 UTC, ciprianlnro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Shapiro 2012-05-11 02:34:55 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-24-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I had set the neutral planet production to 3.  I had lost that game and clicked "new" to start another.  Konquest immediatly crashed.

- Custom settings of the application:
neutral planet production to 3
4 computer players all set to hard

-- 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 0xb4d12980 (LWP 3516))]

Thread 3 (Thread 0xb2748b40 (LWP 3519)):
#0  0xb7781424 in __kernel_vsyscall ()
#1  0xb5f5c380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5576a3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb556906e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb556952b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb35e0134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0xb558c673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb563ad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5f6aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb1dffb40 (LWP 3520)):
#0  0xb7781424 in __kernel_vsyscall ()
#1  0xb5f5c380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5576a3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb556906e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb556952b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb34dc0ea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb558c673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb563ad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5f6aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4d12980 (LWP 3516)):
[KCrash Handler]
#7  MapScene::getSectorSize (this=0x950f2a0) at ../../konquest/map/mapscene.cc:192
#8  0x080621b8 in PlanetItem::boundingRect (this=0x96a4bc0) at ../../konquest/map/mapitems.cc:77
#9  0xb6f0228d in QGraphicsItemPrivate::effectiveBoundingRect (this=0x96c4c68, topMostEffectItem=0x0) at graphicsview/qgraphicsitem.cpp:2857
#10 0xb6f02432 in QGraphicsItemPrivate::sceneEffectiveBoundingRect (this=0x96c4c68) at graphicsview/qgraphicsitem.cpp:2908
#11 0xb6f399d8 in _q_updateIndex (this=0x950f4e8) at graphicsview/qgraphicsscenebsptreeindex.cpp:175
#12 QGraphicsSceneBspTreeIndexPrivate::_q_updateIndex (this=0x950f4e8) at graphicsview/qgraphicsscenebsptreeindex.cpp:120
#13 0xb6f39c88 in QGraphicsSceneBspTreeIndex::event (this=0x94a05a0, event=0xbf8bc4dc) at graphicsview/qgraphicsscenebsptreeindex.cpp:704
#14 0xb6870ed4 in notify_helper (e=0xbf8bc4dc, receiver=0x94a05a0, this=0x89e1be0) at kernel/qapplication.cpp:4559
#15 QApplicationPrivate::notify_helper (this=0x89e1be0, receiver=0x94a05a0, e=0xbf8bc4dc) at kernel/qapplication.cpp:4531
#16 0xb687630d in QApplication::notify (this=0xbf8bc4dc, receiver=0x94a05a0, e=0xbf8bc4dc) at kernel/qapplication.cpp:4288
#17 0xb750db21 in KApplication::notify (this=0xbf8bd804, receiver=0x94a05a0, event=0xbf8bc4dc) at ../../kdeui/kernel/kapplication.cpp:311
#18 0xb62b397e in QCoreApplication::notifyInternal (this=0xbf8bd804, receiver=0x94a05a0, event=0xbf8bc4dc) at kernel/qcoreapplication.cpp:876
#19 0xb62e8990 in sendEvent (event=0xbf8bc4dc, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=0x89e0bac) at kernel/qeventdispatcher_unix.cpp:611
#21 0xb62e60f8 in timerSourceDispatch (source=0x89e0b78) at kernel/qeventdispatcher_glib.cpp:186
#22 timerSourceDispatch (source=0x89e0b78) at kernel/qeventdispatcher_glib.cpp:180
#23 0xb62e6132 in idleTimerSourceDispatch (source=0x89e2ca8) at kernel/qeventdispatcher_glib.cpp:233
#24 0xb5568cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb55690e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb55691c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb62e6887 in QEventDispatcherGlib::processEvents (this=0x89c1798, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0xb6929aaa in QGuiEventDispatcherGlib::processEvents (this=0x89c1798, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0xb62b250d in QEventLoop::processEvents (this=0xbf8bc760, flags=...) at kernel/qeventloop.cpp:149
#30 0xb62b27a9 in QEventLoop::exec (this=0xbf8bc760, flags=...) at kernel/qeventloop.cpp:204
#31 0xb6dc30c9 in QDialog::exec (this=0x8e90070) at dialogs/qdialog.cpp:554
#32 0x0805e10e in GameView::startNewGame (this=0x94ee148) at ../../konquest/gameview.cc:452
#33 0xb62ca6b1 in QMetaObject::activate (sender=0x8b999a0, m=0xb71e83f8, local_signal_index=1, argv=0xbf8bc8b8) at kernel/qobject.cpp:3547
#34 0xb68699bd in QAction::triggered (this=0x8b999a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#35 0xb6869c5b in QAction::activate (this=0x8b999a0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#36 0xb6d76400 in trigger (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#37 QToolButton::nextCheckState (this=0x8f10928) at widgets/qtoolbutton.cpp:1144
#38 0xb6c9dc47 in QAbstractButtonPrivate::click (this=0x8f0f8b0) at widgets/qabstractbutton.cpp:530
#39 0xb6c9df46 in QAbstractButton::mouseReleaseEvent (this=0x8f10928, e=0xbf8bcfb4) at widgets/qabstractbutton.cpp:1123
#40 0xb6d7649d in QToolButton::mouseReleaseEvent (this=0x8f10928, e=0xbf8bcfb4) at widgets/qtoolbutton.cpp:718
#41 0xb68cb1ac in QWidget::event (this=0x8f10928, event=0xbf8bcfb4) at kernel/qwidget.cpp:8362
#42 0xb6c9d1e9 in QAbstractButton::event (this=0x8f10928, e=0xbf8bcfb4) at widgets/qabstractbutton.cpp:1082
#43 0xb6d77bcc in QToolButton::event (this=0x8f10928, event=0xbf8bcfb4) at widgets/qtoolbutton.cpp:1160
#44 0xb6870ed4 in notify_helper (e=0xbf8bcfb4, receiver=0x8f10928, this=0x89e1be0) at kernel/qapplication.cpp:4559
#45 QApplicationPrivate::notify_helper (this=0x89e1be0, receiver=0x8f10928, e=0xbf8bcfb4) at kernel/qapplication.cpp:4531
#46 0xb6877024 in QApplication::notify (this=0x89e1be0, receiver=0x8f10928, e=0xbf8bcfb4) at kernel/qapplication.cpp:4102
#47 0xb750db21 in KApplication::notify (this=0xbf8bd804, receiver=0x8f10928, event=0xbf8bcfb4) at ../../kdeui/kernel/kapplication.cpp:311
#48 0xb62b397e in QCoreApplication::notifyInternal (this=0xbf8bd804, receiver=0x8f10928, event=0xbf8bcfb4) at kernel/qcoreapplication.cpp:876
#49 0xb6871e95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QApplicationPrivate::sendMouseEvent (receiver=0x8f10928, event=0xbf8bcfb4, alienWidget=0x8f10928, nativeWidget=0x8da29d8, buttonDown=0xb7205cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#51 0xb68fe074 in QETWidget::translateMouseEvent (this=0x8da29d8, event=0xbf8bd46c) at kernel/qapplication_x11.cpp:4617
#52 0xb68fcc0d in QApplication::x11ProcessEvent (this=0xbf8bd804, event=0xbf8bd46c) at kernel/qapplication_x11.cpp:3732
#53 0xb6929eac in x11EventSourceDispatch (s=0x89e1a20, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0xb5568cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb55690e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0xb55691c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0xb62e6887 in QEventDispatcherGlib::processEvents (this=0x89c1798, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#58 0xb6929aaa in QGuiEventDispatcherGlib::processEvents (this=0x89c1798, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb62b250d in QEventLoop::processEvents (this=0xbf8bd764, flags=...) at kernel/qeventloop.cpp:149
#60 0xb62b27a9 in QEventLoop::exec (this=0xbf8bd764, flags=...) at kernel/qeventloop.cpp:204
#61 0xb62b7eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#62 0xb686ea74 in QApplication::exec () at kernel/qapplication.cpp:3820
#63 0x08055e9e in main (argc=0, argv=0x0) at ../../konquest/Konquest.cc:58

This bug may be a duplicate of or related to bug 296290.

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

Reported using DrKonqi
Comment 1 Jeff Shapiro 2012-05-11 02:37:24 UTC
The game version is 2.1 (not available on the drop down).  
KDE dev platform 4.8.2
Comment 2 Jeff Shapiro 2012-05-11 02:45:14 UTC
I can reproduce this bug by loosing a game.  The neutral planet production that I mentioned earlier does not seem to make a difference.
Comment 3 Jekyll Wu 2012-07-05 21:29:57 UTC

*** This bug has been marked as a duplicate of bug 296290 ***
Comment 4 Ben 2012-10-25 10:14:15 UTC
Created attachment 74790 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I won a game and started a new one, konquest crashed 3 times in a row like this.
I have 3 computer players(2 hard, one normal) and one human, 12 * 6 grid with 2 neutral planets.

******N.B.******
Just tried it 3 more times, the crash occures regardless of whether I start a new game or not, i.e. after winning and pressing the "OK" button on the Final Standings screen the gui remains responsive for 4-5 seconds the quits abnomally.

I am running 32bit ubuntu 12.04, on intel i7 based machine.

-- Backtrace (Reduced):
#7  MapScene::getSectorSize (this=0x97337d0) at ../../konquest/map/mapscene.cc:192
#8  0x08062188 in PlanetItem::boundingRect (this=0x9739900) at ../../konquest/map/mapitems.cc:77
#9  0xb6f5829d in QGraphicsItemPrivate::effectiveBoundingRect (this=0x991d9f0, topMostEffectItem=0x0) at graphicsview/qgraphicsitem.cpp:2857
#10 0xb6f58442 in QGraphicsItemPrivate::sceneEffectiveBoundingRect (this=0x991d9f0) at graphicsview/qgraphicsitem.cpp:2908
#11 0xb6f8f9e8 in _q_updateIndex (this=0x9733a00) at graphicsview/qgraphicsscenebsptreeindex.cpp:175
Comment 5 ciprianlnro 2013-04-04 16:18:30 UTC
Created attachment 78636 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

After loosing a game and trying to start a new one, the application crashed on the "Start New Game" screen, when trying to set the type of a player.

-- Backtrace (Reduced):
#6  MapScene::getSectorSize (this=0x246dc50) at ../../konquest/map/mapscene.cc:192
#7  0x000000000041ce15 in PlanetItem::boundingRect (this=0x24ed350) at ../../konquest/map/mapitems.cc:77
#8  0x00007f778e430c7b in QGraphicsItemPrivate::effectiveBoundingRect (this=0x280ba30, topMostEffectItem=0x0) at graphicsview/qgraphicsitem.cpp:2857
#9  0x00007f778e430dd2 in QGraphicsItemPrivate::sceneEffectiveBoundingRect (this=<optimized out>) at graphicsview/qgraphicsitem.cpp:2908
#10 0x00007f778e465128 in _q_updateIndex (this=0x246dfb0) at graphicsview/qgraphicsscenebsptreeindex.cpp:175