QNativeImage: Unable to attach to shared memory segment
Issue #169
resolved
Right after today's automatic update to Ubuntu 14.04, starting FlatCAM yields:
QNativeImage: Unable to attach to shared memory segment.
(python:17533): 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
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
This is today's entry in /var/log/apt/history.log:
Start-Date: 2015-10-27 09:21:52
Commandline: aptdaemon role='role-commit-packages' sender=':1.589'
Upgrade: python3-problem-report:amd64 (2.14.1-0ubuntu3.15, 2.14.1-0ubuntu3.16), libnm-gtk0:amd64 (0.9.8.8-0ubuntu4.3, 0.9.8.8-0ubuntu4.4), python3.4:amd64 (3.4.3-1ubuntu1~14.04.1, 3.4.3-1ubuntu1~14.04.3), google-chrome-stable:amd64 (46.0.2490.71-1, 46.0.2490.80-1), indicator-session:amd64 (12.10.5+14.04.20150404-0ubuntu1, 12.10.5+14.04.20151008-0ubuntu1), python3.4-minimal:amd64 (3.4.3-1ubuntu1~14.04.1, 3.4.3-1ubuntu1~14.04.3), libpython3.4-stdlib:amd64 (3.4.3-1ubuntu1~14.04.1, 3.4.3-1ubuntu1~14.04.3), libpython3.4:amd64 (3.4.3-1ubuntu1~14.04.1, 3.4.3-1ubuntu1~14.04.3), network-manager-gnome:amd64 (0.9.8.8-0ubuntu4.3, 0.9.8.8-0ubuntu4.4), libnm-gtk-common:amd64 (0.9.8.8-0ubuntu4.3, 0.9.8.8-0ubuntu4.4), libpython3.4-minimal:amd64 (3.4.3-1ubuntu1~14.04.1, 3.4.3-1ubuntu1~14.04.3), mysql-common:amd64 (5.5.44-0ubuntu0.14.04.1, 5.5.46-0ubuntu0.14.04.2), libmysqlclient18:amd64 (5.5.44-0ubuntu0.14.04.1, 5.5.46-0ubuntu0.14.04.2), libmysqlclient18:i386 (5.5.44-0ubuntu0.14.04.1, 5.5.46-0ubuntu0.14.04.2), apport-gtk:amd64 (2.14.1-0ubuntu3.15, 2.14.1-0ubuntu3.16), apport:amd64 (2.14.1-0ubuntu3.15, 2.14.1-0ubuntu3.16), python3-apport:amd64 (2.14.1-0ubuntu3.15, 2.14.1-0ubuntu3.16), berkeley-abc:amd64 (1.01+20150424hg779de2d+dfsg-1trusty, 1.01+20150706hgc3698e0+dfsg-2trusty)
End-Date: 2015-10-27 09:22:52
Start-Date: 2015-10-28 09:26:06
Commandline: aptdaemon role='role-commit-packages' sender=':1.109'
Install: libsctp1:amd64 (1.0.15+dfsg-1), lksctp-tools:amd64 (1.0.15+dfsg-1, automatic)
Upgrade: python3-problem-report:amd64 (2.14.1-0ubuntu3.16, 2.14.1-0ubuntu3.18), openjdk-7-jdk:amd64 (7u79-2.5.6-0ubuntu1.14.04.1, 7u85-2.6.1-5ubuntu0.14.04.1), openjdk-7-jre-headless:amd64 (7u79-2.5.6-0ubuntu1.14.04.1, 7u85-2.6.1-5ubuntu0.14.04.1), openjdk-7-jre:amd64 (7u79-2.5.6-0ubuntu1.14.04.1, 7u85-2.6.1-5ubuntu0.14.04.1), apport-gtk:amd64 (2.14.1-0ubuntu3.16, 2.14.1-0ubuntu3.18), apport:amd64 (2.14.1-0ubuntu3.16, 2.14.1-0ubuntu3.18), python3-apport:amd64 (2.14.1-0ubuntu3.16, 2.14.1-0ubuntu3.18), ntpdate:amd64 (4.2.6.p5+dfsg-3ubuntu2.14.04.3, 4.2.6.p5+dfsg-3ubuntu2.14.04.5)
End-Date: 2015-10-28 09:26:46
Comments (3)
-
reporter -
reporter Nope, the problem occurred again. Seems related to Java. Started FlatCAM within PyCharm and the problem happened. Closed PyCharm, started FlatCAM from the terminal and it was okay. Started PyCharm again, FlatCAM was okay both from within PyCharm and the terminal.
Note there was an update to openJDK-7 (Java) this morning.
-
reporter - changed status to resolved
Not a problem with FlatCAM: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2015-October/033781.html
I personally downgraded OpenJDK and haven't had the problem again.
- Log in to comment
Rebooting seems to have solved the problem.