EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CloseFile with NULL context

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 07/21/2011 07:59:12
by Robert Baer (Basic support level)
Joined: 11/08/2010
Posts: 46


we have a timing problem in CbFS Version 3.2.93. That's what happens on our drive:

1) RenameOrMoveFile from \A\x.txt to \B\x.txt
2) OpenFile of \A\x.txt
-> exception thrown as there is no file \A\x.txt anymore
3) CloseFile is called with aFileHandleContext == NULL

It looks like these steps need to be performed almost concurrently to produce this behaviour. Could you please have a close look at your code to check if this behaviour is explainable?

Thank you,
Posted: 07/21/2011 12:32:09
by Volodymyr Zinin (EldoS Corp.)

Hello Robert,

Please specify if the problem is reproducible with one of the CallbackFS samples. If so then describe in details how to do it. Also please specify version of Windows you are using.
Posted: 07/26/2011 01:50:01
by Robert Baer (Basic support level)
Joined: 11/08/2010
Posts: 46

Hello Vladimir,

it is hard to reproduce this issue as it seems to be very time-dependent. Also we do not need to follow it up as it was resulting from another fault. After some corrections this issue does not occur anymore.




Topic viewed 1355 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!