FS#45794 - [xf86-video-intel] shmget failed: error 28 (No space left on device)

Attached to Project: Arch Linux
Opened by Martin Zajíc (zajca) - Monday, 27 July 2015, 13:06 GMT
Last edited by Laurent Carlier (lordheavy) - Thursday, 30 July 2015, 10:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
With last kernel I started getting this error on some gtk and QT apps, application are imposible to use sice they are rendered totaly wrong. This never happened to me before. Mainly I have problem with keepassx (GTK) and VirtualBox (QT).

keepassX:
[code]
QNativeImage: Unable to attach to shared memory segment.

(keepassx:18324): Gdk-WARNING **: shmget failed: error 28 (No space left on device)
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
[/code]

VirtualBox:
[code]
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Qt WARNING: QNativeImage: Unable to attach to shared memory segment.

(VirtualBox:18190): Gdk-WARNING **: shmget failed: error 28 (No space left on device)
Qt WARNING: X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
[/code]

I'm not sure if it's kernel problem or graphic driver.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Thursday, 30 July 2015, 10:22 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#45824 
Comment by Martin Zajíc (zajca) - Monday, 27 July 2015, 13:09 GMT
Of course I have updated system kernel 4.1.2-2-ARCH. And HW is Intel Core i5-4440
Comment by Doug Newgard (Scimmia) - Monday, 27 July 2015, 14:23 GMT
Have you tried changing the acceleration method?
https://wiki.archlinux.org/index.php/Intel_graphics#SNA_issues
Comment by Martin Zajíc (zajca) - Tuesday, 28 July 2015, 11:34 GMT
I switch to uxa, without change.
This is how applications looks like: http://i.imgur.com/DX3GPok.png
Comment by Judju (captainju) - Tuesday, 28 July 2015, 12:01 GMT
same problem here
Linux ping 4.1.2-2-ARCH #1 SMP PREEMPT Wed Jul 15 08:30:32 UTC 2015 x86_64 GNU/Linux
qt4 4.8.7-2
xf86-video-intel 1:2.99.917+381+g5772556-1
Comment by Alfred Krohmer (devkid) - Tuesday, 28 July 2015, 19:57 GMT
Having the same problem on nVidia hardware.

> uname -a
Linux desktop 4.1.2-2-ARCH #1 SMP PREEMPT Wed Jul 15 08:30:32 UTC 2015 x86_64 GNU/Linux

VLC and Skype give some strange UI glitches after a short time after being started.
Comment by Jan de Groot (JGC) - Wednesday, 29 July 2015, 08:38 GMT
Usually this error means your allowed SHM size is exhausted. Something on your system is allocating or leaking SHM.
Comment by Daniel Wood (danwood76) - Wednesday, 29 July 2015, 11:33 GMT
I experienced this bug a few times just now (intel i7-4770), at first I rebooted which solved it.
However this time I closed Netbeans which seems to have cured it, so maybe its related to Java?
Comment by Alfred Krohmer (devkid) - Wednesday, 29 July 2015, 17:51 GMT
Same for me, this started to happen after the update yesterday.

I noted that
$ ipcs -m
shows an execessive amount of shared memory segments (all marked as dest=destroyed). Is there a way to find out where these come from?
Comment by Jan de Groot (JGC) - Wednesday, 29 July 2015, 20:39 GMT
Is  FS#45824  related to your problem?
Comment by Alfred Krohmer (devkid) - Wednesday, 29 July 2015, 21:54 GMT
Might be related, I didn't use any Java program today and didn't notice any misbehaviour.
Comment by Ondřej Hruška (MightyPork) - Thursday, 30 July 2015, 07:55 GMT
I think my  FS#45824  indeed duplicates this, though with different symptoms.
Can you try downgrading openjdk7 to see if the same fix works?
Comment by Martin Zajíc (zajca) - Thursday, 30 July 2015, 08:34 GMT
I'll try next week at work downgrade java. I'm using PHPStorm so java is in game.
Comment by Judju (captainju) - Thursday, 30 July 2015, 08:42 GMT
downgrading openjdk7 worked for me, no more shmget fails.

Loading...