Hi Everyone,

We are working on embedded linux platform. We use .wav files for our audio purpose. Recently due to some reason few wav files had got corrupted and when we were played them the application crashed giving the following exception:- "Floating point exception". Then when we replaced those wav files with new ones it again became fine.
My doubt is not exactly related to this exception but related to the crashing of application when such exceptions arise.
So can someone suggest us some effective means/ways to handle such exceptions which ultimately lead to crashing of the main application?



-Thanking everyone
Sattu