[Bug 253840] editors/libreoffice: fails to start after update to 7.1.0.3_2 with "Application Error"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 26 18:12:31 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253840
--- Comment #21 from Dimitry Andric <dim at FreeBSD.org> ---
I've looked at the layout of struct _Unwind_Exception, which is declared in
libcxxrt's unwind.h, and did some checks on the field offsets:
----------------------------------------------------------------------
amd64, before libcxxrt changes:
offsetof(_Unwind_Exception, exception_class) = 0
offsetof(_Unwind_Exception, exception_cleanup) = 8
offsetof(_Unwind_Exception, private_1) = 16
offsetof(_Unwind_Exception, private_2) = 24
sizeof(_Unwind_Exception) = 32
amd64, after libcxxrt changes:
offsetof(_Unwind_Exception, exception_class) = 0
offsetof(_Unwind_Exception, exception_cleanup) = 8
offsetof(_Unwind_Exception, private_1) = 16
offsetof(_Unwind_Exception, private_2) = 24
sizeof(_Unwind_Exception) = 32
i386, before libcxxrt changes:
offsetof(_Unwind_Exception, exception_class) = 0
offsetof(_Unwind_Exception, exception_cleanup) = 8
offsetof(_Unwind_Exception, private_1) = 12
offsetof(_Unwind_Exception, private_2) = 16
sizeof(_Unwind_Exception) = 20
i386, after libcxxrt changes:
offsetof(_Unwind_Exception, exception_class) = 0
offsetof(_Unwind_Exception, exception_cleanup) = 8
offsetof(_Unwind_Exception, private_1) = 12
offsetof(_Unwind_Exception, private_2) = 16
offsetof(_Unwind_Exception, reserved) = 20
sizeof(_Unwind_Exception) = 32
----------------------------------------------------------------------
So in short, only on i386 has the struct become bigger, but this shouldn't
influence any callers. (At least, if they aren't crazy enough to attempt to
allocate and fill these by themselves... But libreoffice might be crazy enough)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-office
mailing list