Crashed milliseconds after logging in (GL Error: 1282)

The worst monsters in the Hearthlands warp the fabric of space and time...

Re: Crashed milliseconds after logging in (OpenGL error)

Postby AltiaElf » Sun Aug 30, 2015 1:26 pm

I have the same. out of blue after 1 or 2 hours playing. Doesn't work anymore at all... Re-installed everything,rebooted, nothing helped. :?
AltiaElf
 
Posts: 1
Joined: Sun Aug 30, 2015 10:54 am

Re: Crashed milliseconds after logging in (OpenGL error)

Postby Altia_Elf » Sun Aug 30, 2015 3:16 pm

I Updated all drivers, tried several clients (all taken from this forum), but nothing works. I'mstill getting that crash report immediately after logging in.
System: Win7
Java was updated and even re-installed today...

Sometimes there is no crash report, only that black screen with cursor.
Altia_Elf
 
Posts: 2
Joined: Sat Aug 29, 2015 7:06 pm

Re: Crashed milliseconds after logging in (GL Error: 1282)

Postby jorb » Sat Sep 05, 2015 4:11 pm

Seems common enough. Sticky until fixed.
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose
User avatar
jorb
 
Posts: 18436
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: Crashed milliseconds after logging in (GL Error: 1282)

Postby jorb » Sat Sep 05, 2015 4:33 pm

Merged some others in here.
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose
User avatar
jorb
 
Posts: 18436
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: Crashed milliseconds after logging in (GL Error: 1282)

Postby Audiosmurf » Wed Sep 09, 2015 11:25 pm

Just received this error code. Exact course of events was: accidently double clicked on the window, shrinking it. Proceeded to accidentally right click on the game screen, crash and error.

Error readout:

Code: Select all
java.lang.RuntimeException: haven.BGL$BGLException: haven.GOut$GLInvalidOperationException: GL Error: 1282 (invalid operation)
   at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
   at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
   at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
   at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
   at javax.media.opengl.Threading.invoke(Threading.java:191)
   at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
   at haven.HavenPanel$6.uglyjoglhack(HavenPanel.java:477)
   at haven.HavenPanel$6.run(HavenPanel.java:511)
   at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: haven.GOut$GLInvalidOperationException: GL Error: 1282 (invalid operation)
   at haven.BGL.run(BGL.java:93)
   at haven.HavenPanel.redraw(HavenPanel.java:421)
   at haven.HavenPanel$1.display(HavenPanel.java:104)
   at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
   at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
   at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
   at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
   at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
   at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: haven.GOut$GLInvalidOperationException: GL Error: 1282 (invalid operation)
   at haven.GOut.glexcfor(GOut.java:149)
   at haven.GOut.checkerr(GOut.java:160)
   at haven.BGL$1.run(BGL.java:119)
   at haven.BGL.run(BGL.java:87)
   ... 22 more
jorb wrote:Audiosmurf isis a fantastic poster/genius and his meatintellect is huge

NORMALIZE IT
banok wrote:i've been playing hnh thru 10 years of involuntary celibacy and I always build my palisade in 5 minutes so if a new player cant figure it out straight away they can get fucked and chug bleach
User avatar
Audiosmurf
 
Posts: 2382
Joined: Fri Jul 02, 2010 9:00 pm
Location: Ice Hell

Re: Crashed milliseconds after logging in (GL Error: 1282)

Postby Coriander » Mon Sep 14, 2015 2:39 pm

Java is crashing for me as well, so far, only when I am inside the lob cabin. It appears to do so especially when curios expire at log in, or while playing when I open or close a cupboard.

Error code:

java.lang.RuntimeException: haven.BGL$BGLException: haven.GOut$GLInvalidOperationException: GL Error: 1282 (invalid operation)
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at haven.HavenPanel$6.uglyjoglhack(HavenPanel.java:441)
at haven.HavenPanel$6.run(HavenPanel.java:472)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: haven.GOut$GLInvalidOperationException: GL Error: 1282 (invalid operation)
at haven.BGL.run(BGL.java:80)
at haven.HavenPanel.redraw(HavenPanel.java:387)
at haven.HavenPanel$1.display(HavenPanel.java:102)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: haven.GOut$GLInvalidOperationException: GL Error: 1282 (invalid operation)
at haven.GOut.glexcfor(GOut.java:128)
at haven.GOut.checkerr(GOut.java:137)
at haven.BGL$1.run(BGL.java:104)
at haven.BGL.run(BGL.java:78)
... 22 more

I have Windows 10 OS and Java version 8 update 60
When the all cutting blade meets the uncuttable stone - at times, the blade is sharpened
User avatar
Coriander
 
Posts: 277
Joined: Sat Jun 06, 2009 10:52 pm
Location: minnesota

Re: Crashed milliseconds after logging in (GL Error: 1282)

Postby loftar » Tue Sep 15, 2015 3:24 am

I finally managed to get the error reporter fixed again so that I could have a more proper look at this bug, but I must admit it perplexes me. I cannot find anything in there that should cause an "invalid operation" error (though OpenGL's rather spartan error handling doesn't exactly help). I'll be trying to put more fine-grained error-checking in there to try and narrow down what exactly goes wrong.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Crash right after login

Postby romovs » Tue Sep 15, 2015 10:10 am

loftar wrote:I know there is a bug that triggers sometimes when you resize the window, but I find it fairly rare, and haven't managed to track down its cause yet.


I have this fully reproducible on a Windows machine. Happens with two different GPUs too.
Is there anything I can do to help debug this further?
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Crashed milliseconds after logging in (GL Error: 1282)

Postby marvi » Tue Sep 15, 2015 12:58 pm

It happens all the time for me when I resize game window.

I run the game with jogl.debug.DebugGL enabled and got this:
Code: Select all
GLDebugEvent[ id 0x502
   type Error
   severity High: dangerous undefined behavior
   source GL API
   msg GL_INVALID_OPERATION error generated. Framebuffer name must be generated before being bound.
   when 1442316897932
   source 4.5 (Compat profile, arb, debug, ES2 compat, ES3 compat, FBO, hardware) - 4.5.0 NVIDIA 355.60 - hash 0x765d42d]
java.lang.Exception: Stack trace
   at java.lang.Thread.dumpStack(Unknown Source)
   at jogamp.opengl.GLDebugMessageHandler$StdErrGLDebugListener.messageSent(GLDebugMessageHandler.java:308)
   at jogamp.opengl.GLDebugMessageHandler.sendMessage(GLDebugMessageHandler.java:293)
   at jogamp.opengl.GLDebugMessageHandler.glDebugMessageARB(GLDebugMessageHandler.java:319)
   at jogamp.opengl.gl4.GL4bcImpl.dispatch_glBindFramebuffer1(Native Method)
   at jogamp.opengl.gl4.GL4bcImpl.glBindFramebuffer(GL4bcImpl.java:404)
   at javax.media.opengl.DebugGL4bc.glBindFramebuffer(DebugGL4bc.java:28621)
   at haven.BGL$11.run(BGL.java:177)
   at haven.BGL.run(BGL.java:79)
   at haven.HavenPanel.redraw(HavenPanel.java:394)
   at haven.HavenPanel$1.display(HavenPanel.java:102)

Still not sure how to properly fix this, but this hack allows me to resize window without any crashes: https://gist.github.com/k-t/b640435e931fd71fa6c1

Edit. Actually it doesn't matter whether I run Thread.sleep before/after glBindFramebuffer or anywhere else. Obviously there is some weird race condition.

Edit 2. During debugging I noticed that same FBO is deleted twice. Seems like this patch fixes it for me: https://gist.github.com/k-t/57bc235c94ec3d29e1ef
Last edited by marvi on Tue Sep 15, 2015 4:05 pm, edited 2 times in total.
marvi
 
Posts: 138
Joined: Thu Feb 18, 2010 3:41 pm

Re: Crashed milliseconds after logging in (GL Error: 1282)

Postby Coriander » Tue Sep 15, 2015 3:39 pm

I was able to recreate the crash twice more yesterday, the second error report was a bit different and I have not yet checked the third. Would the slightly different reports be helpful to post?

The only thing the same in all cases was being inside the cabin. I am collecting resources to build a second cabin to see if I get the same issues there.

Awesome game btw. It is really great seeing H&H finally living up to it's potential!
When the all cutting blade meets the uncuttable stone - at times, the blade is sharpened
User avatar
Coriander
 
Posts: 277
Joined: Sat Jun 06, 2009 10:52 pm
Location: minnesota

PreviousNext

Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 4 guests