Bug 196446

Summary: Ksirk krashes with sigsegv 11 after selecting players
Product: [Applications] ksirk Reporter: Borden <borden_c>
Component: generalAssignee: Gaƫl de Chalendar (aka Kleag) <kleagg>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, kde-games-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Borden 2009-06-14 09:34:15 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I tried starting a local game, selecting four players, and and earth-like skin, and was rewarded with this crash when I clicked OK:

Application: KsirK (ksirk), signal SIGSEGV
[Current thread is 0 (LWP 7218)]

Thread 5 (Thread 0xb2a47b90 (LWP 7222)):
#0  0xb8064424 in __kernel_vsyscall ()
#1  0xb628d2e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb638e0b4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb3b4c903 in ?? () from /usr/lib/libxine.so.1

Thread 4 (Thread 0xb2192b90 (LWP 7223)):
#0  0xb70a7456 in timerSourceCheck (source=0xa1ecf00) at kernel/qeventdispatcher_glib.cpp:148
#1  0xb5c663b6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb5c66c9d in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x0a181a38 in ?? ()
#4  0x7fffffff in ?? ()
#5  0x0a1ec3d8 in ?? ()
#6  0x00000001 in ?? ()
#7  0xb6f46cc4 in ?? () from /usr/lib/libQtCore.so.4
#8  0xb5cdf558 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb5cdf580 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0xb21921e4 in ?? ()
#11 0xb5cdf558 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0xb5cdf580 in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x0a181a3c in ?? ()
#14 0x00000001 in ?? ()
#15 0x0a1ec3d8 in ?? ()
#16 0xb5c74190 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0xb638e230 in ?? () from /lib/i686/cmov/libc.so.6
#18 0xb638e1f0 in ?? () from /lib/i686/cmov/libc.so.6
#19 0x0a181a3c in ?? ()
#20 0xb63f7ff4 in ?? () from /lib/i686/cmov/libc.so.6
#21 0x0a181a38 in ?? ()
#22 0xffffffff in ?? ()
#23 0x7fffffff in ?? ()
#24 0xb5cdf184 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x0a181a38 in ?? ()
#26 0xb638e1f0 in ?? () from /lib/i686/cmov/libc.so.6
#27 0xb2192218 in ?? ()
#28 0xb5c66f28 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xb1991b90 (LWP 7226)):
#0  0xb6374afd in poll () from /lib/i686/cmov/libc.so.6
#1  0xb223da51 in ?? () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
#2  0xb19912b8 in ?? ()
#3  0x00000001 in ?? ()
#4  0xb19912b8 in ?? ()
#5  0x00000000 in ?? ()

Thread 2 (Thread 0xb1190b90 (LWP 7227)):
#0  0xb8064424 in __kernel_vsyscall ()
#1  0xb628cfb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb638e05d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb3b5d962 in ?? () from /usr/lib/libxine.so.1
#4  0x0a200b80 in ?? ()
#5  0x0a200b68 in ?? ()
#6  0x00000000 in ?? ()

Thread 1 (Thread 0xb587e710 (LWP 7218)):
[KCrash Handler]
#6  0x080b282f in Ksirk::KGameWindow::mouseMoveEvent (this=0xa104a68, event=0xbff7fc78) at /tmp/buildd/kdegames-4.2.2/ksirk/ksirk/kgamewinslots.cpp:151
#7  0x08089c0c in Ksirk::KGameWindow::qt_metacall (this=0xa104a68, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff7f6c0)
    at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/ksirk/ksirk/kgamewin.moc:202
#8  0xb7091b98 in QMetaObject::activate (sender=0xb48ece8, from_signal_index=40, to_signal_index=40, argv=0xbff7f6c0) at kernel/qobject.cpp:3120
#9  0xb7092822 in QMetaObject::activate (sender=0xb48ece8, m=0x816f258, local_signal_index=0, argv=0xbff7f6c0) at kernel/qobject.cpp:3194
#10 0x08130fa5 in Ksirk::DecoratedGameFrame::mouseMoveEventReceived (this=0xb48ece8, _t1=0xbff7fc78) at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/ksirk/ksirk/decoratedgameframe.moc:93
#11 0xb66d821d in QWidget::event (this=0xb48ece8, event=0xbff7fc78) at kernel/qwidget.cpp:7506
#12 0xb6ab23e3 in QFrame::event (this=0xb48ece8, e=0xbff7fc78) at widgets/qframe.cpp:559
#13 0xb6b5239f in QAbstractScrollArea::viewportEvent (this=0xb48ece8, e=0xbff7f488) at widgets/qabstractscrollarea.cpp:962
#14 0xb6cfb8a7 in QGraphicsView::viewportEvent (this=0xb48ece8, event=0xbff7fc78) at graphicsview/qgraphicsview.cpp:2829
#15 0x081310e1 in Ksirk::DecoratedGameFrame::viewportEvent (this=0xb48ece8, event=0xbff7fc78) at /tmp/buildd/kdegames-4.2.2/ksirk/ksirk/decoratedgameframe.cpp:478
#16 0xb6b549a5 in QAbstractScrollAreaFilter::eventFilter (this=0xa11b1e8, o=0xa56e6a0, e=0xbff7fc78) at widgets/qabstractscrollarea_p.h:100
#17 0xb707ac4a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xa005650, receiver=0xa56e6a0, event=0xbff7fc78) at kernel/qcoreapplication.cpp:726
#18 0xb668179a in QApplicationPrivate::notify_helper (this=0xa005650, receiver=0xa56e6a0, e=0xbff7fc78) at kernel/qapplication.cpp:4053
#19 0xb668a441 in QApplication::notify (this=0xbff82684, receiver=0xa56e6a0, e=0xbff7fc78) at kernel/qapplication.cpp:3759
#20 0xb75deb7d in KApplication::notify (this=0xbff82684, receiver=0xa56e6a0, event=0xbff7fc78) at ../../kdeui/kernel/kapplication.cpp:307
#21 0xb707ba2b in QCoreApplication::notifyInternal (this=0xbff82684, receiver=0xa56e6a0, event=0xbff7fc78) at kernel/qcoreapplication.cpp:610
#22 0xb66894ae in QApplicationPrivate::sendMouseEvent (receiver=0xa56e6a0, event=0xbff7fc78, alienWidget=0xa56e6a0, nativeWidget=0xa104a68, buttonDown=0xb6f2e9e0, lastMouseReceiver=@0xb6f2e9e4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#23 0xb66899c9 in QApplicationPrivate::sendSyntheticEnterLeave (this=0xa005650, widget=0xb48ece8) at kernel/qapplication.cpp:3007
#24 0xb66ddf07 in QWidget::setVisible (this=0xb48ece8, visible=true) at kernel/qwidget.cpp:6950
#25 0xb66bf481 in QStackedLayout::setCurrentIndex (this=0xa3c1f40, index=3) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#26 0xb6b227fd in QStackedWidget::setCurrentIndex (this=0xa3c9550, index=3) at widgets/qstackedwidget.cpp:214
#27 0x080ac8c3 in Ksirk::KGameWindow::newSkin (this=0xa104a68, onuFileName=@0xbff8004c) at /tmp/buildd/kdegames-4.2.2/ksirk/ksirk/kgamewin.cpp:677
#28 0x08085ca0 in Ksirk::GameLogic::GameAutomaton::slotPropertyChanged (this=0xa107360, prop=0xa107384) at /tmp/buildd/kdegames-4.2.2/ksirk/ksirk/GameLogic/gameautomaton.cpp:1675
#29 0x0808610d in Ksirk::GameLogic::GameAutomaton::qt_metacall (this=0xa107360, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff80158)
    at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/ksirk/ksirk/gameautomaton.moc:89
#30 0xb7091b98 in QMetaObject::activate (sender=0xa107360, from_signal_index=23, to_signal_index=23, argv=0xbff80158) at kernel/qobject.cpp:3120
#31 0xb7092822 in QMetaObject::activate (sender=0xa107360, m=0x8199e84, local_signal_index=10, argv=0xbff80158) at kernel/qobject.cpp:3194
#32 0xb791d529 in KGame::signalPropertyChanged (this=0xa107360, _t1=0xa107384, _t2=0xa107360) at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/libkdegames/kgame.moc:212
#33 0xb791d558 in KGame::emitSignal (this=0xa107360, me=0xa107384) at /tmp/buildd/kdegames-4.2.2/libkdegames/kgame/kgame.cpp:1460
#34 0xb7926966 in KGame::qt_metacall (this=0xa107360, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbff802ac) at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/libkdegames/kgame.moc:127
#35 0x08085fdf in Ksirk::GameLogic::GameAutomaton::qt_metacall (this=0xa107360, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbff802ac)
    at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/ksirk/ksirk/gameautomaton.moc:81
#36 0xb7091b98 in QMetaObject::activate (sender=0xa100c80, from_signal_index=4, to_signal_index=4, argv=0xbff802ac) at kernel/qobject.cpp:3120
#37 0xb7092822 in QMetaObject::activate (sender=0xa100c80, m=0xb79afeb8, local_signal_index=0, argv=0xbff802ac) at kernel/qobject.cpp:3194
#38 0xb793b063 in KGamePropertyHandler::signalPropertyChanged (this=0xa100c80, _t1=0xa107384) at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/libkdegames/kgamepropertyhandler.moc:84
#39 0xb793b28f in KGamePropertyHandler::emitSignal (this=0x0, prop=0xa107384) at /tmp/buildd/kdegames-4.2.2/libkdegames/kgame/kgamepropertyhandler.cpp:311
#40 0xb793a530 in KGamePropertyBase::emitSignal (this=0xbff7f488) at /tmp/buildd/kdegames-4.2.2/libkdegames/kgame/kgameproperty.cpp:186
#41 0x08088584 in KGameProperty<QString>::operator= (this=0xa107384, t=@0xb39c218) at /tmp/buildd/kdegames-4.2.2/libkdegames/kgame/kgameproperty.h:731
#42 0x0807852e in Ksirk::GameLogic::GameAutomaton::finishSetupPlayersNumberAndSkin (this=0xa107360, skin=@0xb39c218, networkGame=Ksirk::GameLogic::GameAutomaton::None, newPlayersNumber=4)
    at /tmp/buildd/kdegames-4.2.2/ksirk/ksirk/GameLogic/gameautomaton.cpp:1164
#43 0x080b19f4 in Ksirk::KGameWindow::slotNewGameOK (this=0xa104a68, nbPlayers=4, skin=@0xb39c218, nbNetworkPlayers=0, useGoals=true) at /tmp/buildd/kdegames-4.2.2/ksirk/ksirk/kgamewinslots.cpp:963
#44 0x08089830 in Ksirk::KGameWindow::qt_metacall (this=0xa104a68, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbff80554)
    at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/ksirk/ksirk/kgamewin.moc:258
#45 0xb7091b98 in QMetaObject::activate (sender=0xa3491b8, from_signal_index=36, to_signal_index=36, argv=0xbff80554) at kernel/qobject.cpp:3120
#46 0xb7092822 in QMetaObject::activate (sender=0xa3491b8, m=0x816b4dc, local_signal_index=0, argv=0xbff80554) at kernel/qobject.cpp:3194
#47 0x0811ebad in Ksirk::NewGameDialogImpl::newGameOK (this=0xa3491b8, _t1=4, _t2=@0xb39c218, _t3=3, _t4=true) at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/ksirk/ksirk/newGameDialogImpl.moc:97
#48 0x0811fe90 in Ksirk::NewGameDialogImpl::slotOK (this=0xa3491b8) at /tmp/buildd/kdegames-4.2.2/ksirk/ksirk/Dialogs/newGameDialogImpl.cpp:92
#49 0x0812303e in Ksirk::NewGameDialogImpl::qt_metacall (this=0xa3491b8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff8075c)
    at /tmp/buildd/kdegames-4.2.2/obj-i486-linux-gnu/ksirk/ksirk/newGameDialogImpl.moc:82
#50 0xb7091b98 in QMetaObject::activate (sender=0xa567d48, from_signal_index=29, to_signal_index=30, argv=0xbff8075c) at kernel/qobject.cpp:3120
#51 0xb7091fd0 in QMetaObject::activate (sender=0xa567d48, m=0xb6f219a4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbff8075c) at kernel/qobject.cpp:3214
#52 0xb6d39b11 in QAbstractButton::clicked (this=0xa567d48, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#53 0xb6a62a79 in QAbstractButtonPrivate::emitClicked (this=0xaca3900) at widgets/qabstractbutton.cpp:543
#54 0xb6a646e4 in QAbstractButtonPrivate::click (this=0xaca3900) at widgets/qabstractbutton.cpp:536
#55 0xb6a64976 in QAbstractButton::mouseReleaseEvent (this=0xa567d48, e=0xbff80dfc) at widgets/qabstractbutton.cpp:1115
#56 0xb66d83b3 in QWidget::event (this=0xa567d48, event=0xbff80dfc) at kernel/qwidget.cpp:7521
#57 0xb6a6291e in QAbstractButton::event (this=0xa567d48, e=0xbff80dfc) at widgets/qabstractbutton.cpp:1077
#58 0xb6b0d9a0 in QPushButton::event (this=0xa567d48, e=0xbff80dfc) at widgets/qpushbutton.cpp:662
#59 0xb66817bc in QApplicationPrivate::notify_helper (this=0xa005650, receiver=0xa567d48, e=0xbff80dfc) at kernel/qapplication.cpp:4057
#60 0xb668a441 in QApplication::notify (this=0xbff82684, receiver=0xa567d48, e=0xbff80dfc) at kernel/qapplication.cpp:3759
#61 0xb75deb7d in KApplication::notify (this=0xbff82684, receiver=0xa567d48, event=0xbff80dfc) at ../../kdeui/kernel/kapplication.cpp:307
#62 0xb707ba2b in QCoreApplication::notifyInternal (this=0xbff82684, receiver=0xa567d48, event=0xbff80dfc) at kernel/qcoreapplication.cpp:610
#63 0xb66894ae in QApplicationPrivate::sendMouseEvent (receiver=0xa567d48, event=0xbff80dfc, alienWidget=0xa567d48, nativeWidget=0xa104a68, buttonDown=0xb6f2e9e0, lastMouseReceiver=@0xb6f2e9e4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#64 0xb66f8dc5 in QETWidget::translateMouseEvent (this=0xa104a68, event=0xbff823ac) at kernel/qapplication_x11.cpp:4448
#65 0xb66f8266 in QApplication::x11ProcessEvent (this=0xbff82684, event=0xbff823ac) at kernel/qapplication_x11.cpp:3444
#66 0xb67229a2 in x11EventSourceDispatch (s=0xa008700, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0xb5c63848 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0xb5c66dab in ?? () from /usr/lib/libglib-2.0.so.0
#69 0x0a007890 in ?? ()
#70 0x00000000 in ?? ()

I am running KDE & Ksirk 4.2.2 on Debian squeeze/sid.  This crash reoccurs under the circumstances previously stated.
Comment 1 Dario Andres 2009-06-15 03:39:47 UTC
Thanks

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