split.rb:30: [BUG] Segmentation fault
We hit a "Segmentation fault" of a small ruby script (split.rb).
OS is CentOS7.7 and ruby 2.0.0p648 is used.
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
I'd like to know is this is a known issue of ruby 2.0.0 on CentOS7.7.
Or, program bugs?
Any quick workarounds are welcome.
Also, I'd like to know how to check our 'split.pb' is valid ruby program, or not.
I attached ruby error messages as a text file 'ruby_messages.txt'.
I appreciate your feedback.
Updated by jaruga (Jun Aruga) 12 months ago
I think the ruby 2.0.0p648 is the ruby installed as a RPM package on the CentOS 7 by default.
If you do not have any reason to continue to use it, I would recommend a newer ruby installed by Software Collections or one built from the source.
You can also find some helpful pages by searching keywords such as CentOS software collection centos-release-scl rh-ruby27.