Bug 310490 - kpat crashes when slecting New Game
Summary: kpat crashes when slecting New Game
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kshareddatacache (show other bugs)
Version: 4.8.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 333098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-22 10:54 UTC by Alan
Modified: 2021-01-09 16:13 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (542 bytes, text/plain)
2014-02-22 11:54 UTC, LoCall
Details
New crash information added by DrKonqi (7.22 KB, text/plain)
2014-03-13 13:32 UTC, John Michaels
Details
attachment-22395-0.html (2.08 KB, text/html)
2020-12-17 10:11 UTC, Alan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan 2012-11-22 10:54:13 UTC
Application: kpat (3.6)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-34-generic i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Simple Simon game concluded and I then selected New Game from the toolbar; KDE crashed

The crash can be reproduced some of the time.

-- Backtrace:
Application: KPatience (kpat), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb773b740 (LWP 14094))]

Thread 3 (Thread 0xb6391b40 (LWP 14097)):
#0  0x007cd416 in __kernel_vsyscall ()
#1  0x06df03eb in read () from /lib/i386-linux-gnu/libc.so.6
#2  0x017f06ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x017b1bd2 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x017b2042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x017b256b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x03c67134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#7  0x017d56b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x07cfcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x06e00d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb59ffb40 (LWP 14098)):
#0  0x07cffc64 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x06e0e8a4 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x017f1410 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x017b1f50 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x017b256b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01a981ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x017d56b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x07cfcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x06e00d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb773b740 (LWP 14094)):
[KCrash Handler]
#7  0x06d916f6 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x00001000 in ?? ()
#9  0x00b63beb in page (at=761, this=0xb24a4000) at /usr/include/i386-linux-gnu/bits/string3.h:52
#10 page (at=761, this=0xb24a4000) at ../../kdecore/util/kshareddatacache.cpp:567
#11 SharedMemory::defragment (this=0xb24a4000) at ../../kdecore/util/kshareddatacache.cpp:717
#12 0x00b6a6ac in SharedMemory::removeUsedPages (this=0xb24a4000, numberNeeded=6) at ../../kdecore/util/kshareddatacache.cpp:918
#13 0x00b62474 in KSharedDataCache::insert (this=0x857c048, key=..., data=...) at ../../kdecore/util/kshareddatacache.cpp:1576
#14 0x00f8f16e in KImageCache::insertImage (this=0x857c048, key=..., image=...) at ../../kdeui/util/kimagecache.cpp:103
#15 0x008e6d36 in KAbstractCardDeckPrivate::requestPixmap (this=0x86bad28, id=4, faceUp=true) at ../../../kpat/libkcardgame/kabstractcarddeck.cpp:211
#16 0x008e6e8c in KAbstractCardDeck::cardPixmap (this=0x86bd420, id=4, faceUp=true) at ../../../kpat/libkcardgame/kabstractcarddeck.cpp:506
#17 0x008e98ab in KCard::paint (this=0x951c1c8, painter=0xbfd41108, option=0x9919e80, widget=0x84f3f68) at ../../../kpat/libkcardgame/kcard.cpp:319
#18 0x06a0f9ff in QGraphicsScenePrivate::draw (this=0x9919d30, item=0x951c1d0, painter=0xbfd41108, viewTransform=0xbfd40e1c, transformPtr=0xbfd409c0, exposedRegion=0x84f2d7c, widget=0x84f3f68, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=false) at graphicsview/qgraphicsscene.cpp:4964
#19 0x06a105bf in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x9919d30, item=0x951c1d0, painter=0xbfd41108, viewTransform=0xbfd40e1c, exposedRegion=0x84f2d7c, widget=0x84f3f68, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#20 0x06a10e5f in QGraphicsScenePrivate::drawItems (this=0x9919d30, painter=0xbfd41108, viewTransform=0xbfd40e1c, exposedRegion=0x84f2d7c, widget=0x84f3f68) at graphicsview/qgraphicsscene.cpp:4739
#21 0x06a2d360 in QGraphicsView::paintEvent (this=0x84f27a8, event=0x400) at graphicsview/qgraphicsview.cpp:3471
#22 0x063aa152 in QWidget::event (this=0x84f27a8, event=0xbfd417c4) at kernel/qwidget.cpp:8508
#23 0x067c7e55 in QFrame::event (this=0x84f27a8, e=0xbfd417c4) at widgets/qframe.cpp:557
#24 0x0685aab1 in QAbstractScrollArea::viewportEvent (this=0x84f27a8, e=0xbfd417c4) at widgets/qabstractscrollarea.cpp:1043
#25 0x06a2e6ac in QGraphicsView::viewportEvent (this=0x84f27a8, event=0xbfd417c4) at graphicsview/qgraphicsview.cpp:2866
#26 0x0685d1d6 in viewportEvent (this=<optimized out>, event=0xbfd417c4) at widgets/qabstractscrollarea_p.h:100
#27 eventFilter (e=0xbfd417c4, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#28 QAbstractScrollAreaFilter::eventFilter (this=0x84f3d68, o=0x84f3f68, e=0xbfd417c4) at widgets/qabstractscrollarea_p.h:115
#29 0x050a1b16 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8339630, receiver=0x84f3f68, event=0xbfd417c4) at kernel/qcoreapplication.cpp:986
#30 0x0634fea2 in notify_helper (e=0xbfd417c4, receiver=0x84f3f68, this=0x8339630) at kernel/qapplication.cpp:4555
#31 QApplicationPrivate::notify_helper (this=0x8339630, receiver=0x84f3f68, e=0xbfd417c4) at kernel/qapplication.cpp:4531
#32 0x063553a2 in QApplication::notify (this=0x8339630, receiver=0x84f3f68, e=0xbfd417c4) at kernel/qapplication.cpp:4524
#33 0x00f1ae01 in KApplication::notify (this=0xbfd4317c, receiver=0x84f3f68, event=0xbfd417c4) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x050a197e in QCoreApplication::notifyInternal (this=0xbfd4317c, receiver=0x84f3f68, event=0xbfd417c4) at kernel/qcoreapplication.cpp:876
#35 0x063a5ada in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#36 QWidgetPrivate::drawWidget (this=0x84f4000, pdev=0x858a868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8550610) at kernel/qwidget.cpp:5585
#37 0x063a6882 in QWidgetPrivate::paintSiblingsRecursive (this=0x84f2a30, pdev=0x858a868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8550610) at kernel/qwidget.cpp:5794
#38 0x063a5838 in QWidgetPrivate::drawWidget (this=0x84f2a30, pdev=0x858a868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8550610) at kernel/qwidget.cpp:5638
#39 0x063a6882 in QWidgetPrivate::paintSiblingsRecursive (this=0x84e7bc0, pdev=0x858a868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8550610) at kernel/qwidget.cpp:5794
#40 0x063a5838 in QWidgetPrivate::drawWidget (this=0x84e7bc0, pdev=0x858a868, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8550610) at kernel/qwidget.cpp:5638
#41 0x0659edc0 in QWidgetBackingStore::sync (this=0x8550610) at painting/qbackingstore.cpp:1373
#42 0x0639b9db in QWidgetPrivate::syncBackingStore (this=0x84e7bc0) at kernel/qwidget.cpp:1891
#43 0x063aaae7 in QWidget::event (this=0x84e7b18, event=0x920d288) at kernel/qwidget.cpp:8655
#44 0x067e52dc in QMainWindow::event (this=0x84e7b18, event=0x920d288) at widgets/qmainwindow.cpp:1478
#45 0x00ff6754 in KMainWindow::event (this=0x84e7b18, ev=0x920d288) at ../../kdeui/widgets/kmainwindow.cpp:1084
#46 0x0103fd82 in KXmlGuiWindow::event (this=0x84e7b18, ev=0x920d288) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#47 0x0634fed4 in notify_helper (e=0x920d288, receiver=0x84e7b18, this=0x8339630) at kernel/qapplication.cpp:4559
#48 QApplicationPrivate::notify_helper (this=0x8339630, receiver=0x84e7b18, e=0x920d288) at kernel/qapplication.cpp:4531
#49 0x063553a2 in QApplication::notify (this=0x8339630, receiver=0x84e7b18, e=0x920d288) at kernel/qapplication.cpp:4524
#50 0x00f1ae01 in KApplication::notify (this=0xbfd4317c, receiver=0x84e7b18, event=0x920d288) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x050a197e in QCoreApplication::notifyInternal (this=0xbfd4317c, receiver=0x84e7b18, event=0x920d288) at kernel/qcoreapplication.cpp:876
#52 0x050a5ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x84e7b18, event_type=77, data=0x8312c18) at kernel/qcoreapplication.cpp:1500
#54 0x050a5e0c in QCoreApplication::sendPostedEvents (receiver=0x84e7b18, event_type=77) at kernel/qcoreapplication.cpp:1393
#55 0x06a05396 in dispatchPendingUpdateRequests (this=0x84f2a30) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:200
#56 QGraphicsScenePrivate::_q_processDirtyItems (this=0x9919d30) at graphicsview/qgraphicsscene.cpp:515
#57 0x06a054db in qt_static_metacall (_a=0x8c15de8, _id=14, _o=0x8e6cef8, _c=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:107
#58 QGraphicsScene::qt_static_metacall (_o=0x8e6cef8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x8c15de8) at .moc/release-shared/moc_qgraphicsscene.cpp:86
#59 0x050b3c01 in QMetaCallEvent::placeMetaCall (this=0x8e60ed8, object=0x8e6cef8) at kernel/qobject.cpp:525
#60 0x050bcc7b in QObject::event (this=0x8e6cef8, e=0x8e60ed8) at kernel/qobject.cpp:1195
#61 0x06a0c1e0 in QGraphicsScene::event (this=0x8e6cef8, event=0x8e60ed8) at graphicsview/qgraphicsscene.cpp:3565
#62 0x0634fed4 in notify_helper (e=0x8e60ed8, receiver=0x8e6cef8, this=0x8339630) at kernel/qapplication.cpp:4559
#63 QApplicationPrivate::notify_helper (this=0x8339630, receiver=0x8e6cef8, e=0x8e60ed8) at kernel/qapplication.cpp:4531
#64 0x0635530d in QApplication::notify (this=0x8e60ed8, receiver=0x8e6cef8, e=0x8e60ed8) at kernel/qapplication.cpp:4288
#65 0x00f1ae01 in KApplication::notify (this=0xbfd4317c, receiver=0x8e6cef8, event=0x8e60ed8) at ../../kdeui/kernel/kapplication.cpp:311
#66 0x050a197e in QCoreApplication::notifyInternal (this=0xbfd4317c, receiver=0x8e6cef8, event=0x8e60ed8) at kernel/qcoreapplication.cpp:876
#67 0x050a5ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#68 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8312c18) at kernel/qcoreapplication.cpp:1500
#69 0x050a5e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#70 0x050d4494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#71 postEventSourceDispatch (s=0x833bc00) at kernel/qeventdispatcher_glib.cpp:279
#72 0x017b1d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#73 0x017b2125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x017b2201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#75 0x050d4887 in QEventDispatcherGlib::processEvents (this=0x8313780, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#76 0x06408aaa in QGuiEventDispatcherGlib::processEvents (this=0x8313780, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x050a050d in QEventLoop::processEvents (this=0xbfd43084, flags=...) at kernel/qeventloop.cpp:149
#78 0x050a07a9 in QEventLoop::exec (this=0xbfd43084, flags=...) at kernel/qeventloop.cpp:204
#79 0x050a5eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#80 0x0634da74 in QApplication::exec () at kernel/qapplication.cpp:3820
#81 0x0805b8ac in main (argc=<error reading variable: Cannot access memory at address 0x400>, argv=<error reading variable: Cannot access memory at address 0x404>) at ../../kpat/main.cpp:325

Possible duplicates by query: bug 309773.

Reported using DrKonqi
Comment 1 LoCall 2014-02-22 11:54:16 UTC
Created attachment 85272 [details]
New crash information added by DrKonqi

kpat (3.6) on KDE Platform 4.12.2 using Qt 4.8.5

- What I was doing when the application crashed:

Clicked on Spider, changed my mind, clicked on new game in order to select Mod43, crash.

-- Backtrace (Reduced):
#5  0x00000033e5036dd1 in KSharedDataCache::insert(QString const&, QByteArray const&) () from /lib64/libkdecore.so.5
#6  0x00000033e56aea81 in KImageCache::insertImage(QString const&, QImage const&) () from /lib64/libkdeui.so.5
#7  0x00000033e76160dd in KAbstractCardDeckPrivate::requestPixmap (this=<optimized out>, id=<optimized out>, faceUp=<optimized out>) at /usr/src/debug/kpat-4.12.2/libkcardgame/kabstractcarddeck.cpp:211
#8  0x00000033e76161c0 in KAbstractCardDeck::cardPixmap (this=<optimized out>, id=<optimized out>, faceUp=<optimized out>) at /usr/src/debug/kpat-4.12.2/libkcardgame/kabstractcarddeck.cpp:506
#9  0x00000033e76195f2 in KCard::paint (this=0x1fe7740, painter=0x7fff8203d800, option=<optimized out>, widget=<optimized out>) at /usr/src/debug/kpat-4.12.2/libkcardgame/kcard.cpp:319
Comment 2 John Michaels 2014-03-13 13:32:05 UTC
Created attachment 85565 [details]
New crash information added by DrKonqi

kpat (3.6) on KDE Platform 4.12.3 using Qt 4.8.5

- What I was doing when the application crashed:
changing game selection. I have had this happen on many occasions, the game selected has varied. It seem to be about every tenth or so game but not regularly. I have had it crash within less than ten changes.

I tend to play one game, change to another, cycling around my favourite five games: Forty & eight, Klondike, grandfather, spider and grandfather's clock.

Version of Kpatience as supplied by fedora 20 ( also happened on fedora 17 and 19)

-- Backtrace (Reduced):
#6  0x000000317803d861 in SharedMemory::defragment() () from /lib64/libkdecore.so.5
#7  0x000000317803e5b5 in SharedMemory::removeUsedPages(unsigned int) () from /lib64/libkdecore.so.5
#8  0x0000003178037d89 in KSharedDataCache::insert(QString const&, QByteArray const&) () from /lib64/libkdecore.so.5
#9  0x00000031786aece1 in KImageCache::insertImage(QString const&, QImage const&) () from /lib64/libkdeui.so.5
#10 0x000000317aa160dd in KAbstractCardDeckPrivate::requestPixmap(unsigned int, bool) () from /lib64/libkcardgame.so
Comment 3 Christoph Feck 2014-04-20 18:43:03 UTC
*** Bug 333098 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Crouthamel 2018-10-31 04:06:26 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 5 LoCall 2018-10-31 08:30:46 UTC
Yes I can confirm the bug is still there.

Currently, due the redhat bug 1515265 the report backtrace is not working and I am afraid that further information is not not possible.

Could you Andrew wait the reporting tools resolve their own bug first ?

Or could you suggest an alternative tracing procedure ?

Cheers
Comment 6 Andrew Crouthamel 2018-10-31 14:48:28 UTC
Thanks for the update!
Comment 7 Christoph Feck 2018-11-01 00:43:36 UTC
You can get a backtrace with 'gdb'. For more information, please see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 8 Justin Zobel 2020-12-17 05:37:40 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 9 Alan 2020-12-17 10:11:53 UTC
Created attachment 134142 [details]
attachment-22395-0.html

I no longer use the application, so have no idea if the bug is fixed or
not...

Alan A Hart  

On 17/12/2020 05:37, Justin Zobel wrote:

> https://bugs.kde.org/show_bug.cgi?id=310490
> 
> Justin Zobel <justin.zobel@gmail.com> changed:
> 
> What    |Removed                     |Added
> ----------------------------------------------------------------------------
> Status|CONFIRMED                   |NEEDSINFO
> Resolution|---                         |WAITINGFORINFO
> 
> --- Comment #8 from Justin Zobel <justin.zobel@gmail.com> ---
> Thank you for the crash report.
> 
> As it has been a while since this was reported, can you please test and confirm
> if this issue is still occurring or if this bug report can be marked as
> resolved.
> 
> I have set the bug status to "needsinfo" pending your response, please change
> back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 10 Bug Janitor Service 2021-01-01 04:34:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Christoph Feck 2021-01-09 16:13:30 UTC
Crash was in kdelibs4 code, which is no longer maintained.