Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2020 14:41:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 243320] www/firefox: 72.0.1_1,1 crash on start
Message-ID:  <bug-243320-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243320

            Bug ID: 243320
           Summary: www/firefox: 72.0.1_1,1 crash on start
           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: rozhuk.im@gmail.com
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

[14897, Main Thread] WARNING: failed to freeze shm: Function not implemente=
d:
file
/tmp/ports/usr/ports/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/=
shared_memory_posix.cc,
line 289
Segmentation fault (core dumped)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
#elif defined(__FreeBSD__)
  cap_rights_t rights;
  cap_rights_init(&rights, CAP_MMAP_R);
  if (cap_rights_limit(mapped_file_, &rights) !=3D 0) {
    CHROMIUM_LOG(WARNING) << "failed to freeze shm: " << strerror(errno);
    //return false; // - My temp FIX - works.
  }
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

Better to check ENOSYS !=3D errno:
if (cap_rights_limit(mapped_file_, &rights) !=3D 0 && ENOSYS !=3D errno) {
and only in this case fail.

--=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-243320-21738>