Seth -- I was using the 1/18 build when this happened.  I have since 
updated to the 1/27 build which is much better :-)  The 1/18 build would 
crash on every compact folder attempt.  So far, this build hasn't 
crashed -- *period*!

I will, however, keep a watch for the nstmp folder to reappear again and 
then see if I can duplicate the occurrence.

As always, thanks for your help.
Steve

Seth Spitzer wrote:

> Steve Carroll wrote:
> 
>> I've notices the automatic creation of a nstmp folder now and then 
>> --- sometimes it's empty, sometimes it has bunches of messages in 
>> it.  The last time it appeared seemed to be folllowing a crash while 
>> trying to compact my inbox.
> 
> 
> Which build are you using?  I think bienvenu fixed a crasher bug in 
> folder compaction recently.
> 
>> when I restarted mozilla my inbox was EMPTY (oh no!) but the nstmp 
>> folder contained those files plus some other "junk" I'd deleted from 
>> the trash.
> 
> 
> If you can reproduce this with a recent build, can you start a bug and 
> assign it to bienvenu?
> 
> 
>> Is that the purpose of the nstmp folder?  A kind of safeguard when 
>> performing potentially fatal operations like compacting, deleting or 
>> moving batches of files?
> 
> 
>  From a quick glance at the code 
> (http://lxr.mozilla.org/seamonkey/source/mailnews/base/src/nsMsgFolderCompactor.cpp) 
> 
> it looks like we take the folder to compact, iterate over all the 
> messages and create a temporary folder and temporary summary file.  
> when we are done, if everything went ok, we over-write the uncompacted 
> versions of the folder and the summary file with the compact version.
> 
> -Seth
> 


Reply via email to