From nobody Sun Jun 13 23:00:50 2021 X-Original-To: bugs@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 BA571F7C232 for ; Sun, 13 Jun 2021 23:00:50 +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 4G396V4lytz3JmF for ; Sun, 13 Jun 2021 23:00:50 +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 8BF711D15 for ; Sun, 13 Jun 2021 23:00:50 +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 15DN0ov1091010 for ; Sun, 13 Jun 2021 23:00:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15DN0oDw091009 for bugs@FreeBSD.org; Sun, 13 Jun 2021 23:00:50 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: bugs@FreeBSD.org Subject: [Bug 256586] running firefox from a tmpfs backed unionfs causes instant crash, no panic seen. system resets Date: Sun, 13 Jun 2021 23:00:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ruben@verweg.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256586 Bug ID: 256586 Summary: running firefox from a tmpfs backed unionfs causes instant crash, no panic seen. system resets Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ruben@verweg.com Created attachment 225782 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225782&action= =3Dedit video displaying instant crash For the purpose of testing new hardware without installing anything on it I created a nanobsd image that unionfs mounts some tmpfs filesystems over the readonly ones so some testing can be done: /dev/gpt/rescuebins1a on / (ufs, local, read-only) devfs on /dev (devfs) tmpfs on /etc (tmpfs, local) tmpfs on /var (tmpfs, local) fdescfs on /dev/fd (fdescfs) tmpfs on /boot/zfs (tmpfs, local) tmpfs on /mnt/localfs/boot (tmpfs, local) tmpfs on /mnt/localfs/home (tmpfs, local) tmpfs on /mnt/localfs/usrlocal (tmpfs, local) :/mnt/localfs/boot on /boot (unionfs, local) :/mnt/localfs/home on /home (unionfs, local) :/mnt/localfs/usrlocal on /usr/local (unionfs, local) This makes it somewhat easier to install packages on the fly without rebuil= ding the nanobsd image. I'm able to reset the system instantaneously when I install X, and run fire= fox from there sudo pkg install xfce xinit xf86-video-vmware open-vm-tools xf86-input-evdev firefox pkg info xfce xinit xf86-video-vmware open-vm-tools xf86-input-evdev firefo= x=20=20=20=20 xfce-4.16 xinit-1.4.1,1 xf86-video-vmware-13.3.0_6 open-vm-tools-11.2.5,2 xf86-input-evdev-2.10.6_6 firefox-89.0_2,2 startxfce then from the desktop enviroment start the browser where xfce will select firefox. Just after firefox started the system resets. I realise that this is an unusual setup. However, it should not cause an unprivileged user to instantaneously reset the system without a panic and indicates an issue. There might be an easier way to reproduce it, by installing / uninstalling software. But I couldn't reproduce this in a reliable manner.=20 the vm has 12GB memory space before installing: Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rescuebins1a 2.0G 1.8G 63M 97% / devfs 1.0K 1.0K 0B 100% /dev tmpfs 2.0G 3.2M 2.0G 0% /etc tmpfs 2.0G 56M 1.9G 3% /var fdescfs 1.0K 1.0K 0B 100% /dev/fd tmpfs 100K 4.0K 96K 4% /boot/zfs tmpfs 1.0G 4.0K 1.0G 0%=20=20=20 /mnt/localfs/boot tmpfs 100M 4.0K 100M 0%=20=20=20 /mnt/localfs/home tmpfs 4.0G 12K 4.0G 0%=20=20=20 /mnt/localfs/usrlocal :/mnt/localfs/boot 3.0G 2.0G 1.0G 67% /boot :/mnt/localfs/home 2.1G 2.0G 100M 95% /home :/mnt/localfs/usrlocal 6.0G 2.0G 4.0G 33% /usr/local space after installing mentioned packages Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rescuebins1a 2.0G 1.8G 63M 97% / devfs 1.0K 1.0K 0B 100% /dev tmpfs 2.0G 3.9M 2.0G 0% /etc tmpfs 2.0G 457M 1.6G 22% /var fdescfs 1.0K 1.0K 0B 100% /dev/fd tmpfs 100K 4.0K 96K 4% /boot/zfs tmpfs 1.0G 84K 1.0G 0%=20=20=20 /mnt/localfs/boot tmpfs 100M 4.0K 100M 0%=20=20=20 /mnt/localfs/home tmpfs 4.0G 2.4G 1.6G 60%=20=20=20 /mnt/localfs/usrlocal :/mnt/localfs/boot 3.0G 2.0G 1.0G 67% /boot :/mnt/localfs/home 2.1G 2.0G 100M 95% /home :/mnt/localfs/usrlocal 6.0G 4.4G 1.6G 73% /usr/local fstab /dev/gpt/rescuebins1a / ufs ro 1 1 /dev/gpt/rescuebins3 /cfg ufs rw,noauto 2 2 fdesc /dev/fd fdescfs rw 0 0 tmpfs /boot/zfs tmpfs rw,size=3D100k 0 0 tmpfs /mnt/localfs/boot tmpfs rw,size=3D1G 0 0 tmpfs /mnt/localfs/home tmpfs rw,size=3D100M 0 0 tmpfs /mnt/localfs/usrlocal tmpfs rw,size=3D4G 0 0 /mnt/localfs/boot /boot unionfs rw,noatime,late 0 0 /mnt/localfs/home /home unionfs rw,noatime,late 0 0 /mnt/localfs/usrlocal /usr/local unionfs rw,noatime,late 0 0 after xfce4 startup approximately 4G is still free --=20 You are receiving this mail because: You are the assignee for the bug.=