[Xitami] devices problem
Jason Ozin at Technica Solutions
xitami@lists.xitami.org
Sun, 30 Dec 2001 09:41:58 -0000
Ewen says:
> Okay, it sounds like the fix in 2.4d9/2.5b5 narrows it down to the
> situation where:
> (a) the device actually exists and is being used (eg, a printer is
> installed); and
> (b) the timing of the access is "unlucky"
I'd agree with that.
> And my guess is the "something changing" is something like
> another program
> having the device open (blocking us out, so we assume it is not a device)
> when we first try to find out if it is a device, and but it has closed it
> (freeing up the device) by the time we try to open it again to read from
> it.
I'd be surprised if this was the case as it is repeatable on every occasion
and nothing else is using the device, so the "other program" can only be
Xitami itself. One thing I forgot to mention is that in every case where
there is a device present pre-crash I don't get an error page returned, just
a blank page.
> I've got a couple of ideas to try, although as I commented, I'm somewhat
> hampered by the fact that I can't reproduce the problem...
Happy to install debug code on my PC if it helps. I suppose your code
automatically denying access to known device names is a no no?
Jason Ozin
Technica Solutions