Getting openJDK &JRE error while Ido rake

9 views
Skip to first unread message

D

unread,
Aug 8, 2012, 3:55:28 AM8/8/12
to rubyonra...@googlegroups.com
Hello all, I use Ubuntu 10.04 & rvm ruby . Sometimes when I do rake <some task> I get this error,

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00f623d9, pid=8361, tid=3078060912
#
# JRE version: 6.0_24-b24
# Java VM: OpenJDK Client VM (20.0-b12 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.11.3
# Distribution: Ubuntu 10.04.1 LTS, package 6b24-1.11.3-1ubuntu0.10.04.1
# Problematic frame:
# V  [libjvm.so+0x2233d9]  jni_GetObjectField+0x89
#
# An error report file with more information is saved as:
# /home/xyz/projects/refinery/hs_err_pid8361.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
Aborted


$rvm list

rvm rubies

   /home/xyz/.rvm/scripts/list: line 294: /home/sodel/.rvm/rubies/jruby-1.6.7/config: No such file or directory
jruby-1.6.7 [  ]
   ruby-1.9.2-p318 [ i686 ]
=* ruby-1.9.3-p0 [ i686 ]
   ruby-1.9.3-p125 [ i686 ]

# => - current
# =* - current && default
#  * - default

Can any one tell me why this is happening? Sometime if I use a different version ruby after I get this error, then everything works fine.
 

Norbert Melzer

unread,
Aug 8, 2012, 4:40:19 AM8/8/12
to rubyonra...@googlegroups.com

I'm getting similar errors when I have a redmine installed in that gemset, perhaps that's your problem too.

Also I would suggest to upgrade to sunjava 7, with that I had much less java related errors in general.

If possible you should think about upgrading your ubuntu to 12.04, which is the current LTS, but I don't think that your problem is related to that.

If nothing of the first tips helps please provide the log that is mentioned in the crash.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/5EAJ59eW2DUJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages