Bug 181582

Summary: mod3 crashes after put card and press "h"
Product: [Applications] kpat Reporter: zbigx <zbigx>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, kde-games-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description zbigx 2009-01-22 10:50:49 UTC
Version:            3.0 (using Devel)
OS:                Linux
Installed from:    Compiled sources

when I put card into free slot (i.e I put 3 onto 2 row) and press 'h' key, kpat crashed.

there ate output from The KDE Crash Handler:

Application: KPatience (kpat), signal SIGSEGV
[Current thread is 1 (Thread 0xb7f349c0 (LWP 3835))]

Thread 1 (Thread 0xb7f349c0 (LWP 3835)):
[KCrash Handler]
#6  0x0805b994 in _start ()
Comment 1 Dario Andres 2009-01-22 10:55:10 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 zbigx 2009-01-22 14:20:19 UTC
There is output from gdb:
#0  Card::setHighlighted (this=0x0, flag=true) at /usr/src/debug/kdegames-4.1.4/kpat/card.cpp:338
#1  0x0805e4cf in DealerScene::mark (this=0x817c8a8, c=0x0) at /usr/src/debug/kdegames-4.1.4/kpat/dealer.cpp:676
#2  0x0805edcb in DealerScene::hint (this=0x817c8a8) at /usr/src/debug/kdegames-4.1.4/kpat/dealer.cpp:490       
#3  0x08069ad8 in PatienceView::qt_metacall (this=0x81bc5d8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfffdf2c)
    at /usr/src/debug/kdegames-4.1.4/i386-redhat-linux-gnu/kpat/view.moc:75                                         
#4  0x003eedf0 in QMetaObject::activate (sender=0x85f98c8, from_signal_index=5, to_signal_index=6, argv=0xbfffdf2c) at kernel/qobject.cpp:3031
#5  0x003ef1f0 in QMetaObject::activate (sender=0x85f98c8, m=0x74712a0, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfffdf2c)  
    at kernel/qobject.cpp:3121                                                                                                                
#6  0x06cb6391 in QAction::triggered (this=0x85f98c8, _t1=false) at .moc/release-shared/moc_qaction.cpp:216
#7  0x06cb6cff in QAction::activate (this=0x85f98c8, event=QAction::Trigger) at kernel/qaction.cpp:1125
#8  0x06cba25b in QAction::event (this=0x85f98c8, e=0xbfffe334) at kernel/qaction.cpp:1044
#9  0x06d19769 in QWidgetAction::event (this=0x85f98c8, event=0xbfffe334) at kernel/qwidgetaction.cpp:230
#10 0x06cbc68c in QApplicationPrivate::notify_helper (this=0x81297c8, receiver=0x85f98c8, e=0xbfffe334) at kernel/qapplication.cpp:3803
#11 0x06cc44ce in QApplication::notify (this=0xbffff140, receiver=0x85f98c8, e=0xbfffe334) at kernel/qapplication.cpp:3393
#12 0x00b327ed in KApplication::notify (this=0xbffff140, receiver=0x85f98c8, event=0xbfffe334)
    at /usr/src/debug/kdelibs-4.1.4/kdeui/kernel/kapplication.cpp:311
#13 0x003da1c1 in QCoreApplication::notifyInternal (this=0xbffff140, receiver=0x85f98c8, event=0xbfffe334) at kernel/qcoreapplication.cpp:587
#14 0x06cf5648 in QCoreApplication::sendEvent () at ../../src/corelib/kernel/qcoreapplication.h:209
#15 QShortcutMap::dispatchEvent (this=0x8129864, e=0xbfffe6cc) at kernel/qshortcutmap.cpp:771
#16 0x06cf701f in QShortcutMap::tryShortcutEvent (this=0x8129864, w=0x81bc5d8, e=0xbfffe6cc) at kernel/qshortcutmap.cpp:362
#17 0x06cc5790 in QApplication::notify (this=0xbffff140, receiver=0x81bc5d8, e=0xbfffe6cc) at kernel/qapplication.cpp:3430
#18 0x00b327ed in KApplication::notify (this=0xbffff140, receiver=0x81bc5d8, event=0xbfffe6cc)
    at /usr/src/debug/kdelibs-4.1.4/kdeui/kernel/kapplication.cpp:311
#19 0x003da1c1 in QCoreApplication::notifyInternal (this=0xbffff140, receiver=0x81bc5d8, event=0xbfffe6cc) at kernel/qcoreapplication.cpp:587
#20 0x06d1d1ae in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=0x81bc5d8)
    at ../../src/corelib/kernel/qcoreapplication.h:212
#21 qt_sendSpontaneousEvent (receiver=0x81bc5d8, event=0x0) at kernel/qapplication_x11.cpp:4592
#22 0x06d52220 in QKeyMapper::sendKeyEvent (keyWidget=0x81bc5d8, grab=false, type=QEvent::KeyPress, code=72, modifiers={i = 0},
    text=@0xbfffe844, autorepeat=<value optimized out>, count=<value optimized out>, nativeScanCode=43, nativeVirtualKey=104,
    nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1652
#23 0x06d54396 in QKeyMapperPrivate::translateKeyEvent (this=0x8155888, keyWidget=0x81bc5d8, event=0xbfffee4c, grab=true)
    at kernel/qkeymapper_x11.cpp:1623
#24 0x06d2c8f5 in QApplication::x11ProcessEvent (this=0xbffff140, event=0xbfffee4c) at kernel/qapplication_x11.cpp:3057
#25 0x06d55e1a in x11EventSourceDispatch (s=0x812cf10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#26 0x0750b238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x0750e8e3 in ?? () from /lib/libglib-2.0.so.0
#28 0x0750eaa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x004047f8 in QEventDispatcherGlib::processEvents (this=0x8129910, flags={i = 4}) at kernel/qeventdispatcher_glib.cpp:319
#30 0x06d55515 in QGuiEventDispatcherGlib::processEvents (this=0x8129910, flags={i = 4}) at kernel/qguieventdispatcher_glib.cpp:198
#31 0x003d888a in QEventLoop::processEvents (this=0xbffff0b0, flags={i = 4}) at kernel/qeventloop.cpp:143
#32 0x003d8a4a in QEventLoop::exec (this=0xbffff0b0, flags={i = 0}) at kernel/qeventloop.cpp:194
#33 0x003db105 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#34 0x06cbc507 in QApplication::exec () at kernel/qapplication.cpp:3331
#35 0x08056a47 in main (argc=1, argv=0xbffff3b4) at /usr/src/debug/kdegames-4.1.4/kpat/main.cpp:179
Comment 3 Stephan Kulow 2009-01-22 15:05:45 UTC
kde 4.1.4 is not "Using Devel". Would be good to know if you can reproduce with 4.2 rcs.

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