Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Dec 2024 13:30:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283083] System goes broken after update from sources with malloc.conf
Message-ID:  <bug-283083-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 283083
           Summary: System goes broken after update from sources with
                    malloc.conf
           Product: Base System
           Version: 14.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

Just rebuild and reinstall FBSD stable/14 and it got broken.

If I try to rebuild system after installation but before reboot I got cored=
ump:
Core file '/tmp/install.00.core' (x86_64) was loaded.
(lldb) bt all
* thread #1, name =3D 'install', stop reason =3D signal SIGSEGV
  * frame #0: 0x0000000000274f7b install`strtol + 11
    frame #1: 0x000000000027ecd4 install`malloc_conf_init_helper + 2804
    frame #2: 0x000000000027df39 install`malloc_init_hard_a0_locked + 137
    frame #3: 0x000000000027de86 install`malloc_init_hard_a0 + 86
    frame #4: 0x0000000000275c70 install`__je_bootstrap_malloc + 96
    frame #5: 0x0000000000246d1e install`__libc_allocate_tls + 94
    frame #6: 0x0000000000246efc install`_init_tls + 252
    frame #7: 0x000000000022fcdb install`__libc_start1 + 251
    frame #8: 0x0000000000223800 install`_start + 48

After reboot - it hang on kernel messages (suspect init process coredumped
too).

My /etc/malloc.conf ->
metadata_thp:disabled,retain:true,dss:disabled,narenas:8,background_thread:=
false,tcache:true,lg_tcache_max:16

Removing /etc/malloc.conf fix issue, but this is not best solution since ot=
her
peoples may got broken system without able to boot/login instead of some
warning message for bad malloc options.

--=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-283083-227>