From owner-freebsd-x11@freebsd.org Thu Oct 17 16:12:46 2019 Return-Path: Delivered-To: freebsd-x11@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 E5C561563AA for ; Thu, 17 Oct 2019 16:12:46 +0000 (UTC) (envelope-from jesper@schmitz.computer) 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 46vDht53fgz4N92 for ; Thu, 17 Oct 2019 16:12:46 +0000 (UTC) (envelope-from jesper@schmitz.computer) Received: by mailman.nyi.freebsd.org (Postfix) id AD7071563A8; Thu, 17 Oct 2019 16:12:46 +0000 (UTC) Delivered-To: x11@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 AD3171563A7 for ; Thu, 17 Oct 2019 16:12:46 +0000 (UTC) (envelope-from jesper@schmitz.computer) Received: from mail.northatlanticmusicsupplies.com (2a02-0980-3900-0000-0000-0000-0000-030b.v6.fullrate.ninja [IPv6:2a02:980:3900::30b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46vDhs1cPxz4N91 for ; Thu, 17 Oct 2019 16:12:44 +0000 (UTC) (envelope-from jesper@schmitz.computer) Received: by mail.northatlanticmusicsupplies.com (Postfix, from userid 58) id 0C200AB721D; Thu, 17 Oct 2019 18:12:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mini-itx.freebsd.lan X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.2 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from * author's domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from * envelope-from domain * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from [192.168.1.8] (unknown [192.168.1.8]) by mail.northatlanticmusicsupplies.com (Postfix) with ESMTPSA id 5BAC4AB7219; Thu, 17 Oct 2019 18:12:22 +0200 (CEST) Subject: Re: Firefox crashes when running natively on wayland To: raichoo , x11@freebsd.org References: <20191017160631.GA1310@lain.lan> From: Jesper Schmitz Mouridsen Message-ID: <1f25149d-f865-e566-216f-1c384354f863@schmitz.computer> Date: Thu, 17 Oct 2019 18:12:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <20191017160631.GA1310@lain.lan> Content-Language: en-US X-Rspamd-Queue-Id: 46vDhs1cPxz4N91 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.39 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[schmitz.computer:s=201908]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[schmitz.computer:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[schmitz.computer,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.39)[asn: 39554(-1.94), country: DK(-0.02)]; ASN(0.00)[asn:39554, ipnet:2a02:980::/32, country:DK]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2019 16:12:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240884 On 17.10.2019 18.06, raichoo wrote: > Hi, > > Running firefox natively on wayland crashes on startup. I've tried this on 2 > different installations. Anyone else seeing this? > > $ env MOZ_ENABLE_WAYLAND=1 lldb /usr/local/bin/firefox > (lldb) target create "/usr/local/bin/firefox" > Current executable set to '/usr/local/bin/firefox' (x86_64). > (lldb) run > Process 1466 launching > Process 1466 launched: '/usr/local/bin/firefox' (x86_64) > Process 1466 stopped > * thread #19, name = 'Compositor', stop reason = signal SIGSEGV: invalid address (fault address: 0x0) > frame #0: 0x00000008078adf3b libxul.so`mozilla::widget::WaylandShmPool::CreateTemporaryFile(int) + 251 > libxul.so`mozilla::widget::WaylandShmPool::CreateTemporaryFile: > -> 0x8078adf3b <+251>: movl $0xf3, 0x0 > 0x8078adf46 <+262>: callq 0x809b48c60 ; symbol stub for: abort > 0x8078adf4b <+267>: leaq -0x58(%rbp), %rdi > 0x8078adf4f <+271>: callq 0x8051b8170 ; nsTSubstring::Finalize() > (lldb) bt > * thread #19, name = 'Compositor', stop reason = signal SIGSEGV: invalid address (fault address: 0x0) > * frame #0: 0x00000008078adf3b libxul.so`mozilla::widget::WaylandShmPool::CreateTemporaryFile(int) + 251 > frame #1: 0x00000008078adfe7 libxul.so`mozilla::widget::WaylandShmPool::WaylandShmPool(mozilla::widget::nsWaylandDisplay*, int) + 23 > frame #2: 0x00000008078afc67 libxul.so`mozilla::widget::WindowSurfaceWayland::CreateWaylandBuffer(int, int) + 391 > frame #3: 0x00000008078b0031 libxul.so`mozilla::widget::WindowSurfaceWayland::GetWaylandBufferToDraw(bool) + 833 > frame #4: 0x00000008078b0216 libxul.so`mozilla::widget::WindowSurfaceWayland::LockWaylandBuffer() + 22 > frame #5: 0x00000008078b0d64 libxul.so`mozilla::widget::WindowSurfaceWayland::Lock(mozilla::gfx::IntRegionTyped const&) + 2324 > frame #6: 0x000000080789cd9b libxul.so`mozilla::widget::WindowSurfaceProvider::StartRemoteDrawingInRegion(mozilla::gfx::IntRegionTyped&, mozilla::layers::BufferMode*) + 155 > frame #7: 0x0000000805df2633 libxul.so`mozilla::layers::BasicCompositor::BeginFrameForWindow(mozilla::gfx::IntRegionTyped const&, mozilla::Maybe > const&, mozilla::gfx::IntRectTyped const&, mozilla::gfx::IntRegionTyped const&) + 1123 > frame #8: 0x0000000805f9bbb1 libxul.so`mozilla::layers::LayerManagerComposite::Render(mozilla::gfx::IntRegionTyped const&, mozilla::gfx::IntRegionTyped const&) + 641 > frame #9: 0x0000000805f9b322 libxul.so`mozilla::layers::LayerManagerComposite::UpdateAndRender() + 2626 > frame #10: 0x0000000805f9a836 libxul.so`mozilla::layers::LayerManagerComposite::EndTransaction(mozilla::TimeStamp const&, mozilla::layers::LayerManager::EndTransactionFlags) + 182 > frame #11: 0x0000000805fba4fc libxul.so`mozilla::layers::CompositorBridgeParent::CompositeToTarget(mozilla::layers::BaseTransactionId, mozilla::gfx::DrawTarget*, mozilla::gfx::IntRectTyped const*) + 1356 > frame #12: 0x0000000805fc485f libxul.so`mozilla::layers::CompositorVsyncScheduler::Composite(mozilla::layers::BaseTransactionId, mozilla::TimeStamp) + 127 > frame #13: 0x0000000805fd4b8f libxul.so`mozilla::detail::RunnableMethodImpl, mozilla::TimeStamp), true, (mozilla::RunnableKind)1, mozilla::layers::BaseTransactionId, mozilla::TimeStamp>::Run() + 47 > frame #14: 0x000000080565c910 libxul.so`MessageLoop::DoWork() + 736 > frame #15: 0x000000080565d231 libxul.so`base::MessagePumpDefault::Run(base::MessagePump::Delegate*) + 305 > frame #16: 0x000000080565bee8 libxul.so`MessageLoop::Run() + 88 > frame #17: 0x0000000805673878 libxul.so`base::Thread::ThreadMain() + 456 > frame #18: 0x0000000805663aea libxul.so`ThreadFunc(void*) + 10 > frame #19: 0x00000008011eb75b libthr.so.3`thread_start(curthread=0x0000000810588900) at thr_create.c:292:16 > > Kind regards, > raichoo > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"