Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315071 - Lot of Gdk-WARNING (invalid X atom)
Summary: Lot of Gdk-WARNING (invalid X atom)
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 09:04 EDT by Luca Viggiani CLA
Modified: 2013-12-20 04:48 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Viggiani CLA 2010-05-31 09:04:12 EDT
Build Identifier: 3.5.2 (M20100211-1343)

This started occurring in Ubuntu 10.04 (64bit for me) with Java-SWT applications.
It gives a lot of warnings like this:

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 67108905

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 67108905

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 67108905

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 67108905

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 12884901888

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 67108905

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 67108905

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 1278

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 3195455668224

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 8589934592

(BirdEye:8359): Gdk-WARNING **: /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkproperty-x11.c:325 invalid X atom: 17179869184

I'm using swt-3.5.2-gtk-linux-x86_64.zip package downloaded from the official web page and imported/added to build path as a project in the workspace

Reproducible: Always

Steps to Reproduce:
1.Import swt-3.5.2-gtk-linux-x86_64.zip as a project in the WS
2.Create a program which opens a shell
3.run it
Comment 1 Luca Viggiani CLA 2010-06-04 04:03:21 EDT
Hallo,
I've additional information:
The warnings actually occurs when I create a menu bar for my shell... the accused code is:

Menu menuBar = new Menu(shell, SWT.BAR);

here is the complete code:

public class Main {
	public static void main(String[] args) {
		Display.setAppName("testswt");
		Display display = new Display();
		Shell shell = new Shell(display);
		shell.setText("test");
		
		
		Menu menuBar = new Menu(shell, SWT.BAR); // comment this to prevent wornings
		
		shell.open();
		
		while (!shell.isDisposed()) {
	    	if (!display.readAndDispatch())
	    		display.sleep();
	    }
		display.dispose();
	}
}

PLEASE HELP!!!
Comment 2 Alexander Kurtakov CLA 2013-12-20 04:48:16 EST
I can not reproduce this with Luna stream. Closing. Please reopen if you still experience it with more details.