[llvm-bugs] [Bug 46671] New: lld-link crashes on Windows when linking openssl 1.1.1g static libs
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 10 05:45:15 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46671
Bug ID: 46671
Summary: lld-link crashes on Windows when linking openssl
1.1.1g static libs
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: unassignedbugs at nondot.org
Reporter: s.jeckel.mxn at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 23716
--> https://bugs.llvm.org/attachment.cgi?id=23716&action=edit
Stack trace
This crash happens in our application when linking against a newer version of
openssl 1.1.1g. Unfortunately, I was not able to reproduce it in a minimal
example. It happens with both LLVM 10.x and 9.x.
The cause of the crash is an access violation in
lld::coff::Writer::sortExceptionTable() when dereferencing uint8_t *begin =
bufAddr(firstPdata);
See the attached stack trace for details.
OpenSSL (libcrypto.lib, libssl.lib) was build on Windows with MSVC 2019 with
the default options (perl Configure VC-WIN64A no-shared).
I hope this information is helpful, if not I'm happy to provide additional
details.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200710/6430e3b6/attachment-0001.html>
More information about the llvm-bugs
mailing list