installing jruby hangs [?]

323 views
Skip to first unread message

Roger Pack

unread,
Jan 15, 2013, 4:17:07 PM1/15/13
to rubyversi...@googlegroups.com
Hello.  I noticed with a 32 bit linux VM, I get the following
 rvm reinstall jruby
/home/rdp/.rvm/src/jruby-1.7.1 has already been removed.
Removing /home/rdp/.rvm/rubies/jruby-1.7.1...
http://jruby.org.s3.amazonaws.com/downloads/1.7.1/jruby-bin-1.7.1.tar.gz - #configure
jruby-1.7.1 - #download
jruby-1.7.1 - #extract
jruby-1.7.1 - #validate
jruby-1.7.1 - #setup
Saving wrappers to '/home/rdp/.rvm/bin'.
jruby-1.7.1 - #importing default gemsets (/home/rdp/.rvm/gemsets/), this may take time ...

<appears to hang>

Sometimes it is accompanied by a popup message (before the hang) saying "dlopen has crashed") and (IIRC, I don't have it before me) a message saying it crashed on an ARM'ish named jar.

This process appears to be currently running:

rdp       9392  9316  2 14:05 pts/0    00:00:12 java -Xmx500m -Xss2048k -Djffi.boot.library.path=/home/rdp/.rvm/rubies/jruby-1.7.1/lib/native/arm-Linux:/home/rdp/.rvm/rubies/jruby-1.7.1/lib/native/i386-Linux:/home/rdp/.rvm/rubies/jruby-1.7.1/lib/native/x86_64-Linux -Xbootclasspath/a:/home/rdp/.rvm/rubies/jruby-1.7.1/lib/jruby.jar -classpath : -Djruby.home=/home/rdp/.rvm/rubies/jruby-1.7.1 -Djruby.lib=/home/rdp/.rvm/rubies/jruby-1.7.1/lib -Djruby.script=jruby -Djruby.shell=/bin/sh org.jruby.Main /home/rdp/.rvm/rubies/jruby-1.7.1/bin/gem install --remote jruby-launcher

you'll notice it's pointing the ffi lib to include arm-Linux maybe it's related?
Thank you for your help here.
-roger-

Roger Pack

unread,
Jan 15, 2013, 4:30:40 PM1/15/13
to rubyversi...@googlegroups.com


On Tuesday, January 15, 2013 2:17:07 PM UTC-7, Roger Pack wrote:
Hello.  I noticed with a 32 bit linux VM, I get the following
 rvm reinstall jruby
/home/rdp/.rvm/src/jruby-1.7.1 has already been removed.
Removing /home/rdp/.rvm/rubies/jruby-1.7.1...
http://jruby.org.s3.amazonaws.com/downloads/1.7.1/jruby-bin-1.7.1.tar.gz - #configure
jruby-1.7.1 - #download
jruby-1.7.1 - #extract
jruby-1.7.1 - #validate
jruby-1.7.1 - #setup
Saving wrappers to '/home/rdp/.rvm/bin'.
jruby-1.7.1 - #importing default gemsets (/home/rdp/.rvm/gemsets/), this may take time ...

<appears to hang>

Sometimes it is accompanied by a popup message (before the hang) saying "dlopen has crashed") and (IIRC, I don't have it before me) a message saying it crashed on an ARM'ish named jar.


Ok it appears that with a 64 bit Ubuntu VM, if I run
$ rvm reinstall jruby

it gets to:
jruby-1.7.2 - #importing default gemsets (/home/rogerdpack/.rvm/gemsets/), this may take time ...

then displays a crash dialog, which says

/lib/x86_64-linux-gnu/ld-2.15.so has crashed, with details of:

The crashed program seems to use third-party or local libraries:
/home/rogerdpack/.rvm/rubies/jruby-1.7.2/lib/native/x86_64-SunOS/libjffi-1.2.so
It is highly recommended to check if the problem persists without those first.
Do you want to continue the report process anyway?


Then it proceeds as normal and terminates, so at least it comes back, and seems to work after that.

With 32 bit Ubuntu VM, it appears to just hang forever (no dialog ever).
FWIW.
Thanks again.
-roger-

mpapis

unread,
Jan 16, 2013, 12:07:24 AM1/16/13
to rubyversi...@googlegroups.com
can you reproduce this after `rvm get head`? if yes please open an ticket here: https://github.com/wayneeseguin/rvm/issues

Roger Pack

unread,
Jan 16, 2013, 12:24:23 PM1/16/13
to rubyversi...@googlegroups.com
> can you reproduce this after `rvm get head`? if yes please open an ticket
> here: https://github.com/wayneeseguin/rvm/issues

Appears to work great after an rvm get head, thanks!
Reply all
Reply to author
Forward
0 new messages