https://bugs.kde.org/show_bug.cgi?id=403978
Benjamin Robin <benjarobin+...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |benjarobin+...@gmail.com --- Comment #11 from Benjamin Robin <benjarobin+...@gmail.com> --- Reverting 9d90c0edac91b "fixes" the issue, but this part of code is not the problem. I did add some tracing, and there are 2 allocations that are realized in QImageData with the following properties: ===> nbytes: 8589934552, bpl: 4, w: 1, h: 2147483638, d: 32 ===> nbytes: 42949672760, bpl: 20, w: 5, h: 2147483638, d: 32 A detailed callstack: #0 0x00007ffff5673d7f in raise () at /usr/lib/libc.so.6 #1 0x00007ffff5f9ba9a in QImageData::create(QSize const&, QImage::Format) (size=..., format=QImage::Format_RGB32) at image/qimage.cpp:156 #2 0x00007fffbbffe670 in () #3 0x00007fffbbffe820 in () #4 0x00007ffff602b14d in QImage::QImage(QSize const&, QImage::Format) (this=0x4a2e9539e508d00, size=..., format=3154110064) at image/qimage.cpp:779 #5 0x00007ffff602b186 in QImage::QImage(int, int, QImage::Format) (this=<optimized out>, width=<optimized out>, height=<optimized out>, format=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qsize.h:119 #6 0x00007ffff606e40e in QRasterPlatformPixmap::resize(int, int) (this=0x7fffb431c6c0, width=-1140857264, height=2147483638) at image/qpixmap_raster.cpp:112 #7 0x00007ffff606d879 in QPlatformPixmap::create(int, int, QPlatformPixmap::PixelType) (w=1, h=2147483638, type=<optimized out>) at image/qplatformpixmap.cpp:65 #8 0x00007ffff6064948 in QPixmap::doInit(int, int, int) (this=0x7fffbbffe820, w=<optimized out>, h=<optimized out>, type=<optimized out>) at image/qpixmap.cpp:95 #9 0x00007ffff7b3a19a in Plasma::SvgPrivate::findInCache(QString const&, double, QSizeF const&) (this=0x55555703a3d0, elementId=..., ratio=1, s=...) at /usr/src/debug/plasma-framework-5.55.0/src/plasma/svg.cpp:396 #10 0x00007ffff7b3b1f4 in Plasma::Svg::image(QSize const&, QString const&) (this=<optimized out>, size=..., elementID=...) at /usr/include/qt/QtCore/qsize.h:134 #11 0x00007fffdcf4eb40 in Plasma::FrameItemNode::updateTexture(QSize const&, QString const&) (elementId=..., size=..., this=0x7fffb4310650) at /usr/src/debug/plasma-framework-5.55.0/src/declarativeimports/core/framesvgitem.cpp:501 #12 0x00007fffdcf4eb40 in Plasma::FrameItemNode::reposition(QRect const&, QSize&) (fullSize=..., frameGeometry=..., this=0x7fffb4310650) at /usr/src/debug/plasma-framework-5.55.0/src/declarativeimports/core/framesvgitem.cpp:160 #13 0x00007fffdcf4eb40 in Plasma::FrameSvgItem::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) (this=<optimized out>, oldNode=<optimized out>) at /usr/src/debug/plasma-framework-5.55.0/src/declarativeimports/core/framesvgitem.cpp:565 #14 0x00007ffff77f9bd0 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () at /usr/lib/libQt5Quick.so.5 #15 0x00007ffff77fa044 in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib/libQt5Quick.so.5 #16 0x00007ffff77fb577 in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib/libQt5Quick.so.5 #17 0x00007ffff77a0e79 in () at /usr/lib/libQt5Quick.so.5 #18 0x00007ffff77a224d in () at /usr/lib/libQt5Quick.so.5 #19 0x00007ffff77a5b58 in () at /usr/lib/libQt5Quick.so.5 #20 0x00007ffff5a4d96c in () at /usr/lib/libQt5Core.so.5 #21 0x00007ffff4b4ca9d in start_thread () at /usr/lib/libpthread.so.0 #22 0x00007ffff5737b23 in clone () at /usr/lib/libc.so.6 - frameGeometry parameter of Plasma::FrameItemNode::reposition() is equal to "1x2147483638+5+5" - In FrameSvgItem::updatePaintNode() of framesvgitem.cpp:561, The local variable QSize frameSize(width(), height());is equal to: wd=11 and ht=-2147483648 - Looks like it is related to imagePath=widgets/scrollbar prefix=slider -- You are receiving this mail because: You are watching all bug changes.