Bug 165916 - "Play a demo" crashes kpat, if clicked when dealing cards
Summary: "Play a demo" crashes kpat, if clicked when dealing cards
Status: RESOLVED FIXED
Alias: None
Product: kpat
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
: 169337 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-07 07:18 UTC by Luiz Felipe Talvik
Modified: 2008-09-10 11:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Felipe Talvik 2008-07-07 07:18:23 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

To reproduce:
-Click either "Start new game" or "Restart game"
-While the card are being dealed, click "Demo"
-Kpat crashes.
I dont know if other actions,while dealing cards,crash the application.

Backtrace:
Application: KPatience (kpat), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb5e34720 (LWP 8820)]
[KCrash handler]
#6  0xb7ee6410 in __kernel_vsyscall ()
#7  0xb628b085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb628ca01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb628410e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0x080674cc in DealerScene::demo (this=0x87bbef8)
    at /home/talvik/kde/src/KDE/kdegames/kpat/dealer.cpp:1535
#11 0x0805e48e in DealerScene::toggleDemo (this=0x87bbef8)
    at /home/talvik/kde/src/KDE/kdegames/kpat/dealer.cpp:1385
#12 0x08069014 in DealerScene::qt_metacall (this=0x87bbef8, 
    _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf8931bc)
    at /home/talvik/kde/build/KDE/kdegames/kpat/dealer.moc:138
#13 0x0807ff28 in Klondike::qt_metacall (this=0x87bbef8, 
    _c=QMetaObject::InvokeMetaMethod, _id=48, _a=0xbf8931bc)
    at /home/talvik/kde/build/KDE/kdegames/kpat/klondike.moc:57
#14 0xb738e859 in QMetaObject::activate (sender=0x87cead8, 
    from_signal_index=5, to_signal_index=6, argv=0xbf8931bc)
    at /home/talvik/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:3010
#15 0xb738ec90 in QMetaObject::activate (sender=0x87cead8, m=0xb6dd23f8, 
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbf8931bc)
    at /home/talvik/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:3100
#16 0xb6604711 in QAction::triggered (this=0x87cead8, _t1=true)
    at .moc/release-shared/moc_qaction.cpp:216
#17 0xb66050df in QAction::activate (this=0x87cead8, event=QAction::Trigger)
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qaction.cpp:1119
#18 0xb6a1f6e2 in QToolButton::nextCheckState (this=0x6)
    at ../../include/QtGui/../../../../src/qt-copy/src/gui/kernel/qaction.h:201
#19 0xb694639f in QAbstractButtonPrivate::click (this=0x87cf8d0)
    at /home/talvik/kde/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:525
#20 0xb694663b in QAbstractButton::mouseReleaseEvent (this=0x87cf838, 
    e=0xbf8937ac)
    at /home/talvik/kde/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:1112
#21 0xb6a1f7dc in QToolButton::mouseReleaseEvent (this=0x87cf838, 
    e=0xbf8937ac)
    at /home/talvik/kde/src/qt-copy/src/gui/widgets/qtoolbutton.cpp:675
#22 0xb6662d94 in QWidget::event (this=0x87cf838, event=0xbf8937ac)
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qwidget.cpp:6927
#23 0xb69456ff in QAbstractButton::event (this=0x87cf838, e=0xbf8937ac)
    at /home/talvik/kde/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:1074
#24 0xb6a1f0b4 in QToolButton::event (this=0x87cf838, e=0xbf8937ac)
    at /home/talvik/kde/src/qt-copy/src/gui/widgets/qtoolbutton.cpp:1105
#25 0xb660b54c in QApplicationPrivate::notify_helper (this=0x813a178, 
    receiver=0x87cf838, e=0xbf8937ac)
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3772
#26 0xb6610605 in QApplication::notify (this=0xbf893f80, receiver=0x87cf838, 
    e=0xbf8937ac)
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3501
#27 0xb7a2644d in KApplication::notify (this=0xbf893f80, receiver=0x87cf838, 
    event=0xbf8937ac)
    at /home/talvik/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#28 0xb7379a09 in QCoreApplication::notifyInternal (this=0xbf893f80, 
    receiver=0x87cf838, event=0xbf8937ac)
    at /home/talvik/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#29 0xb660d751 in QApplicationPrivate::sendMouseEvent (receiver=0x87cf838, 
    event=0xbf8937ac, alienWidget=0x87cf838, nativeWidget=0x81c8490, 
    buttonDown=0xb6dee630, lastMouseReceiver=@0xb6dee634)
    at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:218
#30 0xb66775cd in QETWidget::translateMouseEvent (this=0x81c8490, 
    event=0xbf893cc8)
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:4133
#31 0xb6675fb1 in QApplication::x11ProcessEvent (this=0xbf893f80, 
    event=0xbf893cc8)
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:3255
#32 0xb669daaa in x11EventSourceDispatch (s=0x813d0c0, callback=0, 
    user_data=0x0)
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:148
#33 0xb5fe8bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb5febe5e in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb5fec3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb73a52f8 in QEventDispatcherGlib::processEvents (this=0x813a140, 
    flags=@0xbf893e68)
    at /home/talvik/kde/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325
#37 0xb669d8a5 in QGuiEventDispatcherGlib::processEvents (this=0x813a140, 
    flags=@0xbf893e98)
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#38 0xb7378c8d in QEventLoop::processEvents (this=0xbf893f10, 
    flags=@0xbf893ed4)
    at /home/talvik/kde/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#39 0xb7378e1d in QEventLoop::exec (this=0xbf893f10, flags=@0xbf893f18)
    at /home/talvik/kde/src/qt-copy/src/corelib/kernel/qeventloop.cpp:200
#40 0xb737b09d in QCoreApplication::exec ()
    at /home/talvik/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#41 0xb660aea7 in QApplication::exec ()
    at /home/talvik/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3304
#42 0x08058508 in main (argc=134866252, argv=0x81c86e8)
    at /home/talvik/kde/src/KDE/kdegames/kpat/main.cpp:178
#0  0xb7ee6410 in __kernel_vsyscall ()
Comment 1 Stephan Kulow 2008-09-10 11:03:40 UTC
should be fixed in trunk. I was actually able to reproduce with old sources but not with HEAD.
Comment 2 Stephan Kulow 2008-09-10 11:27:21 UTC
damn, I take that back - tried a bit harder and boom :)
Comment 3 Stephan Kulow 2008-09-10 11:32:39 UTC
ok, more protection in r859399. Can no longer reproduce
Comment 4 Stephan Kulow 2008-09-10 11:49:27 UTC
*** Bug 169337 has been marked as a duplicate of this bug. ***