A rancid, crayon-like or paint-like smell is usually oil oxidation — unsaturated oils break down into strong-smelling compounds when exposed to air, light, heat and trace metals. A sour, musty or yeasty smell in a product with water points to microbial growth instead, which means the batch must be thrown away.