Re: Access Violation shows OpenSSL stack
Dipak B <[email protected]> Sun, 13 Jul 2025 16:58:52 +0530
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <CAMd_dYULo=EEay1oeKmR-qJeu2Sn0weZkOStF6wD7f+9P+L6kQ@mail.gmail.com> |
> On Sun, Jul 13, 2025 at 08:16:43AM +0530, Dipak B wrote: > > > A Windows service periodically loads and unloads a DLL statically linked > to > > Openssl 3.4.0. > > Your application is quite likely to crash if any threads using the DLL > are still alive at the time of the unload. You MUST ensure that no > threads are using the DLL when it is being unloaded. > > -- > Viktor. > > -- > DLL gets unloaded from the Windows service after making sure that Threads (of Windows service) that outlive this DLL are not actively executing functions exported by the DLL. In other words, app makes sure that Windows service threads have finished executing functions exported by DLL and they get returned to custom pool where they wait for other work. Regards. > -- You received this message because you are subscribed to the Google Groups "openssl-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/CAMd_dYULo%3DEEay1oeKmR-qJeu2Sn0weZkOStF6wD7f%2B9P%2BL6kQ%40mail.gmail.com.