<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://www.seatribe.se/bt/bugzilla.dtd">

<bugzilla version="4.2"
          urlbase="http://www.seatribe.se/bt/"
          
          maintainer="fredrik@dolda2000.com"
>

    <bug>
          <bug_id>67</bug_id>
          
          <creation_ts>2012-10-03 08:20:00 +0200</creation_ts>
          <short_desc>Wood pile lighting crash.</short_desc>
          <delta_ts>2012-10-05 07:24:59 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Salem</product>
          <component>Client</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Velddrinn">velddrinn</reporter>
          <assigned_to name="loftar">fredrik</assigned_to>
          

      

      

      

          <long_desc isprivate="0">
            <commentid>218</commentid>
            <who name="Velddrinn">velddrinn</who>
            <bug_when>2012-10-03 08:20:12 +0200</bug_when>
            <thetext>After lighting a wood pile, game crashed. Now it crashes every time I login near that burning wood pile.

javax.media.opengl.GLException: haven.GOut$GLException: GL Error: 1280 (invalid enumerant)
	at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
	at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
	at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
	at haven.HavenPanel.uglyjoglhack(HavenPanel.java:382)
	at haven.HavenPanel.run(HavenPanel.java:416)
	at java.lang.Thread.run(Unknown Source)
Caused by: haven.GOut$GLException: GL Error: 1280 (invalid enumerant)
	at haven.GOut.checkerr(GOut.java:84)
	at haven.Light$LightList.unapply(Light.java:343)
	at haven.GLState$Applier.apply(GLState.java:433)
	at haven.GOut.apply(GOut.java:160)
	at haven.TexGL.render(TexGL.java:281)
	at haven.Tex.crender(Tex.java:89)
	at haven.Tex.crender(Tex.java:93)
	at haven.GOut.image(GOut.java:118)
	at haven.MenuGrid.draw(MenuGrid.java:157)
	at haven.Widget.draw(Widget.java:468)
	at haven.Widget.draw(Widget.java:473)
	at haven.GameUI.draw(GameUI.java:310)
	at haven.Widget.draw(Widget.java:468)
	at haven.Widget.draw(Widget.java:473)
	at haven.RootWidget.draw(RootWidget.java:61)
	at haven.UI.draw(UI.java:135)
	at haven.HavenPanel.redraw(HavenPanel.java:270)
	at haven.HavenPanel$1.display(HavenPanel.java:88)
	at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
	at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
	at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
	at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$400(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.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)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>219</commentid>
            <who name="loftar">fredrik</who>
            <bug_when>2012-10-04 04:05:21 +0200</bug_when>
            <thetext>Please run the console command &quot;:applydb on&quot; before making the client crash to see if that produces a more meaningful stacktrace.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>221</commentid>
            <who name="Velddrinn">velddrinn</who>
            <bug_when>2012-10-05 06:59:14 +0200</bug_when>
            <thetext>Done, here`s what I got.

Checked this on another PC, everything works perfectly there. A glitch of integrated Intel video, maybe? DQ35MP motherboard.

javax.media.opengl.GLException: haven.GLState$Applier$ApplyException: Error in unapply of haven.ActAudio@19d6193
	at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
	at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
	at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
	at haven.HavenPanel.uglyjoglhack(HavenPanel.java:383)
	at haven.HavenPanel.run(HavenPanel.java:417)
	at java.lang.Thread.run(Unknown Source)
Caused by: haven.GLState$Applier$ApplyException: Error in unapply of haven.ActAudio@19d6193
	at haven.GLState$Applier.stcheckerr(GLState.java:490)
	at haven.GLState$Applier.apply(GLState.java:436)
	at haven.GOut.apply(GOut.java:160)
	at haven.TexGL.render(TexGL.java:281)
	at haven.Tex.crender(Tex.java:89)
	at haven.Tex.crender(Tex.java:93)
	at haven.GOut.image(GOut.java:151)
	at haven.Window.draw(Window.java:107)
	at haven.ToolBeltWdg.draw(ToolBeltWdg.java:192)
	at haven.Widget.draw(Widget.java:468)
	at haven.Widget.draw(Widget.java:473)
	at haven.GameUI.draw(GameUI.java:361)
	at haven.Widget.draw(Widget.java:468)
	at haven.Widget.draw(Widget.java:473)
	at haven.RootWidget.draw(RootWidget.java:63)
	at haven.UI.draw(UI.java:140)
	at haven.HavenPanel.redraw(HavenPanel.java:271)
	at haven.HavenPanel$1.display(HavenPanel.java:88)
	at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
	at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
	at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
	at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$400(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.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$GLException: GL Error: 1280 (invalid enumerant)
	at haven.GOut.checkerr(GOut.java:84)
	at haven.GLState$Applier.stcheckerr(GLState.java:488)
	... 35 more</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>222</commentid>
            <who name="loftar">fredrik</who>
            <bug_when>2012-10-05 07:08:57 +0200</bug_when>
            <thetext>There clearly are glitches with Intel integrated graphics, for sure (as is well documented on the forums), but it&apos;s very unclear what, and unfortunately even that backtrace doesn&apos;t help a lot. I&apos;m fairly sure the real cause of the error is completely outside that rendering routine, and it&apos;s just a matter of the error not being detected until state application occurs. Unfortunately, I can&apos;t think of where that would be.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>