-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Bad value for $$ #3380
Comments
One other symptom (may be unrelated), is that |
|
This should only happen when native support can't be loaded, since in that case there's no portable way to get the current process's pid. That might also explain env values not propagating correctly, since it would fall back on older, crufty process logic. Can you check output of -Xnative.verbose=true? |
We have verified that the error goes away by installing libc6-dev on the server. Woohoo! Will installing libc6-dev still be necessary with JRuby 9.0.2.10? |
@donv I just updated jnr-posix which should be a newer ffi but I see you still needed to include this. Was @mkristian fix in #3285 dependent on still needing this libc6-dev? |
@enebo @headius @mkristian It is unclear to me if libc6-dev is still needed after the #3285 fix. It would be good if you could clarify. |
@donv by you ewe meant @mkristian ... :) |
@donv not sure why it did not pick the x86_64 library
|
@headius reading this I wondered whether these two lines of mine do miss something (possible SecurityException or very expensive to use JMX here, or ...) |
regarding my stacktrace, I do have multiarch support installed |
@enebo @headius @mkristian Sorry for needing it fed with a tea spoon: Will we need to install the libc6-dev package for JRuby 9.0.2.0 ? |
it depends. if you have a multiarch setup then there is a new problem with new jffi jar. so not sure if we should go back and first fix the mutliarch problem. but that is probably a new issue. if you have a clean x86_64 linux you do not need to install libc6-dev or build-essentials, etc |
@mkristian Thanks! |
Hi!
On one production machine we are getting a strange value for $$:
This is the same value as the hash of the runtime mentioned in #2452:
We have not been able to reproduce this on any other physical or virtual machine, and we have no idea where to start. Any help is greatly appreciated.
The machine is a newly installed Ubuntu 14.04 trusty 64-bit server. We are running with JRuby 9.0.1.0 on Oracle Java 1.8.0_60:
The text was updated successfully, but these errors were encountered: