Anatomy

Trendelburg test would be positive in the following conditions-