A Custom LFSO Program May Crash Unexpectedly When all LFSO Objects Go Out Of Scope.

January 26, 2010 | KB: 1012408
Laserfiche 8

Summary

A custom application using LFSO80 may crash when all LFSO objects go out of scope. The most common symptom of this issue is a custom Web application causing its IIS worker process to crash.

Cause

LFSO's internal implementation of a COM function that determines whether the LFSO80 dll is still in use did not properly account for the existence of background threads. In the case of a custom Web application, IIS queries LFSO to see if the dll can be unloaded from memory. LFSO notes that its object reference count is 0 and reports that the dll can be unloaded. However, if any background threads spawned by LFSO are still running after LFSO has been unloaded, the process will crash.

Resolution 1

This issue is resolved in the 8.1.1 version of LFSO81.dll.

Resolution 2

There is a hotfix for the 8.0.2 version of LFSO80.dll. The fix is an updated version of LFSO80.dll (version 8.0.2.887).

Download the appropriate version of LFSO and replace the existing copy on the desired workstation.

To update LFSO80.dll

  1. Click one of the following links to download a zip file with the updated version of LFSO80.dll.
  2. Hotfix_SCR50904_win32.zip

    Hotfix_SCR50904_x64.zip

  3. Replace your existing version of LFSO80.dll with the updated version. By default, LFSO80.dll is located at "C:\Program Files\Common Files\Laserfiche\LFObjects."