For as long as humans have walked the planet, catastrophic events have decreased food production and led to mass starvation. Floods, volcanic winter, and multi-continent droughts have all occurred before, and they will almost certainly occur again.
In fact, the risks may be growing. In addition to traditional risks, anthropogenic climate change is increasing the likelihood that extreme weather events will severely impact multiple continents in the same year. Moreover, although technological advances will help in many situations, in some cases they could also make us more vulnerable to a catastrophe or could even cause one, such as a cyberterrorism attack or nuclear winter.