From owner-freebsd-stable@freebsd.org Thu Feb 25 09:20:26 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 19AAB55C5BD for ; Thu, 25 Feb 2021 09:20:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DmS1k05Xpz3vxH for ; Thu, 25 Feb 2021 09:20:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 032CD55C454; Thu, 25 Feb 2021 09:20:26 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 02F2755C7F6 for ; Thu, 25 Feb 2021 09:20:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmS1j6ch3z3w6f; Thu, 25 Feb 2021 09:20:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id A91BC238AB; Thu, 25 Feb 2021 09:20:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::2ddf:54ce:6f26:45a3] (unknown [IPv6:2001:470:7a58:0:2ddf:54ce:6f26:45a3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B34532D371; Thu, 25 Feb 2021 10:20:23 +0100 (CET) From: Dimitry Andric Message-Id: <9C077E79-608B-4504-9CD7-1E8845896B40@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_30FDAC4B-03B0-445B-B361-D21D3EE812A3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: 11.4-STABLE - libcxxrt changes (?) broke libreoffice Date: Thu, 25 Feb 2021 10:20:16 +0100 In-Reply-To: Cc: stable@freebsd.org To: Bengt Ahlgren References: <2C7EC95F-631C-4544-9C83-DF55A03EAD73@FreeBSD.org> X-Mailer: Apple Mail (2.3445.104.17) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 09:20:26 -0000 --Apple-Mail=_30FDAC4B-03B0-445B-B361-D21D3EE812A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 25 Feb 2021, at 10:07, Bengt Ahlgren wrote: >=20 > Dimitry Andric writes: >=20 >> On 24 Feb 2021, at 19:13, Dimitry Andric wrote: >>>=20 >>> On 24 Feb 2021, at 16:04, Bengt Ahlgren wrote: >>>>=20 >>>> After updating my laptop with 11.4-STABLE to r369345, libreoffice >>>> (7.0.3.1_2) just exits with "Application Error". Going back to >>>> 11.4-STABLE r369313, before the libcxxrt changes, makes the same >>>> libreoffice binary work again. >>>>=20 >>>> I build libreoffice with the KF5, QT5 and JAVA options on, in a = 11.4-REL >>>> poudriere jail. >>>>=20 >>>> I didn't see any other application crashes. >>>=20 >>> This is likely fixed by: >>> = https://cgit.freebsd.org/src/commit/?id=3Dd149877758f162f0c777e7760164bf2c= 1f7a1bc1 >>>=20 >>> for which the MFC timer will expire tomorrow, then I will commit the = fix. >>=20 >> Since this can cause crashes, I've fast-tracked the MFC: >>=20 >> stable/11: >> = https://cgit.freebsd.org/src/commit/?id=3D696961f67c5eaabe03713dbf1b4fc2b7= a0ce1cb1 >> or: = https://svnweb.freebsd.org/base?view=3Drevision&revision=3D369363 >>=20 >> stable/12: >> = https://cgit.freebsd.org/src/commit/?id=3D64809c763b0c73fe488b616016700670= 56b07780 >> or: = https://svnweb.freebsd.org/base?view=3Drevision&revision=3D369362 >>=20 >> stable/13: >> = https://cgit.freebsd.org/src/commit/?id=3D1c1460747efd44eb74762b960883656b= 56134e30 >>=20 >> (Note stable/13 is not exported to Subversion.) >=20 > Thanks for your very quick response! I have updated to r369363, but > unfortunately back to not working. libreoffice --backtrace gives this > gdbtrace.log (truncated): >=20 > (no debugging symbols found)...(no debugging symbols found)...warning: = Lowest section in /usr/local/lib/libicudata.so.68 is .hash at = 0000000000000120 >=20 > Program received signal SIGBUS, Bus error. > 0x000000082ac05057 in ?? () from = /usr/local/lib/libreoffice/program/libgcc3_uno.so > Current language: auto; currently minimal > #0 0x000000082ac05057 in ?? () from = /usr/local/lib/libreoffice/program/libgcc3_uno.so > #1 0x000000082ac04c47 in ?? () from = /usr/local/lib/libreoffice/program/libgcc3_uno.so > #2 0x00000008014061f6 in __cxa_end_catch () at = /usr/src/contrib/libcxxrt/exception.cc:611 > #3 0x00000008037ac717 in dp_misc::create_ucb_content () from = /usr/local/lib/libreoffice/program/libdeploymentmisclo.so > #4 0x00000008379116b2 in deployment_component_getFactory () from = /usr/local/lib/libreoffice/program/../program/libdeployment.so This looks like an old version of libcxxrt is used, i.e. just after the alignment fix was applied prematurely in r369324 (this was reverted again in r369236, so there was a very small window of commits which you may have been able to hit). > I did the re-building with -DNO_CLEAN, but I doubt that would affect > this. Would you like me to file a PR? I'm not sure that would help much, as the bug seems to be solved for me, and I cannot reproduce any crashes anymore. But if you can come up with a test case that is small (i.e. not the whole of libreoffice, it takes many hours to build), then we can look again. -Dimitry --Apple-Mail=_30FDAC4B-03B0-445B-B361-D21D3EE812A3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYDdr0AAKCRCwXqMKLiCW o1xJAKCHzQ5OqEd/fbWMlfW2ZL3d6yQYdgCeKiIkoOgm1UEqzAbiQFJp/Cn3JUE= =prQE -----END PGP SIGNATURE----- --Apple-Mail=_30FDAC4B-03B0-445B-B361-D21D3EE812A3--