I would have thought of this as a random bug, but in fact, it happened not only more than once, but already a few times to my friends and me.
Running (walking) through gates seems to cause haven errors, but this is not the bad thing.
Now, when you crash while being NEAR a gate, chances are you will be stuck, you cant logg back in!
(open/close the gate/gates does not do anything, as the char is not stuck in the movable part of the gate, but in the wall)
But wait, it gets even better!
When you accept to return to your homestead (there is no other choice except to tear down all the walls in the surrounding area!), then your inventory is NOT SIMPLY DROPPED,
NO, it explodes, its spread all over the place, most things between walls and at places unreachable!
What is this ****?!
To what I see, the error must be caused by how the char keeps running when crashing, thereby reaching a place that is unreachable otherwise, or simply said, there is a serversided check missing that usually prevents chars from running through walls, and it should be rather easy to fix, assuming the process of moving chars is implemented in a not too stupid way.
Yet another way this could be fixed super easy, and actually better, because you cant assume that this is the only case in which a bug like this can occur:
Just place chars who are located in walls besides the walls when trying to logg back into the game.
(or, at the VERY LEAST, check the dropped items from the inventory to be placed on tiles that are actually reachable)
This would be easy to do, not exploitable (unlike many other things), but wait, no, this would help players, so ***** it, this game needs to be "hard" mode, so rather make more errors and crashes than fixing stuff like that... -.-
All in all this is a combination of things that are already incredibly stupid by itself, and not necessary in the first place.
I had quite some fun with salem, mostly cause of my friends who play it with me, and I tend to not be too pessimistic when I think of what salem will be like in the future, but condensed stupidity like this makes me really doubt if the devs are actually developing this or just trying to troll the players.