IO Bug

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

IO Bug

Postby hydr0gen » Sun Apr 09, 2017 11:19 am

This bug become a bit annoying. I have 2 clients: 1 digging ground second is cutting trees. When map gets updated, second client crash

Code: Select all
1.55.4:2817eaa44d9b296884bf84c8d3c1ab4da9e201dc

haven.StreamMessage$IOError: java.nio.file.AccessDeniedException: C:\Users\User\AppData\Roaming\Haven and Hearth\data\cache1309293667941138300.new -> C:\Users\User\AppData\Roaming\Haven and Hearth\data\9f1254e6abeed405.0
   at haven.StreamMessage.close(StreamMessage.java:127)
   at haven.MapFile$Grid.save(MapFile.java:437)
   at haven.MapFile.update(MapFile.java:737)
   at haven.MapFile$Processor.lambda$run$0(MapFile.java:198)
   at haven.MapFile$Processor.run(MapFile.java:214)
Caused by: java.nio.file.AccessDeniedException: C:\Users\User\AppData\Roaming\Haven and Hearth\data\cache1309293667941138300.new -> C:\Users\User\AppData\Roaming\Haven and Hearth\data\9f1254e6abeed405.0
   at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
   at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
   at sun.nio.fs.WindowsFileCopy.move(Unknown Source)
   at sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source)
   at java.nio.file.Files.move(Unknown Source)
   at haven.HashDirCache$2.close(HashDirCache.java:277)
   at haven.StreamMessage.close(StreamMessage.java:122)
   ... 4 more
hydr0gen
 
Posts: 5
Joined: Wed Mar 24, 2010 1:13 pm

Re: IO Bug

Postby Granger » Sun Apr 09, 2017 11:23 am

Running multiple clients is not supported.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9264
Joined: Mon Mar 22, 2010 2:00 pm

Re: IO Bug

Postby Astarisk » Mon Apr 10, 2017 2:19 am

Granger wrote:Running multiple clients is not supported.


When did that become an official stance of the devs?
IRC/IGN: Rawrz

Join the (HedgeHugs) Haven & Hearth Discord if you need help.
https://discord.com/invite/Uy8yzm4
User avatar
Astarisk
 
Posts: 881
Joined: Fri Aug 13, 2010 7:08 am

Re: IO Bug

Postby Granger » Mon Apr 10, 2017 7:18 am

No idea, but in case Loftar actually wanted to support it then he wouldn't have coded the file access as being exclusive, would he?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9264
Joined: Mon Mar 22, 2010 2:00 pm

Re: IO Bug

Postby shubla » Mon Apr 10, 2017 1:58 pm

Granger wrote:No idea, but in case Loftar actually wanted to support it then he wouldn't have coded the file access as being exclusive, would he?

Or maybe he did not even realize that such a problem as this would even occur.
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: IO Bug

Postby Astarisk » Mon Apr 10, 2017 6:37 pm

Granger wrote:No idea, but in case Loftar actually wanted to support it then he wouldn't have coded the file access as being exclusive, would he?


Could be an issue with Windows that he isn't aware of or a myriad of other things. When I asked about it he said he supposedly uses proper file locking to coordinate multiple access to the files.
Last edited by Astarisk on Mon Apr 10, 2017 7:48 pm, edited 1 time in total.
IRC/IGN: Rawrz

Join the (HedgeHugs) Haven & Hearth Discord if you need help.
https://discord.com/invite/Uy8yzm4
User avatar
Astarisk
 
Posts: 881
Joined: Fri Aug 13, 2010 7:08 am

Re: IO Bug

Postby jorb » Mon Apr 10, 2017 7:39 pm

May try to look at it. Any idea on how to reproduce it, beyond what is described in the OP?
"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: IO Bug

Postby displaced » Tue Apr 11, 2017 8:16 pm

2 Accounts -> down in the mine -> one stands there and the other one is mining. (They have to see each other).
displaced
 
Posts: 121
Joined: Wed Feb 12, 2014 12:09 am

Re: IO Bug

Postby MagicManICT » Wed Apr 12, 2017 2:42 am

Almost bet the map "changed" while both clients were trying to update it for the same thing--a tile was removed thus forcing a map update.

Astarisk wrote:
Granger wrote:Running multiple clients is not supported.


When did that become an official stance of the devs?


As far as Granger's remarks... it's not a design feature, so no, not directly supported, but loftar does do what he can so people can if they want. It's not the first time multi-boxing has caused client crashes that have subsequently been fixed.
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: 18436
Joined: Tue Aug 17, 2010 1:47 am


Return to Bugs

Who is online

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