Bug 351202

Summary: KDE isn't drawing menus and folders correctly
Product: [I don't know] kde Reporter: David <psychicsurgeon>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: grave CC: nate, nemesis
Priority: NOR    
Version: 4.14.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://www.reddit.com/r/kde/comments/3fcc4n/kde_isnt_drawing_menus_and_folders_correctly/
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David 2015-08-11 21:49:17 UTC
Described in the screen shot and attached reddit post.

Reproducible: Sometimes

Steps to Reproduce:
1. Use KDE for an undetermined amount of time
2. Error appears
3.



This is from my ~/.xsession-errors file while I open up dolphin and mouse over the contents of the folder.

kio_file(6972) kdemain: Starting 6972
QNativeImage: Unable to attach to shared memory segment. 
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x0

There are MANY more lines than this. This is just the first handful.
Comment 1 nemesis 2015-11-10 04:52:01 UTC
Check:
ipcs -m | wc -l
vs
cat /proc/sys/kernel/shmmni

If close or over, increase the latter.

You can use ipcs -pm to try to figure out which processes are allocating too many shared memory segments instead of using larger, merged segments.
Comment 2 Nate Graham 2020-09-29 19:15:09 UTC
Is this still happening in a recent version of Plasma, such as 5.19 or later?
Comment 3 Bug Janitor Service 2020-10-14 04:33:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2020-10-29 04:33:46 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!