From nobody Tue Dec 5 21:00:15 2023 X-Original-To: freebsd-arm@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 4SlCbq6dBCz53Rwx for ; Tue, 5 Dec 2023 21:00:23 +0000 (UTC) (envelope-from jsm@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 4SlCbq65mjz4QG5; Tue, 5 Dec 2023 21:00:23 +0000 (UTC) (envelope-from jsm@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701810023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wqFxS36dISehBaZxYQjsQ36m1mPNO7pOBNcBV39XTuU=; b=g35BW1utMz49QU+fTOVnNpCOz6FK0ukw2lWopVAjV+o9iEisSe8pdltr7OgwIErzluSssB ztGz22NdC1iSc1BzE5i5drFQmMsSKx7AYGYQV0HD5Vv9W+DUr3ncVIxE0Y2GkR6utLlV+o STbYLoBV71/dxmI1cVCP0WrIQ4lrvjzrx/VDvCmhgHLOQcwTpT/HkBjUbZRi39Om7jLN/B JDZdRY19ykYX7pcbvF8Cf07bOki1/t2pbcLvsnsL7XKAzdgyXHzYUmuBG5Ob6Hs/RO0SMk 2ip7A3hs8TZi2P69BQw4EauKv7/TgW1WcwmAHlfkFZK4Pg1lTsU8N3FlCd+Mjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701810023; a=rsa-sha256; cv=none; b=BJJvc8u/0ISDkxAs6dFHkQ4+QQVb87iihoATfAXhAVakeHzL2/++Of6SPkJ1lg/dwfuv8o vThBe8Tv1zoCT/GuBY4kkY9M15gdfIgzF1s5g9Z98lMmCRp1UzZlq8mFTbYrtXhYcgS42e hDXrr4vsznVxoWO+KyXsvLF1zkutaRQAt+dbUBKUoC62quKERS5Q8qPUgB3MkaApLuik/q zKIxsUPYCDSIv6PE8kY+sIqXSLxhI5mgEzZ8n8yQCti+7ZSegdAJGTeLfvtuYQCmHCAgi/ cdl8Trqfj3y96rFP1DZi2AIjvqpZ3ca2TpAwQ5wE1tfJUxITYKNrmVTGL2i6BQ== 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=1701810023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wqFxS36dISehBaZxYQjsQ36m1mPNO7pOBNcBV39XTuU=; b=jyB9LdeJvx2le8V2QWn6NiLdHNf0rhpMCHDIGEWCwXxukTzzWEJiXehPQZIaZ0dJjluAHm GolZ/+msM0fE4Vqv95jI7ELZ7mHGsGCvMHKwvLtuxj6fzfdukbsCeccQRNnU2mei+RLfse h9uvI8IN/D7K0Uru5JrM+fpiZB8ZBGmDYsb/EsDS2WNOYiBSaVm6iqCG89XWA3TMxX9M/l e55Y6+k/3N/pCkHjKsFX0NzHJ0eIj5GWewMCxugS6yky3hY5aBXL0qaZGeGX4ApfCxOr+g HqXWIIbIxaeRynujf4GgBByVhM2Z5wsCzBXqmnLIfQRfnMQ6WdPtklNWBX1sTg== Received: from [192.168.1.5] (mail.northatlanticmusicsupplies.com [212.237.182.202]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jsm) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SlCbq212Nzmcl; Tue, 5 Dec 2023 21:00:23 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Message-ID: Date: Tue, 5 Dec 2023 22:00:15 +0100 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: firefox broken on arm64 ; about:config WebGL Disable From: Jesper Schmitz Mouridsen To: "Fred G. Finster" , freebsd-arm@freebsd.org Cc: void@f-m.fm References: <330d85af-0db3-d517-d2ee-6fe58228335e@thegalacticzoo.com> <7147d3e6-7354-46d6-a08a-7064eb14e534@FreeBSD.org> Content-Language: en-US In-Reply-To: <7147d3e6-7354-46d6-a08a-7064eb14e534@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 05.12.2023 00.18, Jesper Schmitz Mouridsen wrote: > > On 04.12.2023 23.50, Fred G. Finster wrote: >> >>> From: Jesper Schmitz Mouridsen >>> Date: Sun, 03 Dec 2023 07:34:21 UTC >>> >>> On 25.11.2023 00.00, Jesper Schmitz Mouridsen wrote: >>>> Hi >>>> >>>> Tabs crashes with signal 4 on arm64 not firefox 115 esr but >>>> librewolf 117 dies as well as firefox 119 and 120. Hve not tested 116. >>>> example https://gist.github.com/jsm222/e6199a03142f5716921c82c3d2f3ddc5 >>>> >>>> /Jsm >>> >>> Just build firefox-esr-115.5.0_1,1  and firefox-116.0.3_1,2 the first >>> runs with aslr disabled, the latter signals 4. >>> >>> Any suggestions on what is going on are appreciated. >>> >>> /jsm >> >> JSM, Void, other fellow FreeBSD-ARM users >> See if from inside FireFox,  you open URL about:config >> find  webgl.disabled and set it to value TRUE. >> >> See if this fixes crashes in versions 115 , 116 or later, Firefox-esr >> version.  Report back your findings. >> >> webgl.disabled    true >> > Did not work for me on rpi4 with 4GB ram with firefox 119 from stock > packages.. Perhaps it is just a masked OOM problem.. > So perhpaps it is just lack of memory for > 115-esr.. (I have at most 4GB arm sbcs) With kern.elf64.allow_wx: 0 I do get a OOM condition #0 0x0000189a88aaf298 in NS_ABORT_OOM(unsigned long) () from /usr/local/lib/firefox/libxul.so [Current thread is 1 (LWP 102755)] (gdb) bt #0 0x0000189a88aaf298 in NS_ABORT_OOM(unsigned long) () at /usr/local/lib/firefox/libxul.so #1 0x0000189a89190614 in XPCJSContext::Initialize() () at /usr/local/lib/firefox/libxul.so #2 0x0000189a89190a58 in XPCJSContext::NewXPCJSContext() () at /usr/local/lib/firefox/libxul.so #3 0x0000189a891ba3d4 in xpc::InitializeJSContext() () at /usr/local/lib/firefox/libxul.so #4 0x0000189a88b8c2b4 in NS_InitXPCOM () at /usr/local/lib/firefox/libxul.so #5 0x0000189a8b224584 in mozilla::dom::ContentProcess::Init(int, char**) () at /usr/local/lib/firefox/libxul.so #6 0x0000189a8c53912c in XRE_InitChildProcess(int, char**, XREChildData const*) () at /usr/local/lib/firefox/libxul.so #7 0x00001899d60a2574 in main () > Thanks! > > /jsm > >> Robonuggie Youtube video shows this solution as working on  Arm64 >> FreeBSD operating system >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> FireFox broswer keeps crashing in FreeBSD 14.0 Release on aarch64 >> Raspberry Pi 400 >> >> WebGL disable in FireFox web browser (about:config) WebGL.disable TRUE >> for aarch64 Raspberry Pi 400 Keyboard. FireFox crashing >> >> Hello a short note, with a RoboNuggie Video at 16:23 start time to see >> the problem in action. >>  https://youtu.be/thxnemnprPg?si=Nhm1EtUE4Aptcjx0&t=979 >> https://www.youtube.com/@RoboNuggie  YouTube Channel for RoboNuggie >> >> I will test myself on a Raspberry Pi 4B with 8GB dram running FreeBSD >> 15.0-CURRENT  building Firefox 120.0_2,2 version >> >> >> This is from booting up  the FreeBSD 14.0 RELEASE Snapshot image >> https://Freebsd.org/where >> https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/14.0/ >> https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/14.0/FreeBSD-14.0-RELEASE-arm64-aarch64-RPI.img.xz >> >> Thank you, Gecko for maintaining the FireFox Browser for FreeBSD. >> Will see about making a bug report in bugzilla, after I test the >> FireFox 120.0_2,2 build version >> I see the FireFox version has increased to 121 >> >> >> https://www.mozilla.org/en-US/firefox/121.0beta/releasenotes/ >> >> Version 121.0beta, first offered to Beta channel users on November 21, >> 2023 >> >> Firefox Beta gets updated 3 times a week and as a consequence, the >> release notes for the Beta channel are updated continuously to reflect >> features that have reached sufficient maturity to benefit from >> community feedback and bug reports. >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >