Bug 240884 - www/firefox on wayland posix_fallocate zfs EINVAL segfault
Summary: www/firefox on wayland posix_fallocate zfs EINVAL segfault
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gecko mailing list
Depends on:
Reported: 2019-09-27 20:57 UTC by Jesper Schmitz Mouridsen
Modified: 2019-10-19 23:36 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gecko)


Note You need to log in before you can comment on or make changes to this bug.
Description Jesper Schmitz Mouridsen freebsd_committer 2019-09-27 20:57:15 UTC

ZFS returns EINVAL error 22 on posix_allocate used by firefox on wayland.
a workaround is to use tmpfs or another non zfs fs for /tmp.
Comment 1 Jan Beich freebsd_committer 2019-09-27 22:39:32 UTC
Does it affect ZFS on Linux as well? Can you report upstream instead?
Comment 2 Greg V 2019-09-28 08:17:34 UTC
If it's using memfd, it won't affect Linux, though IIRC there's a couple different places where a memory fd is needed and only one of them uses memfd (?)

SHM_ANON was used too but I've heard something about it being removed??
Comment 3 Jan Beich freebsd_committer 2019-09-28 21:46:48 UTC
(In reply to Greg V from comment #2)
Firefox itself also uses posix_fallocate but maybe not for long.