[Pkg-puppet-devel] Bug#962784: facter aborts with free(): invalid pointer

Russ Allbery rra at debian.org
Sun Jun 14 00:54:24 BST 2020


Package: facter
Version: 3.11.0-4.1
Severity: grave

facter no longer works at all on amd64.  When invoked, it dies with
an invalid pointer error:

% facter
free(): invalid pointer
Aborted (core dumped)

gdb backtrace:

#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff79cb55b in __GI_abort () at abort.c:79
#2  0x00007ffff7a24038 in __libc_message (action=action at entry=do_abort, 
    fmt=fmt at entry=0x7ffff7b30f3e "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff7a2b3da in malloc_printerr (
    str=str at entry=0x7ffff7b2f0e0 "free(): invalid pointer") at malloc.c:5339
#4  0x00007ffff7a2cdcc in _int_free (av=<optimized out>, p=<optimized out>, 
    have_lock=0) at malloc.c:4173
#5  0x00007ffff7e835d4 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libfacter.so.3.11.0
#6  0x00007ffff7e83bd8 in facter::facts::collection::add_external_facts(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) ()
   from /usr/lib/x86_64-linux-gnu/libfacter.so.3.11.0
#7  0x000055555557154c in main ()

This also renders Puppet unusable.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages facter depends on:
ii  libboost-program-options1.67.0  1.67.0-18
ii  libc6                           2.30-8
ii  libfacter3.11.0                 3.11.0-4.1
ii  libgcc-s1                       10.1.0-3
ii  libleatherman1.4.2              1.4.2+dfsg-2+b1
ii  libstdc++6                      10.1.0-3
ii  ruby                            1:2.7+1

facter recommends no packages.

facter suggests no packages.

-- no debconf information



More information about the Pkg-puppet-devel mailing list