Bug 302144 - Crash on randomizing map
Summary: Crash on randomizing map
Status: RESOLVED DUPLICATE of bug 296290
Alias: None
Product: konquest
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Pierre Ducroquet
URL:
Keywords:
: 304997 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-18 18:32 UTC by Marcel Sondaar
Modified: 2012-08-12 00:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Sondaar 2012-06-18 18:32:19 UTC
Application: konquest (2.1)
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.1-gentoo-r2 x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
To reproduce, I open up the new game dialog, hit random a few times, then play and complete it. I then start a new game. After ~5-15 times of pressing randomize again, the game will crash. 

No other settings have been touched during execution but are loaded from an earlier run. Full game configuration follows for completeness:
1: Human
2: Computer (Hard)
3: Computer (Hard)
10 planets
Map size 12x6
Kill percentage 0.4
Production 10
Blind map enabled
Cumulative production enabled
Production after capture enabled
Neutrals show ships disabled
Neutrals show stats disabled
Neutral production: 1

The crash can be reproduced every time.

-- Backtrace:
Application: Konquest (konquest), signal: Segmentation fault
[KCrash Handler]
#6  0x0000000000420425 in MapScene::getSectorSize (this=0x2c5d1b0) at /var/tmp/portage/kde-base/konquest-4.8.3/work/konquest-4.8.3/konquest/map/mapscene.cc:192
#7  0x0000000000421f19 in PlanetItem::boundingRect (this=0x27377b0) at /var/tmp/portage/kde-base/konquest-4.8.3/work/konquest-4.8.3/konquest/map/mapitems.cc:77
#8  0x00007f0f6f684ff4 in QGraphicsItemPrivate::effectiveBoundingRect(QGraphicsItem*) const () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f0f6f685162 in QGraphicsItemPrivate::sceneEffectiveBoundingRect() const () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f0f6f6c44dc in ?? () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f0f6f6c475a in ?? () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007f0f6f0abe9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007f0f6f0b0a8f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f0f701583a8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007f0f6e42054b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f0f6e452049 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f0f6e44f01d in ?? () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f0f6e44f051 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f0f6ae745fa in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f0f6ae74e08 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f0f6ae74f9f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f0f6e44f75a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f0f6f151f06 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f0f6e41f4f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f0f6e41f7e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f0f6f56a72a in QDialog::exec() () from /usr/lib64/qt4/libQtGui.so.4
#27 0x000000000041b0ae in GameView::startNewGame (this=0x2d16dd0) at /var/tmp/portage/kde-base/konquest-4.8.3/work/konquest-4.8.3/konquest/gameview.cc:452
#28 0x00007f0f6e435ec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f0f6f0a5792 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f0f6f0a5962 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f0f6f46bd5f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f0f6f46bfcc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f0f6f527d8a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f0f6f0fdce7 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007f0f6f0abe9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007f0f6f0b12b2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007f0f701583a8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#38 0x00007f0f6e42054b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007f0f6f0acea2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f0f6f12bf37 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007f0f6f12a601 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007f0f6f152242 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007f0f6ae745fa in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f0f6ae74e08 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f0f6ae74f9f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f0f6e44f75a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#47 0x00007f0f6f151f06 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#48 0x00007f0f6e41f4f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007f0f6e41f7e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007f0f6e423fdb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#51 0x0000000000417bce in main (argc=3, argv=0x7fff061bbfa8) at /var/tmp/portage/kde-base/konquest-4.8.3/work/konquest-4.8.3/konquest/Konquest.cc:58

This bug may be a duplicate of or related to bug 301090, bug 299856, bug 299791.

Possible duplicates by query: bug 301090, bug 299856, bug 299791, bug 298171, bug 298004.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-05 21:27:28 UTC

*** This bug has been marked as a duplicate of bug 296290 ***
Comment 2 Jekyll Wu 2012-08-12 00:51:46 UTC
*** Bug 304997 has been marked as a duplicate of this bug. ***