Bug #16380
closedOSX Segmentation fault at 0x0000000106e67698 / illegal hardware instruction rake install_latest
Description
Since a while we have across our team 4 or 5 developers who run often into "Segmentation fault" on OSX machines when running a rake script.
Problem:
We start the rake task and sometimes it stops with a Segmentation fault.
Environment:
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin19]
But it happens also on:
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19]
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19]
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19]
ruby 2.7.0preview1 (2019-05-31 trunk c55db6aa271df4a689dc8eb0039c929bf6ed43ff) [x86_64-darwin19]
We have also tested some older Ruby versions without luck.
It happens only on some OSX machines (especially the new MacBooks but we had it also one older machine).
We use RAKE
We use GIT inside of rake
We use the Following GEMS:
gem 'colorize'
gem 'git'
gem 'highline'
gem 'os'
gem 'rake'
gem 'require_all'
gem 'ruby-oci8'
gem 'ruby-plsql'
gem 'json_spec'
gem 'nokogiri'
gem 'rspec'
gem 'rspec_junit_formatter'
gem 'rubocop'
gem 'rubocop-performance'
We are not able to reproduce the issue so far we have already tried multiple ideas in our Rake script and the investigation is going on ...
Files
Updated by alanwu (Alan Wu) over 5 years ago
I don't see anything obvious in the crash logs.
As a shot in the dark, could you ask the people that have these troubles to run gem pristine $gem_name
on all the gems they use? gem pristine --all
works too, but might take longer.
If your org uses Bundler, you can run bundler pristine
instead.
Updated by jeremyevans0 (Jeremy Evans) over 5 years ago
- Status changed from Open to Third Party's Issue
This error occurs in Oracle Instant Client:
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff6968cb1d]
/Users/rok/instantclient_18_1/libclntshcore.dylib.18.1(sltsqKeyDestructorInt+0x68) [0x1065864b8]
/Users/rok/instantclient_18_1/libclntshcore.dylib.18.1(0x106586447) [0x106586447]
/usr/lib/system/libsystem_pthread.dylib(_pthread_tsd_cleanup+0x1dc) [0x7fff69695384]
Please discuss the issue with the Oracle Instant Client developers. If you can reproduce this without Oracle Instant Client, please post back with details.