Game is Crashing

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

Game is Crashing

Postby Lordeaux » Thu Jul 09, 2020 7:55 am

I have been playing the game for some weeks and it was all right, there wasn't any problem playing it all (except for the sound), but today's afternoon (BR Time), strangely the game began to crash for no apparent reason. When I play for a certain time, about 3 to 6 minutes, the game crashes, again and again.

Error:
Image

Image

Image


All details text as it shows:
haven.render.gl.GLObject$UseAfterFreeException: already disposed
at haven.render.gl.GLObject.get(GLObject.java:84)
at haven.render.gl.GLDrawList.getvao(GLDrawList.java:807)
at haven.render.gl.GLDrawList.access$1100(GLDrawList.java:37)
at haven.render.gl.GLDrawList$SlotRender.draw(GLDrawList.java:844)
at haven.FastMesh.draw(FastMesh.java:102)
at haven.render.gl.GLDrawList$DrawSlot.<init>(GLDrawList.java:357)
at haven.render.gl.GLDrawList.add(GLDrawList.java:953)
at haven.ShadowMap$ShadowList.add(ShadowMap.java:136)
at haven.render.InstanceList.lambda$cladd$0(InstanceList.java:493)
at java.util.ArrayList.forEach(Unknown Source)
at haven.render.InstanceList.cladd(InstanceList.java:493)
at haven.render.InstanceList.add0(InstanceList.java:526)
at haven.render.InstanceList.add(InstanceList.java:592)
at haven.render.RenderTree$Client.added(RenderTree.java:62)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:432)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.render.Pipe$Op$Wrapping.added(Pipe.java:127)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.StaticSprite.added(StaticSprite.java:81)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.ResDrawable.added(ResDrawable.java:58)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.Gob.added(Gob.java:526)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.Gob$Placed.added(Gob.java:820)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.MapView$Gobs.addgob(MapView.java:493)
at haven.MapView$Gobs.lambda$added$1(MapView.java:539)
at haven.Loader.lambda$defer$0(Loader.java:235)
at haven.Loader$Future.run(Loader.java:71)
at haven.Loader$Future.access$400(Loader.java:42)
at haven.Loader.loop(Loader.java:197)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Throwable
at haven.render.gl.GLObject.dispose(GLObject.java:68)
at haven.render.gl.GLVertexArray$ProgIndex.clean(GLVertexArray.java:183)
at haven.render.gl.GLVertexArray$ProgIndex.get(GLVertexArray.java:212)
at haven.render.gl.GLEnvironment.prepare(GLEnvironment.java:536)
at haven.render.gl.GLDrawList$SlotRender.draw(GLDrawList.java:833)
at haven.FastMesh.draw(FastMesh.java:102)
at haven.render.gl.GLDrawList$DrawSlot.<init>(GLDrawList.java:357)
at haven.render.gl.GLDrawList.add(GLDrawList.java:953)
... 36 more

Sometimes like that:
haven.render.gl.GLObject$UseAfterFreeException: already disposed
at haven.render.gl.GLObject.get(GLObject.java:84)
at haven.render.gl.GLDrawList.getvao(GLDrawList.java:807)
at haven.render.gl.GLDrawList.access$1100(GLDrawList.java:37)
at haven.render.gl.GLDrawList$SlotRender.draw(GLDrawList.java:844)
at haven.FastMesh.draw(FastMesh.java:102)
at haven.render.gl.GLDrawList$DrawSlot.<init>(GLDrawList.java:357)
at haven.render.gl.GLDrawList.add(GLDrawList.java:953)
at haven.render.InstanceList.lambda$cladd$0(InstanceList.java:493)
at java.util.ArrayList.forEach(Unknown Source)
at haven.render.InstanceList.cladd(InstanceList.java:493)
at haven.render.InstanceList.add0(InstanceList.java:526)
at haven.render.InstanceList.add(InstanceList.java:592)
at haven.MapView$Clicklist.add(MapView.java:1106)
at haven.render.RenderTree$Client.added(RenderTree.java:62)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:432)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.render.Pipe$Op$Wrapping.added(Pipe.java:127)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.RUtils$StateNode.added(RUtils.java:114)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.SkelSprite.parts(SkelSprite.java:95)
at haven.RUtils.readd(RUtils.java:68)
at haven.SkelSprite.chparts(SkelSprite.java:157)
at haven.SkelSprite.update(SkelSprite.java:217)
at haven.SkelSprite.update(SkelSprite.java:222)
at haven.SkelSprite.update(SkelSprite.java:231)
at haven.OCache.cres(OCache.java:230)
at haven.OCache.lambda$cres$4(OCache.java:245)
at haven.OCache$GobInfo.apply(OCache.java:720)
at haven.Loader.lambda$defer$0(Loader.java:235)
at haven.Loader$Future.run(Loader.java:71)
at haven.Loader$Future.access$400(Loader.java:42)
at haven.Loader.loop(Loader.java:197)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Throwable
at haven.render.gl.GLObject.dispose(GLObject.java:68)
at haven.render.gl.GLVertexArray$ProgIndex.clean(GLVertexArray.java:183)
at haven.render.gl.GLVertexArray$ProgIndex.get(GLVertexArray.java:212)
at haven.render.gl.GLEnvironment.prepare(GLEnvironment.java:536)
at haven.render.gl.GLDrawList$SlotRender.draw(GLDrawList.java:833)
... 35 more

Some times like that:
haven.render.gl.GLObject$UseAfterFreeException: already disposed
at haven.render.gl.GLObject.get(GLObject.java:84)
at haven.render.gl.GLDrawList.getvao(GLDrawList.java:807)
at haven.render.gl.GLDrawList.access$1100(GLDrawList.java:37)
at haven.render.gl.GLDrawList$SlotRender.draw(GLDrawList.java:844)
at haven.FastMesh.draw(FastMesh.java:102)
at haven.render.gl.GLDrawList$DrawSlot.<init>(GLDrawList.java:357)
at haven.render.gl.GLDrawList.add(GLDrawList.java:953)
at haven.ShadowMap$ShadowList.add(ShadowMap.java:136)
at haven.render.InstanceList.lambda$cladd$0(InstanceList.java:493)
at java.util.ArrayList.forEach(Unknown Source)
at haven.render.InstanceList.cladd(InstanceList.java:493)
at haven.render.InstanceList.add0(InstanceList.java:526)
at haven.render.InstanceList.add(InstanceList.java:592)
at haven.render.RenderTree$Client.added(RenderTree.java:62)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:432)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.render.Pipe$Op$Wrapping.added(Pipe.java:127)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.render.Pipe$Op$Wrapping.added(Pipe.java:127)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.resutil.CSprite.added(CSprite.java:61)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.ResDrawable.added(ResDrawable.java:58)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.Gob.added(Gob.java:526)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.Gob$Placed.added(Gob.java:820)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.MCache$Grid$Flavobjs$1.added(MCache.java:189)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.render.RenderTree$Slot.add(RenderTree.java:343)
at haven.MCache$Grid$Flavobjs.added(MCache.java:202)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
at haven.MapView$MapRaster$Grid.tick(MapView.java:608)
at haven.MapView$Terrain.tick(MapView.java:669)
at haven.MapView.tick(MapView.java:1497)
at haven.Widget.tick(Widget.java:702)
at haven.GameUI.tick(GameUI.java:893)
at haven.Widget.tick(Widget.java:702)
at haven.UI.tick(UI.java:187)
at haven.JOGLPanel.run(JOGLPanel.java:492)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Throwable
at haven.render.gl.GLObject.dispose(GLObject.java:68)
at haven.render.gl.GLVertexArray$ProgIndex.clean(GLVertexArray.java:183)
at haven.render.gl.GLVertexArray$ProgIndex.get(GLVertexArray.java:212)
at haven.render.gl.GLEnvironment.prepare(GLEnvironment.java:536)
at haven.render.gl.GLDrawList$SlotRender.draw(GLDrawList.java:833)
at haven.FastMesh.draw(FastMesh.java:102)
at haven.render.gl.GLDrawList$DrawSlot.<init>(GLDrawList.java:357)
at haven.render.gl.GLDrawList.add(GLDrawList.java:953)
... 49 more


I don't know if it have any use, but the game began to crash in this place, when I was harvesting a farm's field:
Image


Btw, the Nvidia and the video drives are up to date and working normally, and the Java, it is the "Windows Offline (64-bit)" (filesize: 73.73 MB ) and I installed it in 14/06/2020 then, I reinstaled it, and the game still crashes. I'm playing in a notebook, windows 10.

System info:
Image
Image
Image
Image
Image
Image


The game became totally unplayable, and again,for no apparent reason.
Last edited by Lordeaux on Thu Jul 09, 2020 10:18 am, edited 10 times in total.
Lordeaux
 
Posts: 10
Joined: Sat Jan 12, 2019 12:29 pm

Re: Game is Crashing

Postby vatas » Thu Jul 09, 2020 8:48 am

It looks like it, but just checking, you're using the "default" client (launched/downloaded from website button) because if you're using Custom Client you have to post on the said client's thread. Again, if you're using default, you posted in the right place and hopefully Loftar will respond soon.

Consider using "hide" on the reply options when posting long chunks of text like that, it puts them under toggle that you can click to show.

Example text
Example text
Example text
Example text
Example text
Attachments
firefox_aFZ5oknb27.png
firefox_aFZ5oknb27.png (2.12 KiB) Viewed 491 times
The most actively maintained Haven and Hearth Wiki (Not guaranteed to be up-to-date with all w14 changes.)

Basic Claim Safety (And what you’re doing wrong) (I recommend you read it in it's entirety, but TL:;DR: Build a Palisade.)

Combat Guide (Overview, PVE, PVP) (Tells you how to try and escape, and make it less likely to die when caught.)
User avatar
vatas
 
Posts: 4511
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: Game is Crashing

Postby Lordeaux » Thu Jul 09, 2020 9:46 am

Thanks for the hide/hide[] info.

Yes, I'm using the launched client downloaded from website button (autohaven.jar), but it was somewhat hard to discover how to launch this game properly, because initially it was not launching directly, neither by firefox (a year ago I could), neither by the java.

To make it work properly I needed to associated the .jar files with java using the cmd:
assoc .jar=jarfile
assoc jarfile=Executable Jar File
ftype jarfile="C:\Program Files\Java\jre1.8.0_251\bin\javaw.exe" -jar "%1" %*


Than, used a .bat extension to start the autohaven.jar, but adding this command firstly as .txt:
Java -jar autohaven.jar


I didn't knew about this custom client option, I don't know what it means or how to use it, I think.

The game was working fine until yesterday morning, but now, strangely, it's crashing all the time.
Lordeaux
 
Posts: 10
Joined: Sat Jan 12, 2019 12:29 pm

Re: Game is Crashing

Postby Belliaum » Thu Jul 09, 2020 2:08 pm

I am having the same issue, for the past few days the game have become unplayable on the regular client.
I will try playing using one of the custom clients and see if this resolves the issue.
Belliaum
 
Posts: 79
Joined: Wed Feb 16, 2011 2:15 am

Re: Game is Crashing

Postby MagicManICT » Thu Jul 09, 2020 6:42 pm

In the case of using a notebook, there is a known issue with Nvidia and integrated graphics, specifically Intel processors, where it will default to the integrated GPU in "low power" settings. You can change this in Nvidia's control panel on a per application setting. Changing power profiles for the computer so that it doesn't drop to the lower power option might work, but I don't recall a confirmation on it off hand. You can see more about the issue here: viewtopic.php?f=47&t=44629 In particular, there should be directions there for setting up the Nvidia drivers for this. It should be at least linked in that thread.

Lordeaux wrote:Btw, the Nvidia and the video drives are up to date and working normally, and the Java, it is the "Windows Offline (64-bit)" (filesize: 73.73 MB ) and I installed it in 14/06/2020 then, I reinstaled it, and the game still crashes. I'm playing in a notebook, windows 10.

Verify that this is the x64 installation, not the x86. It's not indicated in the "About" window for Java you posted. Intel's support for OpenGL has been spotty in the past. I'm not very familiar with the problem other than if you have the 32-bit version of Java installed, Intel drivers will have frequent crashes.

Belliaum wrote:I will try playing using one of the custom clients and see if this resolves the issue.

It may or may not, and isn't really helpful to the current crash. The problem may still exist given what I mentioned above. Basically, the modded clients are using the old code base currently, which is more or less stable. (I'm not aware of any that have been fully updated, but at least one is in the process of getting there.) You can also access the old client via http://game.havenandhearth.com/java/old-launcher.jar It would be good to know if the above does fix the problem using the updated client for troubleshooting purposes.


Lordeaux wrote:Thanks for the hide/hide[] info.

As an ease of use/viewing: For crash reports and other technical outputs, [code] tags are generally better, but either works. This puts the text in a scroll box block aligned so a couple hundred new lines don't just spring open on you. (Also, copy-pasted text is preferred over screenshots as text is easier to do anything with.)
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18437
Joined: Tue Aug 17, 2010 1:47 am

Re: Game is Crashing

Postby loftar » Mon Jul 13, 2020 1:34 am

Sorry, I accidentally introduced that bug, but it should have been fixed since a few days.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 8926
Joined: Fri Apr 03, 2009 7:05 am


Return to Bugs

Who is online

Users browsing this forum: Dotbot [Bot] and 2 guests