Project

General

Profile

Actions

Bug #10133

closed

Bug in ruby

Added by lxh37 (Liz Huang) over 9 years ago. Updated over 9 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
2.1.0p0 (2013-12-25 revision 44422
[ruby-core:64361]

Description

I got a new Mac Pro server and tried to upgrade web applets to new version of Ruby On Rails, the web applet calls an external Fortran library I developed, it worked in Ruby on Rails (Ruby 1.8.7 and Rails 2.3.18) by using "DL". I tried to develop the same web applet in Ruby on Rails 4 (ruby 2.1.0p0 (2013-12-25 revision 44422) and Rails 4.1.2), with "DL" deprecated, so I use fiddle and wrapped Fortran by C, I tested the interface by commenting out all computation parts first to make sure it is working. Now I have the computation codes back (same codes as in older version) and I even create a console application to test the code is working. But when I try to call it from Ruby, it crashed.
I saved all messages in terminal window in attached file "bug.rtf" and also send the crash report.
I feel it might a bug in Ruby as it works in older version and the Fortran codes was tested in console application project.


Files

bug.rtf (125 KB) bug.rtf lxh37 (Liz Huang), 08/14/2014 08:51 PM
ruby_2014-08-14-162519_calder229.crash (25 KB) ruby_2014-08-14-162519_calder229.crash lxh37 (Liz Huang), 08/14/2014 08:53 PM
DiagnosticReports.zip (1.21 MB) DiagnosticReports.zip lxh37 (Liz Huang), 08/15/2014 06:28 PM
calculateSamplesize.rb (454 Bytes) calculateSamplesize.rb lxh37 (Liz Huang), 08/20/2014 07:30 PM
libsamplesize.dylib (1.78 MB) libsamplesize.dylib lxh37 (Liz Huang), 08/20/2014 07:31 PM
ruby_2014-08-20-153628_calder229.crash (26.3 KB) ruby_2014-08-20-153628_calder229.crash lxh37 (Liz Huang), 08/20/2014 07:40 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0