Date: Sun, 13 Jun 2021 23:00:50 +0000 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 Message-ID: <bug-256586-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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) <above>:/mnt/localfs/boot on /boot (unionfs, local) <above>:/mnt/localfs/home on /home (unionfs, local) <above>:/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 <above>:/mnt/localfs/boot 3.0G 2.0G 1.0G 67% /boot <above>:/mnt/localfs/home 2.1G 2.0G 100M 95% /home <above>:/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 <above>:/mnt/localfs/boot 3.0G 2.0G 1.0G 67% /boot <above>:/mnt/localfs/home 2.1G 2.0G 100M 95% /home <above>:/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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256586-227>