Crash while using Town Portal

I am using the debian package for vcmi.
When I try to use Town Portal, most of the time (but not always) the game crashes after I select the town to teleport and click okay.
There are no errors in the terminal. As far as I can tell it doesn’t matter which town I select.
I can provide more information if necessary.