Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEWT errors when closing sketch on Linux #1651

Closed
benfry opened this issue Feb 23, 2013 · 5 comments
Closed

NEWT errors when closing sketch on Linux #1651

benfry opened this issue Feb 23, 2013 · 5 comments
Assignees
Labels
critical Highest possible priority for the next release linux opengl wontfix

Comments

@benfry
Copy link
Contributor

benfry commented Feb 23, 2013

When running a static mode sketch with the current build, or when hitting the close box on a sketch with a draw() method, getting a lot of error messages:

Smooth is not supported by this hardware (or driver)
X11Util.Display: Shutdown (JVM shutdown: false, open (no close attempt): 4/4, reusable (open, marked uncloseable): 0, pending (open in creation order): 4)
X11Util: Open X11 Display Connections: 4
X11Util: Open[0]: NamedX11Display[:0.0, 0x910d458, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:0.0, 0x94b5340, refCount 1, unCloseable false]
X11Util: Open[2]: NamedX11Display[:0.0, 0x98a4890, refCount 1, unCloseable false]
X11Util: Open[3]: NamedX11Display[:0.0, 0x90e2470, refCount 1, unCloseable false]
X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 4/4, reusable (open, marked uncloseable): 0, pending (open in creation order): 4)
X11Util: Open X11 Display Connections: 4
X11Util: Open[0]: NamedX11Display[:0.0, 0x910d458, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:0.0, 0x94b5340, refCount 1, unCloseable false]
X11Util: Open[2]: NamedX11Display[:0.0, 0x98a4890, refCount 1, unCloseable false]
X11Util: Open[3]: NamedX11Display[:0.0, 0x90e2470, refCount 1, unCloseable false]

Might just be related to issue #1648.This is Ubuntu 10.04 (32-bit) under VMware.

@ghost ghost assigned codeanticode May 12, 2013
@benfry
Copy link
Contributor Author

benfry commented May 12, 2013

Perhaps not a problem anymore?

@kles4enko
Copy link

I have the same problem.

I always see this when put "Esc" button for exit:

NEWT X11 Key: keyCode 0x9 keySym 0xFF1B (shifted: 0xFF1B), keyChar '�', javaVKey[US 0x1B, NN 0x1B]
X11Util.Display: Shutdown (JVM shutdown: false, open (no close attempt): 4/4, reusable (open, marked uncloseable): 0, pending (open in creation order): 4)
X11Util: Open X11 Display Connections: 4
X11Util: Open[0]: NamedX11Display[:1.0, 0x7ff5680c25f0, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:1.0, 0x7ff5680cf190, refCount 1, unCloseable false]
X11Util: Open[2]: NamedX11Display[:1.0, 0x7ff5542f5a40, refCount 1, unCloseable false]
X11Util: Open[3]: NamedX11Display[:1.0, 0x7ff5699aab60, refCount 1, unCloseable false]
X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 4/4, reusable (open, marked uncloseable): 0, pending (open in creation order): 4)
X11Util: Open X11 Display Connections: 4
X11Util: Open[0]: NamedX11Display[:1.0, 0x7ff5680c25f0, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:1.0, 0x7ff5680cf190, refCount 1, unCloseable false]
X11Util: Open[2]: NamedX11Display[:1.0, 0x7ff5542f5a40, refCount 1, unCloseable false]
X11Util: Open[3]: NamedX11Display[:1.0, 0x7ff5699aab60, refCount 1, unCloseable false]


OS: openSuse 12.3 x64

@aengelke
Copy link
Contributor

The problem occours also by pressing the close button of the window or Alt+F4.


OS: Fedora 18 32bit

@codeanticode
Copy link
Member

On Ubuntu 12.10 64bit, Radeon HD 6670, latest GL drivers, and AWT as windowing toolkit. Closing the sketch from the PDE pressing the stop button doesn't generate any errors, while closing the sketch by hitting the close button on the output window of the sketch give the following message:

X11Util.Display: Shutdown (JVM shutdown: false, open (no close attempt): 1/1, reusable (open, marked uncloseable): 1, pending (open in creation order): 2)
X11Util: Open X11 Display Connections: 1
X11Util: Open[0]: NamedX11Display[:0.0, 0x7fc94c1c0f50, refCount 1, unCloseable true]

I don't really know why this message is shown, and tried a couple of things to make it go away (removing the GLProfile.shutdown() call in PGL for example). Running a simple JOGL sample program (https://github.com/codeanticode/jogl2-tests/blob/master/src/test/animator/AnimatorAWT.java) generates the same error message, which seems to be generated by the GLProfile.shutdown() call itself. However, this call appears happen regardless of whether is invoked explicitly or not in the code, so it seems JOGL does it automatically. My conclusion is that the error is due to some issue in JOGL itself, so I'm unable to fix it in Processing.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Highest possible priority for the next release linux opengl wontfix
Projects
None yet
Development

No branches or pull requests

4 participants