Bug 289859 - konquest crashes if clicking on black area in Start New Game dialog
Summary: konquest crashes if clicking on black area in Start New Game dialog
Status: RESOLVED FIXED
Alias: None
Product: konquest
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Pierre Ducroquet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-26 14:19 UTC by Johannes Obermayr
Modified: 2011-12-26 19:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Obermayr 2011-12-26 14:19:35 UTC
Application: konquest (2.1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95) "release 3"
Qt Version: 4.8.0
Operating System: Linux 3.1.0-1.2-desktop i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
If you click on black area of the black box in Start New Game dialog (Game -> New) konquest crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Konquest (konquest), signal: Segmentation fault
[KCrash Handler]
#6  detach (this=0x1) at /usr/include/QtCore/qlist.h:139
#7  operator[] (i=-1, this=0x1) at /usr/include/QtCore/qlist.h:478
#8  sector (coord=<optimized out>, this=<optimized out>) at /usr/src/debug/kdegames-4.7.95/konquest/map/map.h:61
#9  NewGameDlg::slotUpdateSelection (this=0x8504950, coord=...) at /usr/src/debug/kdegames-4.7.95/konquest/dialogs/newgamedlg.cc:439
#10 0xb6db30ef in QMetaObject::activate (sender=0x83db618, m=0x806fb98, local_signal_index=0, argv=0xbfe1e098) at kernel/qobject.cpp:3556
#11 0x08058677 in MiniMapView::sectorSelected (this=0x83db618, _t1=...) at /usr/src/debug/kdegames-4.7.95/build/konquest/moc_minimapview.cpp:98
#12 0x08060727 in MiniMapView::mousePressEvent (this=0x83db618, event=0xbfe1e6a4) at /usr/src/debug/kdegames-4.7.95/konquest/minimapview.cc:78
#13 0xb62df7cb in QWidget::event (this=0x83db618, event=0xbfe1e6a4) at kernel/qwidget.cpp:8357
#14 0xb62852f4 in notify_helper (e=0xbfe1e6a4, receiver=0x83db618, this=0x809cc30) at kernel/qapplication.cpp:4550
#15 QApplicationPrivate::notify_helper (this=0x809cc30, receiver=0x83db618, e=0xbfe1e6a4) at kernel/qapplication.cpp:4522
#16 0xb628b12c in QApplication::notify (this=0x809cc30, receiver=0x83db618, e=0xbfe1e6a4) at kernel/qapplication.cpp:4093
#17 0xb74ef7d1 in KApplication::notify (this=0xbfe20054, receiver=0x83db618, event=0xbfe1e6a4) at /usr/src/debug/kdelibs-4.7.95/kdeui/kernel/kapplication.cpp:311
#18 0xb6d9c88e in QCoreApplication::notifyInternal (this=0xbfe20054, receiver=0x83db618, event=0xbfe1e6a4) at kernel/qcoreapplication.cpp:876
#19 0xb62862b0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#20 QApplicationPrivate::sendMouseEvent (receiver=0x83db618, event=0xbfe1e6a4, alienWidget=0x83db618, nativeWidget=0x8504950, buttonDown=0xb6c16cb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#21 0xb630f474 in QETWidget::translateMouseEvent (this=0x8504950, event=0xbfe1eb5c) at kernel/qapplication_x11.cpp:4505
#22 0xb630e03e in QApplication::x11ProcessEvent (this=0xbfe20054, event=0xbfe1eb5c) at kernel/qapplication_x11.cpp:3631
#23 0xb633950c in x11EventSourceDispatch (s=0x809fac0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#24 0xb54c9e2f in g_main_dispatch (context=0x80a0478) at gmain.c:2425
#25 g_main_context_dispatch (context=0x80a0478) at gmain.c:2995
#26 0xb54ca560 in g_main_context_iterate (context=0x80a0478, block=-1253208240, dispatch=1, self=<optimized out>) at gmain.c:3073
#27 0xb54ca7fa in g_main_context_iteration (context=0x80a0478, may_block=1) at gmain.c:3136
#28 0xb6dcf537 in QEventDispatcherGlib::processEvents (this=0x809ce70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0xb633910a in QGuiEventDispatcherGlib::processEvents (this=0x809ce70, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0xb6d9b3fd in QEventLoop::processEvents (this=0xbfe1ee60, flags=...) at kernel/qeventloop.cpp:149
#31 0xb6d9b699 in QEventLoop::exec (this=0xbfe1ee60, flags=...) at kernel/qeventloop.cpp:204
#32 0xb67d7359 in QDialog::exec (this=0x8504950) at dialogs/qdialog.cpp:552
#33 0x0805f44e in GameView::startNewGame (this=0x81e2a28) at /usr/src/debug/kdegames-4.7.95/konquest/gameview.cc:492
#34 0xb6db30ef in QMetaObject::activate (sender=0x83f69d8, m=0xb6bf93b8, local_signal_index=1, argv=0xbfe1efb8) at kernel/qobject.cpp:3556
#35 0xb627e07d in QAction::triggered (this=0x83f69d8, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#36 0xb627e31b in QAction::activate (this=0x83f69d8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#37 0xb673e7a3 in QMenuPrivate::activateCausedStack (this=0x83ea400, causedStack=..., action=0x83f69d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#38 0xb674563f in QMenuPrivate::activateAction (this=0x83ea400, action=0x83f69d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#39 0xb6748345 in QMenu::mouseReleaseEvent (this=0x8449f18, e=0xbfe1f7f4) at widgets/qmenu.cpp:2351
#40 0xb75cd95c in KMenu::mouseReleaseEvent (this=0x8449f18, e=0xbfe1f7f4) at /usr/src/debug/kdelibs-4.7.95/kdeui/widgets/kmenu.cpp:464
#41 0xb62df807 in QWidget::event (this=0x8449f18, event=0xbfe1f7f4) at kernel/qwidget.cpp:8361
#42 0xb6746dbc in QMenu::event (this=0x8449f18, e=0xbfe1f7f4) at widgets/qmenu.cpp:2460
#43 0xb62852f4 in notify_helper (e=0xbfe1f7f4, receiver=0x8449f18, this=0x809cc30) at kernel/qapplication.cpp:4550
#44 QApplicationPrivate::notify_helper (this=0x809cc30, receiver=0x8449f18, e=0xbfe1f7f4) at kernel/qapplication.cpp:4522
#45 0xb628b12c in QApplication::notify (this=0x809cc30, receiver=0x8449f18, e=0xbfe1f7f4) at kernel/qapplication.cpp:4093
#46 0xb74ef7d1 in KApplication::notify (this=0xbfe20054, receiver=0x8449f18, event=0xbfe1f7f4) at /usr/src/debug/kdelibs-4.7.95/kdeui/kernel/kapplication.cpp:311
#47 0xb6d9c88e in QCoreApplication::notifyInternal (this=0xbfe20054, receiver=0x8449f18, event=0xbfe1f7f4) at kernel/qcoreapplication.cpp:876
#48 0xb62862b0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#49 QApplicationPrivate::sendMouseEvent (receiver=0x8449f18, event=0xbfe1f7f4, alienWidget=0x0, nativeWidget=0x8449f18, buttonDown=0xb6c16cb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#50 0xb630fbaa in QETWidget::translateMouseEvent (this=0x8449f18, event=0xbfe1fcac) at kernel/qapplication_x11.cpp:4439
#51 0xb630e03e in QApplication::x11ProcessEvent (this=0xbfe20054, event=0xbfe1fcac) at kernel/qapplication_x11.cpp:3631
#52 0xb633950c in x11EventSourceDispatch (s=0x809fac0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0xb54c9e2f in g_main_dispatch (context=0x80a0478) at gmain.c:2425
#54 g_main_context_dispatch (context=0x80a0478) at gmain.c:2995
#55 0xb54ca560 in g_main_context_iterate (context=0x80a0478, block=-1253208240, dispatch=1, self=<optimized out>) at gmain.c:3073
#56 0xb54ca7fa in g_main_context_iteration (context=0x80a0478, may_block=1) at gmain.c:3136
#57 0xb6dcf537 in QEventDispatcherGlib::processEvents (this=0x809ce70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#58 0xb633910a in QGuiEventDispatcherGlib::processEvents (this=0x809ce70, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb6d9b3fd in QEventLoop::processEvents (this=0xbfe1ffb4, flags=...) at kernel/qeventloop.cpp:149
#60 0xb6d9b699 in QEventLoop::exec (this=0xbfe1ffb4, flags=...) at kernel/qeventloop.cpp:204
#61 0xb6da08ea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#62 0xb6283164 in QApplication::exec () at kernel/qapplication.cpp:3811
#63 0x0805702e in main (argc=0, argv=0x83db630) at /usr/src/debug/kdegames-4.7.95/konquest/Konquest.cc:58

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-12-26 19:06:07 UTC
SVN commit 1270613 by aacid:

Do not crash when clicking on black space in the miniview of the new game dialog


 M  +11 -1     map.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1270613
Comment 2 Albert Astals Cid 2011-12-26 19:08:25 UTC
SVN commit 1270616 by aacid:

backport r1270613 | aacid | 2011-12-26 20:06:05 +0100 (Mon, 26 Dec 2011) | 3 lines

Do not crash when clicking on black space in the miniview of the new game dialog
FIXED-IN: 4.8.0


 M  +11 -1     map.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1270616