XSI crashes on startup when updating a workgroup

Date : Thu, 28 Feb 2008 19:24:42 -0600
To : <XSI(at)Softimage.COM>
From : "Matt Lind" <mlind(at)carbinestudios.com>
Subject : XSI crashes on startup when updating a workgroup
Hello all,
    I'm trying to develop a delivery system for our custom XSI tools, but am running into an issue with XSI crashing intermittently. 
 
Each of our artists has a workgroup on their computer which contains all our custom scripts and addons.  The latest published copy of each of our tools is located on a centralized server.  Every time an artist launches XSI, an XSI OnStartup event is triggered (Jscript) which deletes the contents of the artist's workgroup Plugins folder (everything except the startup event script, of course), then copies the latest published tools from the server into the workgroup and finishes off with a call to XSIApplication.UpdatePlugins().  For the most part this works.  However we're encountering a problem which I'm having difficulty solving.
 
When the artist starts XSI for the first time in the morning, XSI crashes on startup.  The famliar XSI encountered an unexpected error and must close appears in a dialog.  If the artist restarts XSI, it loads just fine.  If the artist goes to lunch or takes an extended break from XSI, the first time they launch XSI after the break, XSI crashes on startup again.  But if the artist restarts XSI, it works fine.  If user exits XSI normally, then restarts XSI within 5 minutes, XSI works just fine.
 
So the pattern is: if XSI is not in use for more than ~5 minutes and is then launched, it will crash on startup.  For the life of me I cannot figure out what's causing the problem as, to the best of my knowledge, I am not deleting any files that XSI would need upon startup.  I'm assuming there's a caching issue at play here and possibly an order of operations issue, but I don't know where to look as I don't have any error messages coming from XSI to point me in a particular direction.
 
Anybody got any ideas?
 
Running XSI 6.01 on Windows XP SP2 Intel (32 bit)
 
Thanks,
 
Matt
 

Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.