halostatue-archive/rubypython

Segfault -- Ruby 1.9.3p327 -- Windows - Simple test case

Opened this issue · 0 comments

I've got a segfault happening from calling a python function in another file.

Ruby version and Python version below. I'm running 32-bit Python and Ruby on an x64 machine under Windows 7.

Stack trace attached, see below for everything else.

-- fail.rb: Ruby source code ---

#!ruby

require "rubypython"

RubyPython.start
fail2 = RubyPython.import( "fail2" )

print "starting\n"
while true
  fail2.do_nothing
end

--- fail2.py: Python source code (in same directory as fail.rb)

#!python

def do_nothing():
    pass

--- ruby version ---

$ ruby -v
ruby 1.9.3p327 (2012-11-10) [i386-mingw32]

--- python version ---

$ python -V
Python 2.7.3