What is the "Cannot establish distributions" error, who emits it and what can I do?

For several years, we were tormented by random reports from customers about the error message "Unable to establish distributions" that appears when our application starts. So far, we have never been able to reproduce the problem in our own test environments. I now lacked ideas for trying to track this. Here are collected observations that have accumulated over time:

  • The text of the error message reads “Unable to set distributions” (note the lack of punctuation).
  • The window title simply reads "Error" (or the localized equivalent).
  • The text "Unable to set distributions" is always in English, regardless of the OS locale.
  • I still could not find the dll or exe containing the message body.

  • Google is full of reports of this error for various products - but there are no solutions.

  • The only unifying aspect between the affected products that I could have guessed so far was that they all look like DLLs that are loaded into third-party processes (such as additional files for Visual Studio or the Windows Explorer extension shell).

  • Our application is a conditional conditional COM add-on for MS Outlook written in Delphi (for example, native code - no .NET).

  • The main suspect in our case is the third-party licensed wrapper that we use, which decrypts and unpacks our DLL into memory on the fly. Obviously, I could not simply provide an unprotected version of our application to affected clients in order to verify this suspicion. Other vendors that have been reported may be using similar products.

  • The debug versions of the containment provided by the license provider gave us no results: the log files looked exactly the same as in sessions where the error did not occur. Apparently, the “internal” DLL becomes decrypted and uncompressed, but for some reason it still cannot be loaded by the host process.

  • DLL-, - LoadLibrary, DLL .

  • ( , "" -DLL) . , , - .

  • , , . , .

  • 1-2% , .

  • , .
  • , .
  • (, VNC, RDP, TeamViewer ..), , " ".

  • , , -, , .. ( , DLL), , .

  • , , - .

  • Windows XP, Vista 7.

  • Outlook 2003/Windows 7. Windows/Office?

- ?

?

+3
7

, , DLL , - - - , , DLL .

+1

, , . , Windows 7 home premium, IE9 ( ) , . , , , , , , , , , . " ", , , .

+2

, , , (, ADPlus , , Sysinternals ProcDump), . , , , ( , , ).

+1

" ". . Java, , add/remove Java . , . , Java IE Explorer. . , , . , -. Win 7 - 64- IE Explorer 10. , - .

0

, . dll dll , , , dll .

0

, " ", Google. "Whoa chrome crashed..."

- : (

0

, , Chrome. " ". . , . .

0

Source: https://habr.com/ru/post/1743206/


All Articles