[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Luke Imhoff <luke_at_cray.com>
Date: Wed, 29 Jul 2009 07:53:48 -0500

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_at_subversion.tigris.org].
Received on 2009-07-29 14:54:42 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.