Bug 446822

Summary: Crash of Plasmashell in QSGOpenGLAtlasTexture::Texture::~Texture() when running Discover or clicking task manager
Product: [Plasma] plasmashell Reporter: Gabriel <gabriel>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Severity: crash CC: kde, nate, nicolas.fella, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.23.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
Second crash log

Description Gabriel 2021-12-11 10:16:25 UTC
Application: plasmashell (5.23.4)

Qt Version: 5.15.3
Frameworks Version: 5.88.0
Operating System: Linux 5.11.0-41-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I had just opened Discover and made a search. At the same time as the update notifier triggered, I was clicking on a program in the task manager to see an update in it. That's when Plasmashell crashed for me.

I hope any of these bits of information are relevant and helpful. Feel free to ask anything and I'll try my best.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#4  QSGAreaAllocator::deallocateInNode(QPoint const&, QSGAreaAllocatorNode*) (this=this@entry=0x7fe47812fd90, pos=..., node=0x18) at scenegraph/util/qsgareaallocator.cpp:170
#5  0x00007fe4efe2ddaa in QSGAreaAllocator::deallocate(QRect const&) (this=this@entry=0x7fe47812fd90, rect=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpoint.h:124
#6  0x00007fe4efe34583 in QSGOpenGLAtlasTexture::AtlasBase::remove(QSGOpenGLAtlasTexture::TextureBase*) (this=0x7fe47812fd80, t=0x7fe4789fb6c0) at scenegraph/util/qsgopenglatlastexture.cpp:286
#7  0x00007fe4efe346c1 in QSGOpenGLAtlasTexture::Texture::~Texture() (this=0x7fe4789fb6c0, __in_chrg=<optimized out>) at scenegraph/util/qsgopenglatlastexture.cpp:516
#8  0x00007fe4efe346dd in QSGOpenGLAtlasTexture::Texture::~Texture() (this=0x7fe4789fb6c0, __in_chrg=<optimized out>) at scenegraph/util/qsgopenglatlastexture.cpp:539

Reported using DrKonqi
Comment 1 Gabriel 2021-12-11 10:16:26 UTC
Created attachment 144445 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2021-12-14 18:29:22 UTC
Seems graphics-related, not sure what to do with this one.
Comment 3 Gabriel 2021-12-15 01:15:04 UTC
Whelp, if that is the case then it might be because of Nvidia. If so, then maybe there's not much that could be done about it. :^/
Comment 4 David Edmundson 2021-12-15 10:16:59 UTC Comment hidden (spam)
Comment 5 David Edmundson 2021-12-15 10:18:17 UTC
No. It's in QSG, which is a layer above graphics.

It'll be some graphics nodes being not cleared up by the scene graph correctly for some reason. We had a theory for wallpapers, but your triggering symptoms don't quite add up with that.
Comment 6 Gabriel 2022-01-07 14:37:34 UTC
Created attachment 145191 [details]
Second crash log

Not sure if it is useful, but a similar crash occurred again a week ago. I saved the crash log to share here. Discover was not involved. Plasmashell did restart itself, but went down completely about an hour later, leaving only my open windows visible. I can't say what caused it.
Comment 7 Nicolas Fella 2022-01-20 15:36:54 UTC

*** This bug has been marked as a duplicate of bug 445893 ***