| Summary: | KPat (sometimes) crashes when resizing the window | ||
|---|---|---|---|
| Product: | [Applications] kpat | Reporter: | Leinad <daniel.hejduk> |
| Component: | general | Assignee: | Fabian <0inkane> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | 0inkane, karl, kde-games-bugs-null |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 3.6 | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Leinad
2015-05-04 19:28:02 UTC
Confirming. KPat (sometimes) crashes when resizing for me too, even after the port to Frameworks 5 / Qt 5. Confirming. KPat (sometimes) crashes when resizing for me too, even after the port to Frameworks 5 / Qt 5. @Karl Ove Hufthammer: Can you provide a recent backtrace for when the crash occurs? For me resizing is only slow, but doesn't lead to a crash (In reply to Fabian from comment #3) > @Karl Ove Hufthammer: Can you provide a recent backtrace for when the crash > occurs? For me resizing is only slow, but doesn't lead to a crash Here’s a gdb backtrace of a crash when resizing (from a debugfull build of the latest Git version): [New Thread 0x7fffbefa8700 (LWP 2818)] Error detected in cache, re-generating Thread 1 "kpat" received signal SIGSEGV, Segmentation fault. 0x00007ffff6b1a8bd in KSharedDataCache::find(QString const&, QByteArray*) const () from /usr/lib64/libKF5CoreAddons.so.5 (gdb) bt #0 0x00007ffff6b1a8bd in KSharedDataCache::find(QString const&, QByteArray*) const () from /usr/lib64/libKF5CoreAddons.so.5 #1 0x00007ffff7f045ca in KAbstractCardDeckPrivate::requestPixmap(unsigned int, bool) () from /home/huftis/utvikling/kde/program/kpat-rein/build/libkcardgame/libkcardgame.so #2 0x00007ffff7f048c0 in KAbstractCardDeck::cardPixmap(unsigned int, bool) () from /home/huftis/utvikling/kde/program/kpat-rein/build/libkcardgame/libkcardgame.so #3 0x00007ffff7f070e2 in KCard::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () from /home/huftis/utvikling/kde/program/kpat-rein/build/libkcardgame/libkcardgame.so #4 0x00007ffff66c3a6b in ?? () from /usr/lib64/libQt5Widgets.so.5 #5 0x00007ffff66c4792 in ?? () from /usr/lib64/libQt5Widgets.so.5 #6 0x00007ffff66c4cde in ?? () from /usr/lib64/libQt5Widgets.so.5 #7 0x00007ffff66e56da in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib64/libQt5Widgets.so.5 #8 0x00007ffff63f67f8 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #9 0x00007ffff6499e2e in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #10 0x00007ffff66e431b in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #11 0x00007ffff5950b1b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #12 0x00007ffff63b8491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #13 0x00007ffff63bfaf0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 --Type <RET> for more, q to quit, c to continue without paging-- #14 0x00007ffff5950e09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #15 0x00007ffff63ef39a in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /usr/lib64/libQt5Widgets.so.5 #16 0x00007ffff63efc57 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQt5Widgets.so.5 #17 0x00007ffff63f0851 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQt5Widgets.so.5 #18 0x00007ffff63ef8dc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQt5Widgets.so.5 #19 0x00007ffff63f0851 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQt5Widgets.so.5 #20 0x00007ffff63f0740 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQt5Widgets.so.5 #21 0x00007ffff63f0740 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQt5Widgets.so.5 #22 0x00007ffff63f0740 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQt5Widgets.so.5 #23 0x00007ffff63ef8dc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQt5Widgets.so.5 #24 0x00007ffff63c788c in ?? () from /usr/lib64/libQt5Widgets.so.5 --Type <RET> for more, q to quit, c to continue without paging-- #25 0x00007ffff63c7a39 in ?? () from /usr/lib64/libQt5Widgets.so.5 #26 0x00007ffff63deb15 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQt5Widgets.so.5 #27 0x00007ffff6410c0d in ?? () from /usr/lib64/libQt5Widgets.so.5 #28 0x00007ffff6413f72 in ?? () from /usr/lib64/libQt5Widgets.so.5 #29 0x00007ffff63b84a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #30 0x00007ffff63bfaf0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #31 0x00007ffff5950e09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #32 0x00007ffff5d4895f in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) () from /usr/lib64/libQt5Gui.so.5 #33 0x00007ffff5d4dddd in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5 #34 0x00007ffff5d2803b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5 #35 0x00007fffef1649db in ?? () from /usr/lib64/libQt5XcbQpa.so.5 #36 0x00007ffff594fadb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #37 0x00007ffff5957c52 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #38 0x0000000000420490 in main () And here’s one more, more complete (with debug symbols for LibQt5Widgets installed):
Thread 1 "kpat" received signal SIGSEGV, Segmentation fault.
0x00007ffff6b1a8ca in KSharedDataCache::find(QString const&, QByteArray*) const ()
from /usr/lib64/libKF5CoreAddons.so.5
(gdb) bt
#0 0x00007ffff6b1a8ca in KSharedDataCache::find(QString const&, QByteArray*) const ()
from /usr/lib64/libKF5CoreAddons.so.5
#1 0x00007ffff7f045ca in KAbstractCardDeckPrivate::requestPixmap(unsigned int, bool) ()
from /usr/lib64/libkcardgame.so
#2 0x00007ffff7f048c0 in KAbstractCardDeck::cardPixmap(unsigned int, bool) () from /usr/lib64/libkcardgame.so
#3 0x00007ffff7f070e2 in KCard::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) ()
from /usr/lib64/libkcardgame.so
#4 0x00007ffff66c3a6b in QGraphicsScenePrivate::draw (this=this@entry=0x25d1f80, item=item@entry=0x3f6af40,
painter=painter@entry=0x7fffffffb300, viewTransform=viewTransform@entry=0x7fffffffb350,
transformPtr=<optimized out>, exposedRegion=exposedRegion@entry=0xa1fe00, widget=<optimized out>,
opacity=opacity@entry=1, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>,
drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:4962
#5 0x00007ffff66c4792 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x25d1f80,
item=0x3f6af40, painter=painter@entry=0x7fffffffb300, viewTransform=viewTransform@entry=0x7fffffffb350,
exposedRegion=exposedRegion@entry=0xa1fe00, widget=<optimized out>, widget@entry=0x8d5c80,
parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4854
#6 0x00007ffff66c4cde in QGraphicsScenePrivate::drawItems (this=this@entry=0x25d1f80,
painter=painter@entry=0x7fffffffb300, viewTransform=viewTransform@entry=0x7fffffffb350,
exposedRegion=exposedRegion@entry=0xa1fe00, widget=0x8d5c80)
at ../../include/QtCore/../../src/corelib/tools/qlist.h:540
--Type <RET> for more, q to quit, c to continue without paging--
#7 0x00007ffff66e56da in QGraphicsView::paintEvent (this=0x9327b0, event=<optimized out>)
at ../../include/QtCore/../../src/corelib/global/qglobal.h:1038
#8 0x00007ffff63f67f8 in QWidget::event (this=this@entry=0x9327b0, event=event@entry=0x7fffffffb880)
at kernel/qwidget.cpp:8925
#9 0x00007ffff6499e2e in QFrame::event (this=0x9327b0, e=0x7fffffffb880) at widgets/qframe.cpp:550
#10 0x00007ffff66e431b in QGraphicsView::viewportEvent (this=0x9327b0, event=0x7fffffffb880)
at graphicsview/qgraphicsview.cpp:2969
#11 0x00007ffff5950b1b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib64/libQt5Core.so.5
#12 0x00007ffff63b8491 in QApplicationPrivate::notify_helper (this=this@entry=0x5c5bc0,
receiver=receiver@entry=0x8d5c80, e=e@entry=0x7fffffffb880) at kernel/qapplication.cpp:3724
#13 0x00007ffff63bfaf0 in QApplication::notify (this=0x7fffffffcc50, receiver=0x8d5c80, e=0x7fffffffb880)
at kernel/qapplication.cpp:3487
#14 0x00007ffff5950e09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /usr/lib64/libQt5Core.so.5
#15 0x00007ffff63ef39a in QCoreApplication::sendSpontaneousEvent (event=0x7fffffffb880, receiver=0x8d5c80)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#16 QWidgetPrivate::sendPaintEvent (this=this@entry=0xaadcc0, toBePainted=...) at kernel/qwidget.cpp:5683
#17 0x00007ffff63efc57 in QWidgetPrivate::drawWidget (this=0xaadcc0, pdev=0x918270, rgn=..., offset=...,
flags=4, sharedPainter=<optimized out>, backingStore=<optimized out>) at kernel/qwidget.cpp:5623
--Type <RET> for more, q to quit, c to continue without paging--
#18 0x00007ffff63f0851 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xa1f930,
pdev=pdev@entry=0x918270, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x8682f0) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:122
#19 0x00007ffff63ef8dc in QWidgetPrivate::drawWidget (this=0xa1f930, pdev=0x918270, rgn=..., offset=...,
flags=<optimized out>, sharedPainter=<optimized out>, backingStore=<optimized out>)
at ../../include/QtCore/../../src/corelib/tools/qlist.h:170
#20 0x00007ffff63f0851 in QWidgetPrivate::paintSiblingsRecursive (this=0x700400, pdev=0x918270, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8682f0)
at ../../include/QtCore/../../src/corelib/tools/qpoint.h:122
#21 0x00007ffff63f0740 in QWidgetPrivate::paintSiblingsRecursive (this=0x700400, pdev=0x918270, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8682f0)
at kernel/qwidget.cpp:5804
#22 0x00007ffff63f0740 in QWidgetPrivate::paintSiblingsRecursive (this=0x700400, pdev=0x918270, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8682f0)
at kernel/qwidget.cpp:5804
#23 0x00007ffff63f0740 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x700400,
pdev=pdev@entry=0x918270, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x8682f0) at kernel/qwidget.cpp:5804
#24 0x00007ffff63ef8dc in QWidgetPrivate::drawWidget (this=this@entry=0x700400, pdev=0x918270, rgn=...,
offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
at ../../include/QtCore/../../src/corelib/tools/qlist.h:170
#25 0x00007ffff63c788c in QWidgetBackingStore::doSync (this=0x8682f0)
at ../../include/QtCore/../../src/corelib/tools/qpoint.h:120
#26 0x00007ffff63c7a39 in QWidgetBackingStore::sync (this=0x8682f0) at kernel/qwidgetbackingstore.cpp:1156
#27 0x00007ffff63deb15 in QWidgetPrivate::syncBackingStore (this=0x700400) at kernel/qwidget.cpp:1953
#28 0x00007ffff6410c0d in QWidgetWindow::handleResizeEvent (this=0x86ebb0, event=0x7fffffffc940)
at ../../include/QtCore/../../src/corelib/global/qglobal.h:1038
#29 0x00007ffff6413f72 in QWidgetWindow::event (this=0x86ebb0, event=0x7fffffffc940)
at kernel/qwidgetwindow.cpp:302
#30 0x00007ffff63b84a1 in QApplicationPrivate::notify_helper (this=this@entry=0x5c5bc0,
receiver=receiver@entry=0x86ebb0, e=e@entry=0x7fffffffc940) at kernel/qapplication.cpp:3728
#31 0x00007ffff63bfaf0 in QApplication::notify (this=0x7fffffffcc50, receiver=0x86ebb0, e=0x7fffffffc940)
at kernel/qapplication.cpp:3487
#32 0x00007ffff5950e09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /usr/lib64/libQt5Core.so.5
#33 0x00007ffff5d4895f in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) () from /usr/lib64/libQt5Gui.so.5
#34 0x00007ffff5d4dddd in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#35 0x00007ffff5d2803b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
--Type <RET> for more, q to quit, c to continue without paging--
() from /usr/lib64/libQt5Gui.so.5
#36 0x00007fffef1649db in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#37 0x00007ffff594fadb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#38 0x00007ffff5957c52 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#39 0x0000000000420490 in main ()
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. 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! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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 Thank you for helping us make KDE software even better for everyone! |