Stability and ambiguous representation of shock wave discontinuity in thermodynamically nonideal media