PDA

View Full Version : [SOLVED] QNativeImage: Unable to attach to shared memory segment on KDE QT application



baskar007
November 12th, 2015, 07:53 AM
Hi All,

Just 1 week before I updated my 14.04 kubuntu to 15.10 (no pure update, clean install)

Everything looks/works good.

It seems like I am facing QT related bug in app KDE+QT based apps.

I am getting following error & grey screen when opening apps like Klog, qBittorrent, kdialog etc...



QNativeImage: Unable to attach to shared memory segment.
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
QNativeImage: Unable to attach to shared memory segment.
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
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




Regarding grey screen please find attached screenshot with this post.

265514

Do any one know solutions for this issue ?

Thanks in advance.

Baskar M.

baskar007
November 12th, 2015, 01:05 PM
Hi ,

Finally I can fix this issue by disabling MITSHM lib.

This can be done by adding following line to ~/.profile file. (ie: system env var)

QT_X11_NO_MITSHM=1


Thanks.