From owner-freebsd-ports-bugs@freebsd.org Wed Jan 13 07:30:53 2021 Return-Path: Delivered-To: freebsd-ports-bugs@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 7F2744D337B for ; Wed, 13 Jan 2021 07:30:53 +0000 (UTC) (envelope-from bugzilla-noreply@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 4DFzd92zNkz3nZp for ; Wed, 13 Jan 2021 07:30:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 660BF4D307E; Wed, 13 Jan 2021 07:30:53 +0000 (UTC) Delivered-To: ports-bugs@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 65CFB4D3379 for ; Wed, 13 Jan 2021 07:30:53 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFzd92LK4z3nd9 for ; Wed, 13 Jan 2021 07:30:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 437DD13C4B for ; Wed, 13 Jan 2021 07:30:53 +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 10D7Urq2032133 for ; Wed, 13 Jan 2021 07:30:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10D7UrgS032132 for ports-bugs@FreeBSD.org; Wed, 13 Jan 2021 07:30:53 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: ports-bugs@FreeBSD.org Subject: [Bug 252633] www/firefox 84.0.2,2 firefox fails to run if tiledb installed; privileged instruction error Date: Wed, 13 Jan 2021 07:30:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alt2600@icloud.com 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2021 07:30:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252633 Bug ID: 252633 Summary: www/firefox 84.0.2,2 firefox fails to run if tiledb installed; privileged instruction error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gecko@FreeBSD.org Reporter: alt2600@icloud.com Flags: maintainer-feedback?(gecko@FreeBSD.org) Assignee: gecko@FreeBSD.org Ran into this, today. It was working seemingly fine monday when isp had out= age so I closed it down. Went to bed would not load tuesday morning, tried clos= ing X11 and doing a PC reboot after not doing so for a while. No matter what I = did I could not get firefox to open. I could load firefox profile manager, I've tried creating a fresh profile, but to not avail. As soon as the gui opens = on the main browser screen it crashes with this error. I tried rebuilding it, = I've tried deleting the package entirely and rebuilding it, nothing worked As I was posting this I noticed in lldb that libtiledb.so was somehow being loaded by the elf loader in the backtrace and after deleting it firefox wou= ld work fine again. As I just installed tiledb for gdal probably sunday, and it was an optional dependancy not necessary for my ultimate need of gdal I'll simply disable it for now, not sure why it would even be attempted to be lo= aded though. As I seemingly resolved my issue by removing tiledb I just wanted to let folks know so something comes up with web searches if folks run into th= ese odd issues. I'll gladly try to provide any more data for maintainers, but I will need guidance on exactly the logs/lldb outputs and what not folks would want, I don't know a lot about debugging beyond the very basics, strong des= ire to learn though. Will need some time, to respond, don't like breaking firef= ox or its compile time on my old westmere xeon. In this case should be easy, j= ust need to reinstall tiledb, unless I need to do a debug build of firefox. 12.1-RELEASE-p12 FreeBSD 12.1-RELEASE-p12 r368528 amd64, using a custom ker= nel, and capsicum options all seem to be in place as this is essentially a gener= ic kernel with unnecessary drivers removed. Entire system/ports are source update/builds, no binary packages, except when thats how ports installs them linux compat and such. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D under XFCE $ firefox (firefox:74016): GVFS-RemoteVolumeMonitor-WARNING **: 22:34:45.887: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not suppo= rted JavaScript error: resource://activity-stream/lib/ASRouterNewTabHook.jsm, li= ne 61: TypeError: this._router is null (firefox:74016): GVFS-RemoteVolumeMonitor-WARNING **: 22:34:46.174: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not suppo= rted Exiting due to channel error. Illegal instruction =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D under KDE $ firefox JavaScript error: resource://activity-stream/lib/ASRouterNewTabHook.jsm, li= ne 61: TypeError: this._router is null Exiting due to channel error. Illegal instruction $ firefox --headless *** You are running in headless mode. JavaScript error: resource://activity-stream/lib/ASRouterNewTabHook.jsm, li= ne 61: TypeError: this._router is null *** You are running in headless mode. (firefox:75818): GLib-GObject-WARNING **: 01:46:00.647: invalid (NULL) poin= ter instance (firefox:75818): GLib-GObject-CRITICAL **: 01:46:00.647: g_signal_connect_d= ata: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed this doesn't crash but throws the above on console. I had always assumed this builds with LLVM but it seems to be linked with g= cc not sure if thats good or bad. removing tiledb didn't change this. $ ldd `which firefox` /usr/local/bin/firefox: libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x80071c000) libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0x800e00000) libm.so.5 =3D> /lib/libm.so.5 (0x800e22000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x800e54000) libthr.so.3 =3D> /lib/libthr.so.3 (0x800e6e000) libc.so.7 =3D> /lib/libc.so.7 (0x80024a000) for what its worth, all I gather is its trying to execute priviledged instruction. not risking running as root. only other thing that is odd as it seems the be trying to load libtiledb, which I know I recently installed for gdal. $ lldb `which firefox` (lldb) target create "/usr/local/bin/firefox" Current executable set to '/usr/local/bin/firefox' (x86_64). (lldb) r Process 75911 launching Process 75911 launched: '/usr/local/bin/firefox' (x86_64) JavaScript error: resource://activity-stream/lib/ASRouterNewTabHook.jsm, li= ne 61: TypeError: this._router is null Process 75911 stopped * thread #35, name =3D 'StreamTrans #1', stop reason =3D signal SIGILL: pri= vileged instruction frame #0: 0x0000000825298f7f -> 0x825298f7f: vmovups -0xf3b1b(%rip), %xmm0 0x825298f87: vmovups %xmm0, 0x1cd0e2(%rip) 0x825298f8f: movabsq $0x6d6f632e6264656c, %rax ; imm =3D 0x6D6F632E6264= 656C=20 0x825298f99: movq %rax, 0x1cd0df(%rip) (lldb) bt * thread #35, name =3D 'StreamTrans #1', stop reason =3D signal SIGILL: pri= vileged instruction * frame #0: 0x0000000825298f7f frame #1: 0x00000008010d741e ld-elf.so.1`objlist_call_init(list=3D, lockstate=3D) at rtld.c:2723:7 frame #2: 0x00000008010dc02a ld-elf.so.1`dlopen_object(name=3D"/usr/local/lib/libtiledb.so", fd=3D, refobj=3D, lo_flags=3D, mode=3D1, lockstate=3D0xffffffff00000002) at rtld.c:3435:2 frame #3: 0x00000008010d867b ld-elf.so.1`rtld_dlopen(name=3D"/usr/local/lib/libtiledb.so", fd=3D-1, mode=3D) at rtld.c:3300:13 frame #4: 0x000000080c6b6223 libnspr4.so`PR_LoadLibraryWithFlags + 163 frame #5: 0x00000008087afab7 libxul.so`nsPluginFile::GetPluginInfo(nsPluginInfo&, PRLibrary**) + 215 frame #6: 0x00000008087af1f1 libxul.so`PluginFinder::ScanPluginsDirectory(nsIFile*, bool*) + 1233 frame #7: 0x00000008087ae299 libxul.so`PluginFinder::FindPlugins() + 233 frame #8: 0x00000008087adf33 libxul.so`PluginFinder::Run() + 67 frame #9: 0x00000008065dbebd libxul.so`nsThreadPool::Run() + 1005 frame #10: 0x00000008065d7601 libxul.so`nsThread::ProcessNextEvent(bool, bool*) + 1281 frame #11: 0x00000008065da96b libxul.so`NS_ProcessNextEvent(nsIThread*, bool) + 75 frame #12: 0x0000000806a19518 libxul.so`mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump= ::Delegate*) + 152 frame #13: 0x00000008069e0417 libxul.so`MessageLoop::Run() + 87 frame #14: 0x00000008065d5775 libxul.so`nsThread::ThreadFunc(void*) + 3= 57 frame #15: 0x000000080c6cdd8d libnspr4.so`___lldb_unnamed_symbol183$$libnspr4.so + 221 frame #16: 0x000000080125d735 libthr.so.3`thread_start(curthread=3D0x0000000815aeb400) at thr_create.c:29= 2:16 (lldb)=20 after removing tiledb-2.1.6 package $ firefox JavaScript error: resource://gre/modules/XPCOMUtils.jsm, line 144: TypeErro= r: Cc[aContract] is undefined JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory. JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory. JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory. but otherwise things seem to work fine with the browser. --=20 You are receiving this mail because: You are the assignee for the bug.=