-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault on macOS High Sierra #61
Comments
Hi ruby -d -e "require 'rjb'; p ENV['JAVA_HOME']; p ENV['JVM_LIB']" Regards |
Thanks for your quick response! Sure, no problem:
I never set
|
Hum |
Sorry for the extremely late reply, for some reason I did not see a notification for your original answer. I just ran into this bug again and thought I'd check the issue tracker.
I don't think that the |
Btw, rjb works just fine whenever I use a Ruby different to the macOS default system version. I just installed Ruby 2.5.8 using ruby-install and everything seems to be working without any problems. |
@sometimesfood
to me? |
Sure, here you go:
|
Umm... It seems Ruby's version is correct, it shows that all libraries are loaded from 2.3.0 directories. |
Both Ruby as well as Java are universal binaries:
Using a custom-built Ruby installed using ruby-install works fine as a workaround, but if there's anything I can do to help you diagnose this, just let me know! |
I wonder if you could show me the output of
fiddle is the core dependency of Rjb which loads external library such as jvm. |
|
I just noticed that the error message in my initial bug report seems to have been truncated; here's the complete output (including a C level backtrace):
|
Hi It seems the problem is behind your system, not rjb, ruby and jvm. Because the stack trace (caller-callee bottom to up) show that
This means 10:rjbcore called 9:libjvm. Do you investigate OSX libdyld crush report in anyway? |
Thank you for your help. The system in question is a fairly vanilla macOS Mojave (10.14.6) machine. I can reproduce the same error on a different system (also a macOS Mojave system).
I saved the crash report and submitted it to Apple. However, I have not tried attaching a debugger to the process yet, since I would have to disable System Integrity Protection in order to do so. Also, I don't think I would know what to look for anyway, but if you would like to investigate any further, just let me know if there's anything I can help you with! If you think that this is not an issue with rjb, please feel free to close this issue if you do not want to investigate any further. I'd be happy to help debugging this issue but I can completely understand if you would prefer not to devote any more time to this issue. |
rjb seems to have stopped working on macOS High Sierra (10.13.4). Running
Rjb::load
results in the following error message:I happened to have a clean install lying around to verify the problem does not only occur in my specific environment.
Steps to reproduce on a fresh macOS High Sierra install (Mac Command Line Developer Tools installed):
Results:
Environment:
Do you have any idea on what might be going wrong here? I would be happy to provide more information if needed.
The text was updated successfully, but these errors were encountered: