Project

General

Profile

Bug #7683

Rjb::load Segmentation fault windows

Added by xianpeng chen about 3 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
ruby -v:
ruby 1.9.3p125 (2012-02-16) [i386-mingw32
Backport:
2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
[ruby-core:51370]

Description

i installed RoR. rails is 3.2.1 and ruby is ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
my machine is windows xp sp4.
i set my JAVA_HOME to c:\jdk150_12 and then install rjb by gem install rjb
the installation looks good. rjb is 1.4.3
but below code fails on my pc.
require 'rjb'
Rjb::load

please help.

rubybuglog.txt Magnifier (93.7 KB) xianpeng chen, 01/11/2013 11:49 AM

History

#1 [ruby-core:51371] Updated by xianpeng chen about 3 years ago

see this log

#2 [ruby-core:51373] Updated by Usaku NAKAMURA about 3 years ago

p125 is too old.
try p327. (p362 is the most recently release, but another SEGV bug is reported.)

#3 [ruby-core:51374] Updated by Usaku NAKAMURA about 3 years ago

  • Status changed from Open to Feedback

#4 [ruby-core:51411] Updated by Loïc Delmaire about 3 years ago

Same here, with ruby-1.9.3-p125 & ruby-1.9.3-p362 and rjb (1.4.5).

However ruby-1.9.3-p362 and rjb (1.4.3) is working on my pc.

#5 [ruby-core:52416] Updated by Koichi Sasada almost 3 years ago

  • Assignee set to Akio Tajima

arton-san, could you check this issue?

#6 [ruby-core:52446] Updated by Akio Tajima almost 3 years ago

  • Category changed from core to misc

Thanks for using Ruby and Rjb and sorry for the inconvenience.

This was caused Rjb's gem packagging problem.
Detail: Rjb 1.4.5 was bundled with Java-Ruby proxy class compiled by JDK 1.7. So Rjb was internally crashed with version mismatch error.

I wonder if you tried newer Rjb gem 1.4. 6 it was bundled with JDK 1.5 binary or manually compile ext/RBridge.java and copy its class file into data/rjb/jp/co/infoseek/hp/arton/rjb (manually installation is not recommanded).

#7 [ruby-core:52463] Updated by Akio Tajima almost 3 years ago

  • Status changed from Feedback to Rejected

So, this is not Ruby's bug.

Also available in: Atom PDF