Bad government in practice. There's nothing in socialism that says a government has to build an economy with zero fail-safes. Venezuela is in this spot because their government was lazy and opted to import almost everything using oil money. Had they built any semblance of a self-sustaining national economy they wouldn't be in this spot. Sure they might've had to cut some social programs as the price of oil tanked but it wouldn't be the complete collapse we see now.