On spinodals and catastrophes