Project

General

Profile

Actions

Bug #17005

closed

lib_gssapi.rb:182: [BUG] Segmentation fault at 0x000000000000004d

Added by alrossi55 (Albert Rossi) over 3 years ago. Updated over 3 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
[ruby-core:99017]

Description

I am running Bolt from a MacBook Pro (mid-2014) with Mojave 10.14.6.

My organization requires us to use kerberized ssh to contact internal nodes.

Here are the ruby/gem versions packaged with this version of puppet-bolt:

/opt/puppetlabs/bolt/bin/ruby -v
ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-darwin18]
/opt/puppetlabs/bolt/bin/gem -v
2.7.6.2

When I try to execute a simple command:

bolt command run "echo 'hello world'" --user root --target <host> --no-host-key-check

The command succeeds but the Ruby interpreter thereafter crashes:

Finished on fndcatemp1.fnal.gov:
  STDOUT:
    hello world
Successful on 1 target: fndcatemp1.fnal.gov
Ran on 1 target in 0.76 sec
/opt/puppetlabs/bolt/lib/ruby/gems/2.5.0/gems/gssapi-1.3.0/lib/gssapi/lib_gssapi.rb:182: [BUG] Segmentation fault at 0x000000000000004d
ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-darwin18]

Included is the crash report.

Thank you,

Albert L. Rossi
Application Developer & Systems Analyst III
Scientific Computing Division, Data Movement Development
FCC 229A
Mail Station 369 (FCC 2W)
Fermi National Accelerator Laboratory
Batavia, IL 60510


Files

Updated by alrossi55 (Albert Rossi) over 3 years ago

In case it is of any use:

Alberts-MacBook-Pro:dcache_deploy arossi$ /opt/puppetlabs/bolt/bin/gem list | grep krb
net-ssh-krb (0.5.1)
Alberts-MacBook-Pro:dcache_deploy arossi$ /opt/puppetlabs/bolt/bin/gem list | grep gss
gssapi (1.3.0)
Actions #2

Updated by alrossi55 (Albert Rossi) over 3 years ago

  • ruby -v set to 2.5.8p224

Updated by tenderlovemaking (Aaron Patterson) over 3 years ago

  • Status changed from Open to Third Party's Issue

Looks like an issue with the gssapi gem and not Ruby. There is an issue on the gssapi repository that looks the same:

https://github.com/zenchild/gssapi/issues/12

The issue was closed but I guess no fix: https://github.com/zenchild/gssapi/issues/30

I looked a little bit at the gssapi gem, but the fix isn't obvious so I can't give you a good answer. My best advice is to comment on this issue with steps to reproduce the problem.

Updated by zenchild (Dan Wanek) over 3 years ago

I've reopened https://github.com/zenchild/gssapi/issues/12. Please follow along over there. I think I have a fix but have asked people to do some testing. Once verified the gssapi gem will release a minor version to deal with this issue.

Updated by zenchild (Dan Wanek) over 3 years ago

This should now be fixed in gssapi-1.3.1

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0