Japan is peculiarly vulnerable to potato shortages because it restricts imports, even when its own potato crop fails.
I mean, let's say all of your crops failed. So what? Just buy them from another country. It's a little more expensive, but better than starving.
So why do people starve? It's when your money can't buy anything from another country because people from other countries don't have faith in your currency. Or when you can't trade at all for some reason.
Famines are chiefly an economic problem.
Admittedly we are getting away from the example of Japan here where there isn't really a serious danger of famine either way without a drastic change in material conditions.
Obviously, the Irish Potato Famine was caused by bad government. Instead of being allowed to keep their own potatoes, the government of occupied Ireland, run by Britain, forced them to export them all.
Grandparent didn't suggest a problem with protectionist regulations - simply that the regulation is the probable cause of the shortage. There is a link.