Virus scan on NetWare hangs accessing a zip file.

  • 7008311
  • 07-Apr-2011
  • 27-Apr-2012

Environment


Novell NetWare 6.5 Support Pack 8
Novell NetWare 6.5 Support Pack 7

Situation

A virus scan of NetWare volumes will hang while scanning a .zip file.  The hung thread is stuck in the CSleepUntilInterrupt routine which never wakes up.  In one such case, this happened with Symantec's antivirus, which would be stuck in the NAV thread, though this may happen with any application that meets this same set of circumstances.

Resolution

The thread was hanging because there was a file by the name of "log" at the root of the zip file. This word is apparently a reserved word that was causing us to treat the file like a stream rather than a regular file.  Going down this incorrect code path was causing the thread to hang waiting for more data which will never come. 

The solution is to either give this file an extension such as "log.txt" or to place it in a path other than the root, or to remove the file from the archive file.

Additional Information

Symantec may make changes to their code sometime in the future to work around this problem.