Bug 506652

Summary: Confirmation Of 506642
Product: [Plasma] plasmashell Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 6.4.1   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Roke Julian Lockhart Beedell 2025-07-05 20:40:53 UTC
Application: plasmashell (6.4.1)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.15.0
Operating System: Linux 6.15.4-200.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.4.1 [CoredumpBackend]

-- Information about the crash:
As explained at https://bugzilla.redhat.com/show_bug.cgi?id=2376531#c0, since I filed https://bugs.kde.org/show_bug.cgi?id=506642#c0, I've realised that closing "Quick Settings" too quickly after selecting "Apply", when I've selected a new global theme, causes the shell and application style to become inconsistent, which causes the shell to crash.

# Reproduction

1. Open "Quick Settings".

2. Select a new global theme.

3. Tentatively select "Apply" with your keyboard (as if you had hovered over it with your cursor).

4. Place your cursor over the window closure button.

5. Press "Enter" (or, maybe, the space bar), and really quickly afterward, close the window.

This shan't work 100% of the time.

# Environment

> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.4.1
> KDE Frameworks Version: 6.15.0
> Qt Version: 6.9.1
> Kernel Version: 6.15.4-200.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
> Memory: 32 GiB of RAM (30.6 GiB usable)
> Graphics Processor: AMD Radeon 780M Graphics
> Manufacturer: Framework
> Product Name: Laptop 16 (AMD Ryzen 7040 Series)
> System Version: A7
> ~~~

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007fd3524811e3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007fd352427afe in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fd35240f6d0 in __GI_abort () at abort.c:73
#9  0x00007fd3524106f3 in __libc_message_impl (fmt=fmt@entry=0x7fd3525c248c "%s\n") at ../sysdeps/posix/libc_fatal.c:134
#10 0x00007fd35248b275 in malloc_printerr (str=str@entry=0x7fd3525c5498 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5829
#11 0x00007fd35248bf4c in malloc_consolidate (av=av@entry=0x7fd3525f6ac0 <main_arena>) at malloc.c:4903
#12 0x00007fd35248e9b0 in _int_malloc (av=0x7fd3525f6ac0 <main_arena>, bytes=1064) at malloc.c:4099
#13 0x00007fd35248fe6e in __GI___libc_malloc (bytes=1064) at malloc.c:3414
#14 0x00007fd352c41f99 in allocateData (allocSize=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:139
#15 allocateHelper (objectSize=2, alignment=16, capacity=523, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:181
#16 allocateHelper (objectSize=2, alignment=16, capacity=140729922171856, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:157
#17 QArrayData::allocate2 (dptr=dptr@entry=0x7ffe3d0533d0, capacity=capacity@entry=523, option=option@entry=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:220
#18 0x00007fd352c04c52 in QTypedArrayData<char16_t>::allocate (capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.h:139
#19 QArrayDataPointer<char16_t>::QArrayDataPointer (this=<optimized out>, alloc=<optimized out>, n=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydatapointer.h:58
#20 QString::QString (this=this@entry=0x7ffe3d0534c0, size=size@entry=523) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/text/qstring.cpp:2541


Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2025-07-05 20:40:55 UTC
Created attachment 182987 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Roke Julian Lockhart Beedell 2025-07-05 20:43:10 UTC
Same cause, albeit different trace, to https://bugs.kde.org/show_bug.cgi?id=506642.

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