I think I've figured out how to break it. I think I said this already, but what I'm working on is an LP to CD record and conversion project. The recording part was done with Audacity 1.2.2, but I don't think that that matters for this problem.dgersic wrote:If I can figure that out, I'll post an update.
The problem is the "h=xx" parameter in the *.aup file on the project. Resetting that to 0 allows the project to open without hanging Audacity.
To break it, open a project. Mine are 700M or so, a full length recording of an LP.
Scroll right using the mouse on the scrollbar, to the point where you can see the end of the recording. On my projects, this area contains the end of the music and the final fade out, some garbage from the end of the record, the final pop of the stylus being lifted, then a few seconds of silence. I don't want any of this, so ...
Select an area of the recording. I'm hunting for the end of the final fade out, but just click somewhere to move the cursor to somewhere in this area.
Click and drag to the right - selecting as you, *past* the end of the recording. This highlights from wherever you started, to a few seconds past the end of the project recording data.
Change your mind on this being a good idea. Use Shift-End instead to select from wherever the cursor was to the end of the recording.
Hit Ctrl-X to remove the selected area.
Save the project.
At this point, Audacity may hang. If not, close the project and try to open it. If you try to open this project, Audacity hangs as previously described.
I think what's happening is that the Click-and-Drag to the right is moving the "h=xx" parameter past the end of file, especially after the end of file is moved back a few seconds worth of data by the Shift-End / Ctrl-X delete of the garbage at the end of the recording. Then what happens when Audacity tries to open this project is that it's using the "h=xx" parameter to position back to where you were last working on it, except that "h=xx" now points to an invalid area beyond the end of the project. Boom.
I'm curious to know if you can reproduce this as well. I've done it here a few times now and it seems to kill it every time. Resetting "h=xx" to "h=0" then allows the project to open, and positions it back at the beginning.