Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2017 10:02:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222751] Facter 3.9.0  failes when locate not set and custom facts are used (Puppet4 port used as well)
Message-ID:  <bug-222751-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222751
           Summary: Facter 3.9.0  failes when locate not set and custom
                    facts are used (Puppet4 port used as well)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: hristo.mohamed@gmail.com

On a clean puppet4 installation with CFacter, facter -p runs fine.
When I run it against my existing puppet infrastructure, I get :=20
2017-10-03 11:33:47.023229 WARN  puppetlabs.facter - Could not initialize
locale, even with LC_* variables cleared. Continuing without localization
support
2017-10-03 11:33:50.301838 FATAL puppetlabs.facter - unhandled exception:
cxxrt::bad_alloc


Deleting all my custom facts, solves the issue. But then if I do:
export LC_CTYPE=3Den_US.UTF-8

and rerun facter -p, the command goes through and all my facts are reported
correctly.
Running only facter executes correctly.

Attaching gdb with :=20
(gdb) b 'std::bad_alloc::bad_alloc()'
Function "std::bad_alloc::bad_alloc()" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) run -p
[New Thread 808216f00 (LWP 101455/ruby-timer-thr)]
2017-10-03 11:40:41.899334 FATAL puppetlabs.facter - unhandled exception:
cxxrt::bad_alloc

--=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-222751-13>