Bug 193312 - kpat crashes when playing spider
Summary: kpat crashes when playing spider
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 04:25 UTC by Robert Marmorstein
Modified: 2009-07-21 17:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace with debugging information (5.00 KB, text/plain)
2009-07-10 22:53 UTC, Robert Marmorstein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Marmorstein 2009-05-20 04:25:32 UTC
Application that crashed: kpat
Version of the application: 3.1
KDE Version: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-ARCH x86_64

What I was doing when the application crashed:
In the middle of a card game, kpat crashes.  It does this at unpredictable times, but seems to always crash whenever I play a game -- often when moving cards.  This has only happened for the last two days or so.  It must be a fairly recent regression.  I am running KDE 4.3 trunk.

 -- Backtrace:
Application: KPatience (kpat), signal: Aborted
[KCrash Handler]
#5  0x00007f6ac5b9d2d5 in raise () from /lib/libc.so.6
#6  0x00007f6ac5b9e73a in abort () from /lib/libc.so.6
#7  0x00007f6ac5bdcaa0 in malloc_printerr () from /lib/libc.so.6
#8  0x00007f6ac7a6de0c in QString::free () from /usr/lib/libQtCore.so.4
#9  0x00007f6ac7abca9e in QTextStream::operator<< () from /usr/lib/libQtCore.so.4
#10 0x00007f6ac7abd34e in endl () from /usr/lib/libQtCore.so.4
#11 0x00007f6ac8284ee0 in KLockFile::lock () from /usr/lib/libkdecore.so.5
#12 0x00007f6ac89f4469 in KPixmapCache::find () from /usr/lib/libkdeui.so.5
#13 0x00007f6ac90fefdc in KCardCache::frontside () from /usr/lib/libkdegames.so.5
#14 0x0000000000417bbd in _start ()
Comment 1 Christoph Feck 2009-05-25 20:59:35 UTC
May be related to r968537 or r967957 ? If this turns out to be a KPixmapCache bug, please reassign to kdelibs.
Comment 2 Parker Coates 2009-05-25 21:40:56 UTC
This may be related to those revisions or it may not, but it definitely seems like an issue in KPixmapCache. Reassigning to kdelibs.
Comment 3 Christoph Feck 2009-05-26 01:51:38 UTC
Robert, could you compile with debugging in KDE and Qt enabled, and provide a backtrace with debugging information?
Comment 4 Robert Marmorstein 2009-07-09 10:50:53 UTC
Unfortunately, the kde binary packages I'm using (from Mark Constable) don't have debugging symbols enabled.  I can rebuild from source, but there's no guarantee I will be able to reproduce the bug if I'm building things in a different way.  I will try anyway.

I've been having issues with my development environment (I'd been using VirtualBox to keep from messing up my production KDE4).  I've decided to simply install to a user account instead (which should help) and will then be able to provide a backtrace (I hope).  Probably today or tomorrow....

Is no one else seeing this issue?
Comment 5 Robert Marmorstein 2009-07-10 22:53:51 UTC
Created attachment 35231 [details]
Backtrace with debugging information

I recompiled with debugging information.  Here's the backtrace.  It looks to me like it's crashing in a different spot, though....
Comment 6 Christoph Feck 2009-07-18 13:48:39 UTC
Robert, the backtrace in comment #5 is indeed a different issue, either a Qt bug or a bug in KPatience.

Paste of the attachment from comment #5 to help finding the right duplicate:

Application: KPatience (kpat), signal: Aborted
[KCrash Handler]
#5  0x00007f192bc9af15 in raise () from /lib/libc.so.6
#6  0x00007f192bc9c340 in abort () from /lib/libc.so.6
#7  0x00007f192bcd494d in __libc_message () from /lib/libc.so.6
#8  0x00007f192bcd9dd6 in malloc_printerr () from /lib/libc.so.6
#9  0x00007f192ceb6387 in QGraphicsView::paintEvent (this=0x2a4d6e0, event=<value optimized out>) at ../../include/QtCore/../../../../kdesvn/qt-copy/src/corelib/tools/qvector.h:425
#10 0x00007f192c9853eb in QWidget::event (this=0x2a4d6e0, event=0x7fffb4711c20) at /home/kde/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7659
#11 0x00007f192ccc4b76 in QFrame::event (this=0x2a4d6e0, e=0x7fffb4711c20) at /home/kde/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:559
#12 0x00007f192ceb6d6b in QGraphicsView::viewportEvent (this=0x2a4d6e0, event=0x7fffb4711c20) at /home/kde/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2897
#13 0x00007f192db34557 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2a4e130, event=0x7fffb4711c20)
    at /home/kde/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:726
#14 0x00007f192c93767c in QApplicationPrivate::notify_helper (this=0x26e1b30, receiver=0x2a4e130, e=0x7fffb4711c20) at /home/kde/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:4053
#15 0x00007f192c93cf48 in QApplication::notify (this=0x7fffb4712c60, receiver=0x2a4e130, e=0x7fffb4711c20) at /home/kde/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:4022
#16 0x00007f192e967496 in KApplication::notify (this=0x7fffb4712c60, receiver=0x2a4e130, event=0x7fffb4711c20) at /home/kde/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:302
#17 0x00007f192db351dc in QCoreApplication::notifyInternal (this=0x7fffb4712c60, receiver=0x2a4e130, event=0x7fffb4711c20) at /home/kde/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#18 0x00007f192c986cab in QWidgetPrivate::drawWidget (this=0x2a4e170, pdev=0x274ae68, rgn=@0x7fffb4712020, offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x27e2260) at ../../include/QtCore/../../../../kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.h:216
#19 0x00007f192cb0c506 in QWidgetBackingStore::sync (this=0x27e2260) at /home/kde/kdesvn/qt-copy/src/gui/painting/qbackingstore.cpp:1260
#20 0x00007f192c979652 in QWidgetPrivate::syncBackingStore (this=0x27b3050) at /home/kde/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:1602
#21 0x00007f192c9852c8 in QWidget::event (this=0x27b3730, event=0x336fff0) at /home/kde/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7799
#22 0x00007f192ccdc87b in QMainWindow::event (this=0x27b3730, event=0x336fff0) at /home/kde/kdesvn/qt-copy/src/gui/widgets/qmainwindow.cpp:1402
#23 0x00007f192ea72b73 in KXmlGuiWindow::event (this=0x28a0, ev=0x28a0) at /home/kde/kdesvn/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#24 0x00007f192c9376ac in QApplicationPrivate::notify_helper (this=0x26e1b30, receiver=0x27b3730, e=0x336fff0) at /home/kde/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:4057
#25 0x00007f192c93cf48 in QApplication::notify (this=0x7fffb4712c60, receiver=0x27b3730, e=0x336fff0) at /home/kde/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:4022
#26 0x00007f192e967496 in KApplication::notify (this=0x7fffb4712c60, receiver=0x27b3730, event=0x336fff0) at /home/kde/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:302
#27 0x00007f192db351dc in QCoreApplication::notifyInternal (this=0x7fffb4712c60, receiver=0x27b3730, event=0x336fff0) at /home/kde/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#28 0x00007f192db35844 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x267d240)
    at ../../include/QtCore/../../../../kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.h:213
#29 0x00007f192db59fc3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../../../kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.h:218
#30 0x00007f192800cdbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007f1928010568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#32 0x00007f1928010690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007f192db59c46 in QEventDispatcherGlib::processEvents (this=0x267c920, flags=<value optimized out>) at /home/kde/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#34 0x00007f192c9bcffe in QGuiEventDispatcherGlib::processEvents (this=0x28a0, flags=<value optimized out>) at /home/kde/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f192db33c02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at /home/kde/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#36 0x00007f192db33d95 in QEventLoop::exec (this=0x7fffb4712aa0, flags=) at /home/kde/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#37 0x00007f192db35ba9 in QCoreApplication::exec () at /home/kde/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#38 0x0000000000416708 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/kde/kdesvn/kdegames/kpat/main.cpp:267
Comment 7 Robert Marmorstein 2009-07-21 17:35:12 UTC
I can no longer reproduce this, so I'm going to assume it's fixed.  Thanks!