Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2021 18:12:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 253840] editors/libreoffice: fails to start after update to 7.1.0.3_2 with "Application Error"
Message-ID:  <bug-253840-25061-MsJds2dCya@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253840-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253840-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253840

--- Comment #21 from Dimitry Andric <dim@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)   =3D 0
offsetof(_Unwind_Exception, exception_cleanup) =3D 8
offsetof(_Unwind_Exception, private_1)         =3D 16
offsetof(_Unwind_Exception, private_2)         =3D 24
sizeof(_Unwind_Exception)                      =3D 32

amd64, after libcxxrt changes:

offsetof(_Unwind_Exception, exception_class)   =3D 0
offsetof(_Unwind_Exception, exception_cleanup) =3D 8
offsetof(_Unwind_Exception, private_1)         =3D 16
offsetof(_Unwind_Exception, private_2)         =3D 24
sizeof(_Unwind_Exception)                      =3D 32


i386, before libcxxrt changes:

offsetof(_Unwind_Exception, exception_class)   =3D 0
offsetof(_Unwind_Exception, exception_cleanup) =3D 8
offsetof(_Unwind_Exception, private_1)         =3D 12
offsetof(_Unwind_Exception, private_2)         =3D 16
sizeof(_Unwind_Exception)                      =3D 20

i386, after libcxxrt changes:

offsetof(_Unwind_Exception, exception_class)   =3D 0
offsetof(_Unwind_Exception, exception_cleanup) =3D 8
offsetof(_Unwind_Exception, private_1)         =3D 12
offsetof(_Unwind_Exception, private_2)         =3D 16
offsetof(_Unwind_Exception, reserved)          =3D 20
sizeof(_Unwind_Exception)                      =3D 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 eno=
ugh)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253840-25061-MsJds2dCya>