halostatue-archive / rubypython

An in-process between Ruby and Python 2.
Other
255 stars 47 forks source link

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

Open halostatue opened 7 years ago

halostatue commented 7 years ago

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