I made a crafter building for blacksmith and mason, they palced the mason workbench inside but not the anvil one for some time, and now I realsied I got 2 people stuck in there, after thinking about it I also noticed the floor is red when in building mode so that could be connected.
more info:
weaver was the one who placed mason workshop inside
the other dude recently joined the town.
I can confirm this bug, a temporary fix is to not have your carpenter make the doors. This will leave an opening for a house so they don’t get stuck.
I got this Bug again in B2391(x64), I had the luck I made an opening in the roof so i could get them out by building a ladder to the top. but they refuse to take the door.
Some details about the building that make it special so it might be related to it:
it has a door on the second floor
the roof is made out of slabs
it is build next to water.