| Summary: | Switching to normal display from virtual screen crashes the portal sometimes | ||
|---|---|---|---|
| Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | pollux/ned <pollux66> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | aleixpol, nate, nicolas.fella, notmart |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 6.5.90 | ||
| Target Milestone: | --- | ||
| Platform: | CachyOS | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/272284/events/a2532ff3125e487aa420615b98ca1c74/ | ||
|
Description
pollux/ned
2026-01-13 23:48:52 UTC
It's an assert here: #4 0x00007f3fd40ac56b in pthread_kill () at /usr/lib/libc.so.6 #5 0x00007f3fd4044968 in raise () at /usr/lib/libc.so.6 #6 0x00007f3fd402560f in abort () at /usr/lib/libc.so.6 #7 0x00007f3fd4026876 in ??? () at /usr/lib/libc.so.6 #8 0x00007f3fd40b73e7 in ??? () at /usr/lib/libc.so.6 #9 0x00007f3fd40bcd50 in malloc () at /usr/lib/libc.so.6 #10 0x00007f3fd44b472d in operator new (sz=sz@entry=176) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/new_op.cc:50 #11 0x00007f3fd55a5c23 in QRhiGles2::createTexture (this=0x7f3f9c689d30, format=QRhiTexture::RGBA8, pixelSize=..., depth=1, arraySize=0, sampleCount=1, flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/rhi/qrhigles2.cpp:1885 #12 0x00007f3fd540cd04 in QRhi::newTexture (this=this@entry=0x7f3f9c004830, format=<optimized out>, pixelSize=..., sampleCount=sampleCount@entry=1, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/gui/rhi/qrhi.cpp:11324 #13 0x00007f3fd6f4f7f6 in QSGPlainTexture::setTextureFromNativeTexture (this=0x7f3f9c7f1ec0, rhi=0x7f3f9c004830, nativeObjectHandle=18, nativeLayoutOrState=0, nativeFormat=0, size=..., options=..., flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/util/qsgplaintexture.cpp:91 #14 0x00007f3fd6ed087a in QQuickWindowPrivate::createTextureFromNativeTexture (this=0x55ac3786fe60, nativeObjectHandle=18, nativeLayoutOrState=0, nativeFormat=0, size=..., options=..., flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:3342 #15 QQuickWindowPrivate::createTextureFromNativeTexture (this=0x55ac3786fe60, nativeObjectHandle=18, nativeLayoutOrState=0, size=..., options=..., flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow_p.h:187 #16 QNativeInterface::QSGOpenGLTexture::fromNative (textureId=textureId@entry=18, window=<optimized out>, size=..., options=..., options@entry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/coreapi/qsgtexture.cpp:727 Would be nice to know which is the message of the assert (In reply to Marco Martin from comment #1) > Would be nice to know which is the message of the assert Check the Sentry report: QSGRhiLayer: Unsupported size requested: [1897652, 84]. Maximum texture size: 16384 invalid image "EGL_BAD_ALLOC" malloc(): unaligned tcache chunk detected A possibly relevant merge request was started @ https://invent.kde.org/plasma/kpipewire/-/merge_requests/231 Git commit 5bf4669023b51f952adde27b4844bd7545289529 by Harald Sitter. Committed on 16/01/2026 at 14:14. Pushed by sitter into branch 'master'. pipewirestreamsource: initialize some variables this most certainly fixes warnings about invalid texture sizes coming out of Rhi when we use the paintedRect to construct a texture in xdp-kde. specifically what can happens it that we act on a stream object that has no format (yet) and consequently get random dimensions for our paint calculation may also fix a memory corruption bug that intermittently presents for no apparent reason M +2 -2 src/pipewiresourcestream.cpp https://invent.kde.org/plasma/kpipewire/-/commit/5bf4669023b51f952adde27b4844bd7545289529 Hopefully that fixes it; please check again with the public release of Plasma 6.6.0. Thanks! |