hiera-gpg
hiera-gpg copied to clipboard
segmentation fault on lookup
Hiera segfaults when it tries to do a GPG lookup with 1.1.0 of the hiera-gpg module.
/opt/puppet/bin/hiera -c /etc/puppetlabs/puppet/hiera.yaml -y scope.yaml -d myvalue
DEBUG: Thu Nov 08 10:26:54 -0500 2012: [gpg_backend]: Loaded gpg_backend DEBUG: Thu Nov 08 10:26:54 -0500 2012: [gpg_backend]: Lookup called, key ds_servers_pgmisc_password resolution type is priority DEBUG: Thu Nov 08 10:26:54 -0500 2012: [gpg_backend]: GNUPGHOME is /etc/puppetlabs/puppet/keyrings/live DEBUG: Thu Nov 08 10:26:54 -0500 2012: [gpg_backend]: loaded cipher: /etc/puppetlabs/puppet/hieradata_gpg/environments/development/postgres.gpg /opt/puppet/lib/ruby/gems/1.8/gems/gpgme-2.0.0/lib/gpgme/ctx.rb:217: [BUG] Segmentation fault ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux]
Aborted (core dumped)
0x00007fb4e2558885 in raise () from /lib64/libc.so.6
#1 0x00007fb4e255a065 in abort () from /lib64/libc.so.6
#2 0x00007fb4e31bb4a3 in rb_bug () from /opt/puppet/lib/libruby.so.1.8
#3 0x00007fb4e322293f in ?? () from /opt/puppet/lib/libruby.so.1.8
#4
at keylist.c:869
#9 0x00007fb4dd34a358 in rb_s_gpgme_op_keylist_start (dummy=
vpattern=4, vsecret_only=<value optimized out>) at gpgme_n.c:682
Many of the components are installed from locally built RPM's from upstream sources. rpm -q -a |grep gpgme
pe-rubygem-gpgme-2.0.0-16.1.x86_64 gpgme-1.1.8-3.el6.x86_64
rpm -q -a |grep hiera pe-rubygem-hiera-0.3.0-333.pe.el6.noarch pe-rubygem-hiera-puppet-0.3.0-1.pe.el6.noarch pe-rubygem-hiera-gpg-1.1.0-8.1.noarch