Paul Licameli
2016-12-19 18:34:58 UTC
I discovered only today that fixes I made for memory leaks may have
invalidated the fix for the old, P5 bug, 451
http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c16.
The problem was that when a project fails to open with parse errors, then
good block files were erased from disk causing data loss.
The original fix, I believe, spared the files but at the expense of memory
leaks.
I wrote an easy alternative fix that still spares the files and does not
leak memory, by doing something similar to what happens when the project
closes normally.
I have not yet tried to reproduce the problem and verify my fix. It
depends on invalid .aup fils after all.
I will make a branch called bug451 in my fork.
PRL
invalidated the fix for the old, P5 bug, 451
http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c16.
The problem was that when a project fails to open with parse errors, then
good block files were erased from disk causing data loss.
The original fix, I believe, spared the files but at the expense of memory
leaks.
I wrote an easy alternative fix that still spares the files and does not
leak memory, by doing something similar to what happens when the project
closes normally.
I have not yet tried to reproduce the problem and verify my fix. It
depends on invalid .aup fils after all.
I will make a branch called bug451 in my fork.
PRL