SourceForge.net | 12 Aug 16:49
Favicon

[ swig-Bugs-2021598 ] segfault on inclusion of std_vector.i [ruby]

Bugs item #2021598, was opened at 2008-07-18 11:23
Message generated for change (Comment added) made by neomantra
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101645&aid=2021598&group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ruby
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Norman (alexnorman)
Assigned to: Nobody/Anonymous (nobody)
Summary: segfault on inclusion of std_vector.i [ruby]

Initial Comment:
I have tested this with the most recent version of swig (1.3.36) as well as the ubuntu package.

If I include std_vector.i in my swig wrapper and make a ruby wrapper, I get a segfault right when I start my
app.  I am not building the swig wrapper into a library, I am building it directly into my application and
calling Foo_init(); I have attached a small example which works fine with out std_vector.i but segfaults
when starting the app if I include std_vector.i.  By the way, I am building under ubuntu/linux hardy (8.04LTS).

when I include std_vector.i i also get these errors while building:

swig -Wall -c++ -ruby foo.i
/usr/local/share/swig/1.3.36/ruby/rubycontainer_extended.swg:136: Warning(322): Redundant
(Continue reading)


Gmane