Forum: Ruby-core [ruby-trunk - Bug #7683][Open] Rjb::load Segmentation fault windows

Posted by chencc98 (xianpeng chen) (Guest)
on 2013-01-11 03:44
(Received via mailing list)
Issue #7683 has been reported by chencc98 (xianpeng chen).

----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683

Author: chencc98 (xianpeng chen)
Status: Open
Priority: Normal
Assignee:
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


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.
Posted by chencc98 (xianpeng chen) (Guest)
on 2013-01-11 03:49
(Received via mailing list)
Issue #7683 has been updated by chencc98 (xianpeng chen).

File rubybuglog.txt added

see this log
----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683#change-35338

Author: chencc98 (xianpeng chen)
Status: Open
Priority: Normal
Assignee:
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


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.
Posted by usa (Usaku NAKAMURA) (Guest)
on 2013-01-11 04:43
(Received via mailing list)
Issue #7683 has been updated by usa (Usaku NAKAMURA).


p125 is too old.
try p327. (p362 is the most recently release, but another SEGV bug is 
reported.)
----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683#change-35340

Author: chencc98 (xianpeng chen)
Status: Open
Priority: Normal
Assignee:
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


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.
Posted by usa (Usaku NAKAMURA) (Guest)
on 2013-01-11 04:43
(Received via mailing list)
Issue #7683 has been updated by usa (Usaku NAKAMURA).

Status changed from Open to Feedback


----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683#change-35341

Author: chencc98 (xianpeng chen)
Status: Feedback
Priority: Normal
Assignee:
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


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.
Posted by "skelz0r (Loïc Delmaire)" <loic.delmaire@gmail.com (Guest)
on 2013-01-14 00:58
(Received via mailing list)
Issue #7683 has been updated by skelz0r (Loïc Delmaire).


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.
----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683#change-35389

Author: chencc98 (xianpeng chen)
Status: Feedback
Priority: Normal
Assignee:
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


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.
Posted by ko1 (Koichi Sasada) (Guest)
on 2013-02-18 01:16
(Received via mailing list)
Issue #7683 has been updated by ko1 (Koichi Sasada).

Assignee set to arton (Akio Tajima)

arton-san, could you check this issue?

----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683#change-36471

Author: chencc98 (xianpeng chen)
Status: Feedback
Priority: Normal
Assignee: arton (Akio Tajima)
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


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.
Posted by arton (Akio Tajima) (Guest)
on 2013-02-18 13:29
(Received via mailing list)
Issue #7683 has been updated by arton (Akio Tajima).

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).


----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683#change-36512

Author: chencc98 (xianpeng chen)
Status: Feedback
Priority: Normal
Assignee: arton (Akio Tajima)
Category: misc
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


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.
Posted by arton (Akio Tajima) (Guest)
on 2013-02-18 14:39
(Received via mailing list)
Issue #7683 has been updated by arton (Akio Tajima).

Status changed from Feedback to Rejected

So, this is not Ruby's bug.

----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683#change-36530

Author: chencc98 (xianpeng chen)
Status: Rejected
Priority: Normal
Assignee: arton (Akio Tajima)
Category: misc
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.