From nobody Tue Sep 12 11:31:30 2023 X-Original-To: gecko@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RlLyD0xsRz4tPVD for ; Tue, 12 Sep 2023 11:31:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RlLyC74bYz3KwP for ; Tue, 12 Sep 2023 11:31:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694518292; a=rsa-sha256; cv=none; b=o/kUbvfKeYp44vdn3Zm54IpM48WfXmSe40j3Fhsn6sVRzlPLN6/vAjWZQxZ5/7cpMQOiTi OjvVGLUxM/qKHKF7gbjBSuYvau/U7kYi+YEMPesYIUEEHPtcFQbOjDweBzL8qtK2a8IUeY KY1IhKgpcyAVOf7UxmNwA2h5trvq1+0eAi9GtSEA5IfNomTYJaJe4qUDaoHpte+DYn4ZDo Op+UsTOX142LqDbSbcQhG3W4jdn2YAD2hkRNuCGkp5dZtURi+upZBG2zxhqxdcyQVX82R3 4IE741M7IykEMobwgH91LCGTXx2NSQVQb3SakolQUNdP690j8DN+InUXkz3GRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694518292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9ubb3UfuYIP3uGIjdvNLH3wst+6NlGm6Ji9VDqOg9Rs=; b=fvwJ6TcrudLqcCup6OcwxcGIZJBbCHz6X86MsxlXlMWZYC6y3it8qa9w97WL0xQqnexo2A cQMbhmKrk1EuJxLOocyCaBIrjgIIG9hU03DUzfezIlv9xRaBLNwRFJK3TB0q1gAMpzBhK1 9ejHinnXYoNFiDmZ596Yf9YVEkdqEi6EtdNDleUDF9eubHjRgMq7ASZFTF8a8nZn5i9uE+ 1jmUQQudh0hAyxACk4FevL3veHMyeOt4kCOoYQf0OBeN4L1WOEIdSMv7MgiLZE7x5tVJHx ymyvKSKqlM+QH1EH0/pZRfyn3e9fN32CI2opMw5i0IyUgrJMFA/1ooIfPuJWDg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RlLyC69JlzWLg for ; Tue, 12 Sep 2023 11:31:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38CBVVXR087730 for ; Tue, 12 Sep 2023 11:31:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38CBVVfm087729 for gecko@FreeBSD.org; Tue, 12 Sep 2023 11:31:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 273291] www/firefox: Crashes on start after upgrading from 116.0.3_1,2 to 117.0,2 Date: Tue, 12 Sep 2023 11:31:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: junchoon@dec.sakura.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Gecko Rendering Engine issues List-Archive: https://lists.freebsd.org/archives/freebsd-gecko List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gecko@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273291 --- Comment #26 from Tomoaki AOKI --- (In reply to Tatsuki Makino from comment #24) Currently, confirmed that -O0 in CFLAGS fixed the crash even with working profile and cache, but slow. It would be llvm13/clang13 problem with optimization, which bites firefox 117 but not 116 and earlier. I'll report back if -O1 works or not. Now building with -O1. Some details: First, I've tested clearling (actually, moved) cache. It is still under ~/.cache/mozilla/firefox. It didn't help even with blank profile. As I'm not sure how I can force -O0, to surely pick within poudriere build, added "CFLAGS+=3D -O0" line in www/firefox/Makefile, which failed because "= -O0 -O3" in the commandline invoked by make. Maybe the latter "-O3" was used. Next, turned OPTIMIZED_CFLAGS off, with reverting the above-mentioned chang= e. This binary crashes, maybe because actually "-O2" was used. So I've turned OPTIMIZED_CFLAGS on again, and patched Mk/bsd.gecko.mk with = the patch below. With this, "-O2 -O0" was used. This worked with blank profile and cache. So made both blank again and copi= ed working ones there, still works! But slow. Now -O3 and -O2 are known to crash. So buiding with -O1, modifying the patch below. Looking into running poudriere build log, "-O2 -O1" is used. --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -213,7 +213,7 @@ MOZ_EXPORT+=3D=20=20 MOZ_GOOGLE_SAFEBROWSING_API_KEY=3DAIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 . if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CFLAGS+=3D -O3 +CFLAGS+=3D -O0 MOZ_EXPORT+=3D MOZ_OPTIMIZE_FLAGS=3D"${CFLAGS:M-O*}" MOZ_OPTIONS+=3D --enable-optimize . else --=20 You are receiving this mail because: You are the assignee for the bug.=