Fatal crash when travelling on road while high on opium

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

Fatal crash when travelling on road while high on opium

Postby Pills » Tue May 18, 2021 10:03 pm

As the title suggests, get high on opium (even 0.01) and try use a milestone to travel. Crash every time with default client.

Code: Select all
java.lang.IllegalStateException: Value reference output before being constructed
   at haven.render.sl.ValBlock$Value$1.output(ValBlock.java:92)
   at haven.render.sl.Function$Call.output(Function.java:58)
   at haven.render.sl.LBinOp.output(LBinOp.java:51)
   at haven.render.sl.Statement$1.output(Statement.java:37)
   at haven.render.sl.Block.trail(Block.java:117)
   at haven.render.sl.Block.output(Block.java:129)
   at haven.render.sl.Function$Def$Definition.output(Function.java:101)
   at haven.render.sl.Context.output(Context.java:60)
   at haven.render.sl.FragmentContext.construct(FragmentContext.java:61)
   at haven.render.gl.GLProgram.<init>(GLProgram.java:60)
   at haven.render.gl.GLProgram.build(GLProgram.java:141)
   at haven.render.gl.GLEnvironment.getprog(GLEnvironment.java:757)
   at haven.render.gl.Applier.apply2(Applier.java:184)
   at haven.render.gl.Applier.apply(Applier.java:279)
   at haven.render.gl.GLRender.draw(GLRender.java:164)
   at haven.GOut.drawp(GOut.java:224)
   at haven.GOut.drawp(GOut.java:228)
   at haven.GOut.line(GOut.java:243)
   at haven.MapView.drawarrow(MapView.java:1559)
   at haven.MapView.partydraw(MapView.java:1617)
   at haven.MapView.draw(MapView.java:1642)
   at haven.Widget.draw(Widget.java:767)
   at haven.Widget.draw(Widget.java:772)
   at haven.GameUI.draw(GameUI.java:873)
   at haven.Widget.draw(Widget.java:767)
   at haven.Widget.draw(Widget.java:772)
   at haven.RootWidget.draw(RootWidget.java:68)
   at haven.UI.draw(UI.java:221)
   at haven.JOGLPanel.display(JOGLPanel.java:466)
   at haven.JOGLPanel.run(JOGLPanel.java:546)
   at java.base/java.lang.Thread.run(Thread.java:834)
User avatar
Pills
 
Posts: 493
Joined: Thu Apr 04, 2019 1:21 am

Re: Fatal crash when travelling on road while high on opium

Postby Pills » Tue May 18, 2021 10:08 pm

Not sure if its related but the overlay is added to some UI elements like player names and village/realm names.

Image
User avatar
Pills
 
Posts: 493
Joined: Thu Apr 04, 2019 1:21 am

Re: Fatal crash when travelling on road while high on opium

Postby Fostik » Wed Jun 16, 2021 6:21 pm

Bump!
Even sending a message to public chat crashes a client.
Reproduceable on default client.

To reproduce:
1. Get any % of high by opium
2. Write anything to area chat

Code: Select all
java.lang.IllegalStateException: Value reference output before being constructed
   at haven.render.sl.ValBlock$Value$1.output(ValBlock.java:92)
   at haven.render.sl.Function$Call.output(Function.java:58)
   at haven.render.sl.LBinOp.output(LBinOp.java:51)
   at haven.render.sl.Statement$1.output(Statement.java:37)
   at haven.render.sl.Block.trail(Block.java:117)
   at haven.render.sl.Block.output(Block.java:129)
   at haven.render.sl.Function$Def$Definition.output(Function.java:101)
   at haven.render.sl.Context.output(Context.java:60)
   at haven.render.sl.FragmentContext.construct(FragmentContext.java:61)
   at haven.render.gl.GLProgram.<init>(GLProgram.java:60)
   at haven.render.gl.GLProgram.build(GLProgram.java:141)
   at haven.render.gl.GLEnvironment.getprog(GLEnvironment.java:753)
   at haven.render.gl.Applier.apply2(Applier.java:184)
   at haven.render.gl.Applier.apply(Applier.java:279)
   at haven.render.gl.GLRender.draw(GLRender.java:164)
   at haven.GOut.drawp(GOut.java:224)
   at haven.GOut.drawp(GOut.java:228)
   at haven.GOut.frect2(GOut.java:252)
   at haven.GOut.frect(GOut.java:256)
   at haven.Speaking.draw(Speaking.java:55)
   at haven.Speaking.draw(Speaking.java:65)
   at haven.PView$ScreenList.draw(PView.java:344)
   at haven.PView.draw(PView.java:279)
   at haven.MapView.draw(MapView.java:1639)
   at haven.Widget.draw(Widget.java:767)
   at haven.Widget.draw(Widget.java:772)
   at haven.GameUI.draw(GameUI.java:947)
   at haven.Widget.draw(Widget.java:767)
   at haven.Widget.draw(Widget.java:772)
   at haven.RootWidget.draw(RootWidget.java:68)
   at haven.UI.draw(UI.java:221)
   at haven.JOGLPanel.display(JOGLPanel.java:466)
   at haven.JOGLPanel.run(JOGLPanel.java:546)
   at java.lang.Thread.run(Unknown Source)
Known as zunzon. Contact discord: zunzon.
User avatar
Fostik
 
Posts: 2002
Joined: Tue Jul 05, 2011 4:08 pm
Location: EU

Re: Fatal crash when travelling on road while high on opium

Postby Pills » Thu Jun 17, 2021 1:43 am

Yeah, have had several people in our village complain about this crash.
User avatar
Pills
 
Posts: 493
Joined: Thu Apr 04, 2019 1:21 am


Return to Bugs

Who is online

Users browsing this forum: Google [Bot] and 5 guests