https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220027

            Bug ID: 220027
           Summary: www/firefox: crashes on latest head due to jemalloc
                    update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ge...@freebsd.org
          Reporter: henry.hu...@gmail.com
             Flags: maintainer-feedback?(ge...@freebsd.org)
          Assignee: ge...@freebsd.org

jemalloc is updated in base to 5.0 on Jun 15. The result is that firefox
crashes minutes after startup, or crashes when doing a measurement in
about:memory.
The error is:

<jemalloc>: jemalloc_ctl.c:1212: Failed assertion: "node->nchildren > 0"

The reason is that malloc ctl stats.arenas.0.metadata.allocated is renamed to
stats.arenas.0.internal (see
https://github.com/jemalloc/jemalloc/commit/a0dd3a4483e2e72ee80e70424a6522f873f2c7ff
and
https://github.com/jemalloc/jemalloc/commit/751f2c332d91209c5ae3234fa444a20850067960),
while firefox is still checking the old malloc ctl without checking the return
value of mallctlnametomib.

One temporary fix is modifying firefox binary and updating the string. Firefox
should be patched for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"

Reply via email to