The error code is nothing we can do with, that's Taleworlds.
As for the crash, it's a known issue if the game fails to properly process the purchase of an item that was bought by another player while you're browsing. So I assume you're experiencing the crashes when trying to buy something as well.
Only advice I can give, be quick about the purchases or do them without many players around.