Finally, after so many attempts, I was able to hunt down the cause of wavelab freezing when saving a file. It seems to be connected with the way markers are being saved.
To reproduce the error:
1.) The file has over 2 GB.
2.) It has many markers, in my case, it has over 300 markers.
3.) Go to FILE, Preferences, Audio Files and check these three options together:
- Write Markers in Wav File header (RIFF format)
- Write Markers in Wav FIle header (BWF Format)
- Write Markers in Separate file
All these three options must be checked!
4.) Save the file. It looks OK.
5.) Do some more editing in the file, like adding few more markers or so.
6.) Save the file again.
Wavelab Freezes at this point.
The file remains locked on the HDD and cannot be deleted by normal means. I use Lock Hunter program to get rid of the file.
I hope that the error can be reproduced, hence allowing for the file saving bug removal.
If some of the options above is not checked, the file is save OK. It is only when all three simultaneously are checked.