https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234201
Bug ID: 234201
Summary: Regression in LLVM libunwind: Apache Tomcat web
application crashes on 12.0 (but not on 11.2)
Product: Base System
Version: 12.0-RELEASE
Hardware: amd64
OS: Any
Status: New
Keywords: crash, regression, toolchain
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
When the port devel/jakarta-commons-daemon is built with LLVM in base on
12.0-RELEASE (default configuration), our tomcat webapp "coffeehouse" fails
with the message "libunwind: getEncodedP
/usr/src/contrib/llvm/projects/libunwind/src/AddressSpace.hpp:280 - unknown
pointer encoding"
The offending section of code:
(...)
inline LocalAddressSpace::pint_t
LocalAddressSpace::getEncodedP(pint_t &addr, pint_t end, uint8_t encoding,
pint_t datarelBase) {
(...)
switch (encoding & 0x0F) {
(...)
default:
_LIBUNWIND_ABORT("unknown pointer encoding");
(...)
This error does not occur when the port is built with GCC, nor when it's built
& run on 11.2 (it works fine with 11.2 world on top of 12.0 kernel).
We've applied a workaround internally which builds it with GCC, but think the
correct approach is to fix the regression in base, so that we won't pull in
GCC8 just for this.
The web application can be provided upon request.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"