Issue #17005 has been updated by tenderlovemaking (Aaron Patterson).

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](https://github.com/zenchild/gssapi/issues/30) with steps to reproduce the problem.

----------------------------------------
Bug #17005: lib_gssapi.rb:182: [BUG] Segmentation fault at 0x000000000000004d
https://bugs.ruby-lang.org/issues/17005#change-86394

* Author: alrossi55 (Albert Rossi)
* Status: Third Party's Issue
* Priority: Normal
* ruby -v: 2.5.8p224
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
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--------------------------------
ruby_2020-07-01-143537_Alberts-MacBook-Pro.crash (44 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>