Error 0xc0000142

Olly Betts olly at survex.com
Thu Dec 12 19:09:26 GMT 2024


On Thu, Dec 12, 2024 at 08:22:24AM -0800, Philip Schuchardt wrote:
> I'm going to guess that it's failing with OpenSSL.

It doesn't seem to be OpenSSL (at least not directly) since OpenSSL itself
doesn't have a symbol OpenSSLInit.  I'm also fairly sure OpenSSL is implemented
entirely in C so wouldn't be throwing a C++ exception.

Quoting myself earlier in the thread:

| The C++ symbol decodes as OpenSSLInit::OpenSSLInit() and it's throwing
| an exception, but libpodofo's source code doesn't seem to contain a
| class called OpenSSLInit.  It's not just something inlined from
| OpenSSL's headers either.  The address from the backtrace is definitely
| in the range where libpodofo is listed as loaded:
|
| > ModLoad: 00007ffc`56830000 00007ffc`56b9e000   C:\Program Files\Survex\libpodofo.dll

I think that symbol is from some sort of C++ wrapper around OpenSSL, but I
failed to work out what it's in.  Such code definitely exists (but I don't
think this particular instance is the culprit as fastdds doesn't seem to be
among the DLLs being loaded; also no C++ exception is being thrown by it):

https://sources.debian.org/src/fastdds/3.1.0+ds-2/src/cpp/security/OpenSSLInit.hpp/?hl=11#L15

Cheers,
    Olly



More information about the Survex mailing list