Game crashes when neutral marketplace selected with Extended Unit Stats on

The same Extended Unit Stats crash happens if you select a Granary (AoE2 scenario object, not the RoR building) - or if you hover over it while Rollover Info is also on.

As I just wrote in this report about the Granary, it’s probably caused by certain stats being undefined for these objects, and the game crashes when it tries to show those stats.