Bug 286282

Summary: Konquest crashed while creating a new game with 8 players
Product: [Applications] konquest Reporter: Peter von Kleinsmid <pvk>
Component: generalAssignee: Pierre Ducroquet <pinaraf>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andrew.crouthamel, kde-games-bugs-null
Priority: NOR    
Version First Reported In: 2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Peter von Kleinsmid 2011-11-10 17:17:30 UTC
Application: konquest (2.0)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I started a new game.

- Custom settings of the application:
 It had 22 neutral planets, 8 empire planets, 1 human and 7 computer. Two of the computers were red, three had custom names.

-- Backtrace:
Application: Konquest (konquest), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f758cfd5780 (LWP 3097))]

Thread 2 (Thread 0x7f75812e7700 (LWP 3099)):
#0  0x00007f758a3d4f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7587a68104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7587a689f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7581c46c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f7587a8f3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7587f33d8c in start_thread (arg=0x7f75812e7700) at pthread_create.c:304
#6  0x00007f758a3e204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f758cfd5780 (LWP 3097)):
[KCrash Handler]
#6  0x000000000041be3d in PlanetItem::paint (this=0x17bf840, p=0x7fff886ce3c0) at ../../konquest/mapitems.cc:267
#7  0x00007f758bf9416b in QGraphicsScenePrivate::draw (this=0x13be080, item=0x17bf850, painter=0x7fff886ce3c0, viewTransform=0x0, transformPtr=0x1869770, exposedRegion=0x1534b80, widget=0x13c8320, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4960
#8  0x00007f758bf94c55 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x13be080, item=0x17bf850, painter=0x7fff886ce3c0, viewTransform=0x0, exposedRegion=0x1534b80, widget=0x13c8320, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#9  0x00007f758bf95484 in QGraphicsScenePrivate::drawItems (this=0x13be080, painter=0x7fff886ce3c0, viewTransform=0x0, exposedRegion=0x1534b80, widget=0x13c8320) at graphicsview/qgraphicsscene.cpp:4735
#10 0x00007f758bfb22c2 in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3469
#11 0x00007f758b9dec7a in QWidget::event (this=0x13c0b40, event=0x7fff886cece0) at kernel/qwidget.cpp:8405
#12 0x00007f758bd91156 in QFrame::event (this=0x13c0b40, e=0x7fff886cece0) at widgets/qframe.cpp:557
#13 0x00007f758bfb357b in QGraphicsView::viewportEvent (this=0x13c0b40, event=0x7fff886cece0) at graphicsview/qgraphicsview.cpp:2864
#14 0x00007f758ad76627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x13c8320, event=0x7fff886cece0) at kernel/qcoreapplication.cpp:846
#15 0x00007f758b98d9c1 in QApplicationPrivate::notify_helper (this=0x112e9b0, receiver=0x13c8320, e=0x7fff886cece0) at kernel/qapplication.cpp:4458
#16 0x00007f758b9923ba in QApplication::notify (this=<value optimized out>, receiver=0x13c8320, e=0x7fff886cece0) at kernel/qapplication.cpp:4341
#17 0x00007f758c9d66c6 in KApplication::notify (this=0x7fff886d2dc0, receiver=0x13c8320, event=0x7fff886cece0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f758ad7649c in QCoreApplication::notifyInternal (this=0x7fff886d2dc0, receiver=0x13c8320, event=0x7fff886cece0) at kernel/qcoreapplication.cpp:731
#19 0x00007f758b9dbacd in sendSpontaneousEvent (this=0x13bf360, pdev=0x160f648, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1622aa0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#20 QWidgetPrivate::drawWidget (this=0x13bf360, pdev=0x160f648, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1622aa0) at kernel/qwidget.cpp:5492
#21 0x00007f758b9dc6e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x15346f0, pdev=0x160f648, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1622aa0) at kernel/qwidget.cpp:5699
#22 0x00007f758b9db80c in QWidgetPrivate::drawWidget (this=0x15346f0, pdev=0x160f648, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1622aa0) at kernel/qwidget.cpp:5545
#23 0x00007f758b9dc6e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x13bb870, pdev=0x160f648, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1622aa0) at kernel/qwidget.cpp:5699
#24 0x00007f758b9db80c in QWidgetPrivate::drawWidget (this=0x13bb870, pdev=0x160f648, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1622aa0) at kernel/qwidget.cpp:5545
#25 0x00007f758b9dc6e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x136fc90, pdev=0x160f648, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1622aa0) at kernel/qwidget.cpp:5699
#26 0x00007f758b9db80c in QWidgetPrivate::drawWidget (this=0x136fc90, pdev=0x160f648, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1622aa0) at kernel/qwidget.cpp:5545
#27 0x00007f758bba29eb in QWidgetBackingStore::sync (this=0x1622aa0) at painting/qbackingstore.cpp:1333
#28 0x00007f758b9d1f60 in QWidgetPrivate::syncBackingStore (this=0x136fc90) at kernel/qwidget.cpp:1842
#29 0x00007f758b9df194 in QWidget::event (this=0x1372ef0, event=0x1ba5710) at kernel/qwidget.cpp:8552
#30 0x00007f758bdaac0b in QMainWindow::event (this=0x1372ef0, event=0x1ba5710) at widgets/qmainwindow.cpp:1480
#31 0x00007f758cad1afe in KXmlGuiWindow::event (this=0x1372ef0, ev=0x1ba5710) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#32 0x00007f758b98d9f4 in QApplicationPrivate::notify_helper (this=0x112e9b0, receiver=0x1372ef0, e=0x1ba5710) at kernel/qapplication.cpp:4462
#33 0x00007f758b9923ba in QApplication::notify (this=<value optimized out>, receiver=0x1372ef0, e=0x1ba5710) at kernel/qapplication.cpp:4341
#34 0x00007f758c9d66c6 in KApplication::notify (this=0x7fff886d2dc0, receiver=0x1372ef0, event=0x1ba5710) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f758ad7649c in QCoreApplication::notifyInternal (this=0x7fff886d2dc0, receiver=0x1372ef0, event=0x1ba5710) at kernel/qcoreapplication.cpp:731
#36 0x00007f758ad79c25 in sendEvent (receiver=0x0, event_type=0, data=0x10deb60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10deb60) at kernel/qcoreapplication.cpp:1372
#38 0x00007f758ada1253 in sendPostedEvents (s=0x1132160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=0x1132160) at kernel/qeventdispatcher_glib.cpp:277
#40 0x00007f7587a67bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f7587a683a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f7587a68639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f758ada13ef in QEventDispatcherGlib::processEvents (this=0x10de340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007f758ba374de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f758ad75882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f758ad75abc in QEventLoop::exec (this=0x7fff886d0a00, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007f758be4efd6 in QDialog::exec (this=0x13a85b0) at dialogs/qdialog.cpp:552
#48 0x00007f758c9448ba in KMessageBox::createKMessageBox (dialog=0x13a85b0, icon=<value optimized out>, text=..., strlist=<value optimized out>, ask=..., checkboxReturn=0x7fff886d109f, options=..., details=..., notifyType=QMessageBox::Information) at ../../kdeui/dialogs/kmessagebox.cpp:337
#49 0x00007f758c9450cb in KMessageBox::createKMessageBox (dialog=0x13a85b0, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0x7fff886d109f, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:152
#50 0x00007f758c947f3e in KMessageBox::informationListWId (parent_id=62914838, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:998
#51 0x00007f758c9480af in KMessageBox::informationList (parent=<value optimized out>, text=..., strlist=..., caption=..., dontShowAgainName=<value optimized out>, options=<value optimized out>) at ../../kdeui/dialogs/kmessagebox.cpp:969
#52 0x00007f758c948100 in KMessageBox::information (parent=<value optimized out>, text=<value optimized out>, caption=<value optimized out>, dontShowAgainName=<value optimized out>, options=<value optimized out>) at ../../kdeui/dialogs/kmessagebox.cpp:956
#53 0x0000000000418a57 in GameView::gameMsg (this=0x13bb7b0, msg=<value optimized out>, player=0x1b2ee00, planet=<value optimized out>, planetPlayer=0x0) at ../../konquest/gameview.cc:487
#54 0x0000000000419bb9 in GameView::qt_metacall (this=0x13bb7b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff886d14f0) at ./gameview.moc:109
#55 0x00007f758ad8b5f8 in QMetaObject::activate (sender=0x12e6780, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff886d14f0) at kernel/qobject.cpp:3287
#56 0x0000000000410f13 in GameLogic::gameMsg (this=<value optimized out>, _t1=<value optimized out>, _t2=0x1b2ee00, _t3=0x0, _t4=0x0) at ./gamelogic.moc:122
#57 0x00000000004117eb in GameLogic::scanForSurvivors (this=0x12e6780) at ../../konquest/gamelogic.cc:180
#58 0x0000000000411b16 in GameLogic::nextTurn (this=0x12e6780) at ../../konquest/gamelogic.cc:67
#59 0x0000000000411df8 in GameLogic::startNewGame (this=0x12e6780) at ../../konquest/gamelogic.cc:292
#60 0x000000000041907d in GameView::startNewGame (this=0x13bb7b0) at ../../konquest/gameview.cc:527
#61 0x0000000000419c2c in GameView::qt_metacall (this=0x13bb7b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff886d17b0) at ./gameview.moc:100
#62 0x00007f758ad8b5f8 in QMetaObject::activate (sender=0x1626b70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff886d17b0) at kernel/qobject.cpp:3287
#63 0x00007f758b987122 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#64 0x00007f758b98730f in QAction::activate (this=0x1626b70, event=<value optimized out>) at kernel/qaction.cpp:1257
#65 0x00007f758bd5046a in QAbstractButtonPrivate::click (this=0x1699440) at widgets/qabstractbutton.cpp:528
#66 0x00007f758bd5071c in QAbstractButton::mouseReleaseEvent (this=0x16a80c0, e=0x7fff886d2100) at widgets/qabstractbutton.cpp:1121
#67 0x00007f758be0c9ba in QToolButton::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qtoolbutton.cpp:721
#68 0x00007f758b9decc8 in QWidget::event (this=0x16a80c0, event=0x7fff886d2100) at kernel/qwidget.cpp:8259
#69 0x00007f758b98d9f4 in QApplicationPrivate::notify_helper (this=0x112e9b0, receiver=0x16a80c0, e=0x7fff886d2100) at kernel/qapplication.cpp:4462
#70 0x00007f758b992dc3 in QApplication::notify (this=<value optimized out>, receiver=0x16a80c0, e=0x7fff886d2100) at kernel/qapplication.cpp:4023
#71 0x00007f758c9d66c6 in KApplication::notify (this=0x7fff886d2dc0, receiver=0x16a80c0, event=0x7fff886d2100) at ../../kdeui/kernel/kapplication.cpp:311
#72 0x00007f758ad7649c in QCoreApplication::notifyInternal (this=0x7fff886d2dc0, receiver=0x16a80c0, event=0x7fff886d2100) at kernel/qcoreapplication.cpp:731
#73 0x00007f758b98ea1d in sendEvent (receiver=0x16a80c0, event=0x7fff886d2100, alienWidget=0x16a80c0, nativeWidget=0x1697830, buttonDown=0x7f758c471218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#74 QApplicationPrivate::sendMouseEvent (receiver=0x16a80c0, event=0x7fff886d2100, alienWidget=0x16a80c0, nativeWidget=0x1697830, buttonDown=0x7f758c471218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#75 0x00007f758ba10190 in QETWidget::translateMouseEvent (this=0x1697830, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#76 0x00007f758ba0eab7 in QApplication::x11ProcessEvent (this=0x7fff886d2dc0, event=0x7fff886d2a50) at kernel/qapplication_x11.cpp:3680
#77 0x00007f758ba37842 in x11EventSourceDispatch (s=0x1133150, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#78 0x00007f7587a67bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007f7587a683a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007f7587a68639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007f758ada13ef in QEventDispatcherGlib::processEvents (this=0x10de340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#82 0x00007f758ba374de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#83 0x00007f758ad75882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#84 0x00007f758ad75abc in QEventLoop::exec (this=0x7fff886d2d50, flags=...) at kernel/qeventloop.cpp:201
#85 0x00007f758ad79ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#86 0x0000000000410d3f in main (argc=3, argv=<value optimized out>) at ../../konquest/Konquest.cc:58

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-10-29 22:39:19 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Peter von Kleinsmid 2018-10-30 07:18:44 UTC
I tried four times to reproduce the problem using version 4:17.12.3-0ubuntu2

It was also a different version of Ubuntu, and a different computer.

I did not see the problem this time.
Comment 3 Peter von Kleinsmid 2018-10-30 07:21:16 UTC
Commenting again to set the status to REPORTED, as requested.
Comment 4 Andrew Crouthamel 2018-10-30 13:12:44 UTC
Thanks for the update!