You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Luke Imhoff <lu...@cray.com> on 2009/07/29 12:53:48 UTC

segfault in ruby bindings for 1.4.6 due to missing swig data type

I tried using the ruby binding I built against 1.4.6, but I keep getting 
a segfault as soon as I require 'svn/core'.  I turned on verbose mode 
and got:

ruby -v -e 'puts require("svn/core")'
ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/svn/ext/core.so: warning: 
global variable `$swig_runtime_data_type_pointer2' not initialized
Segmentation fault

This is a build of Subversion 1.4.6 using swig 1.3.27 and ruby 
1.8.6.p114.  The swig (along with the rest of the build environment) is 
from SLES 10.  The ruby is a special version I had to build to support 
opensuse's OBS server under SLES 10.  I'm using Subversion 1.4.6 to 
match the IT supported version that the developers have to use.

Is there a simple patch to get $swig_runtime_data_type_pointer2 
defined?  Or do I have an incorrect version of swig?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2376589

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].