Bug 471903 - plasma-org.kde.plasma.desktop-appletsrc generates crash in plasma applications, because "screenMapping" variable has excessive length
Summary: plasma-org.kde.plasma.desktop-appletsrc generates crash in plasma application...
Status: RESOLVED DUPLICATE of bug 469445
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.27.5
Platform: Debian unstable Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 13:52 UTC by antonio
Modified: 2023-09-13 18:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description antonio 2023-07-03 13:52:27 UTC
Hi,
after making routine updates on Debian, the malfunction indicated above is occurred:
	__vm_enough_memory: pid: nnnn, comm: plasmashell, not enough memory for the allocation

I thought it was a problem related to the new library installed, so I reported the bug:
	https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040140

However, after some tests, I checked that the problem seems to depend on the processes that manage the file:
	~/.config/plasma-org.kde.plasma.desktop-appletsrc
	
since they do not control the maximum length of the "screenmapping" variable, which over time can increase drastically (as in my case) and generate the problem.

I noticed that if this variable is removed, everything works well.

I wanted to ask if a check on the max length of this variable can be inserted, to avoid future problems (or if you can tell me how to disable this behavior).

Thanks,
Antonio


SOFTWARE/OS VERSIONS

Operating System: Debian GNU/Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.8
Kernel Version: 6.4.1-1-liquorix-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Xeon® CPU E31245 @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVD9
Manufacturer: Dell Inc.
Product Name: Precision T1600
System Version: 01
Comment 1 Nate Graham 2023-09-13 18:46:08 UTC

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