Date: Thu, 20 Dec 2018 09:19:54 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 234201] Regression in LLVM libunwind: Apache Tomcat web application crashes on 12.0 (but not on 11.2) Message-ID: <bug-234201-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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: bugs@FreeBSD.org Reporter: freebsd@mhka.no CC: emaste@freebsd.org 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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234201-227>
