Instability and collapse of flexibly-connected gabled frames