Re: [Audacity-devel] Intermittent crash when recording
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Gale <ga...@au...> - 2014-08-31 04:48:47
|
Paul L wrote > I've been repeatedly vexed by a certain crash bug that sometimes strikes > often but I am uncertain how to reproduce it. > I always have one or two other tracks, and I select somewhere in the > middle and record a brief clip, and stop recording with spacebar. > > When Audacity is in the "mood" to do this, there is a crash, I restart > Audacity, I retry recording and it works, and then if I try a second time > elsewhere, crash. So, when I have several little corrections to make > (correcting misreadings in narration work), I am bouncing in and out, > getting the job done, but not smoothly. Next time (or two) it happens, could you post the autosave file? Gale Paul L wrote > Finally I got it to happen in a 2.0.6 debug build and I see that the > proximate cause is a missing null check on variable b here: > > > void DirManager::WriteCacheToDisk() > { > BlockHash::iterator iter; > int numNeed = 0; > > iter = mBlockFileHash.begin(); > while (iter != mBlockFileHash.end()) > { > BlockFile *b = iter->second; > if (b->GetNeedWriteCacheToDisk()) // < -- BANG! > numNeed++; > iter++; > } > > Perhaps something in the persistent state of the project on disk is the > necessary condition. -- View this message in context: http://audacity.238276.n2.nabble.com/Intermittent-crash-when-recording-tp7563044p7563062.html Sent from the audacity-devel mailing list archive at Nabble.com. |