Re: Octave_map segfault

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Octave_map segfault

Stéfan van der Walt
[moved to [hidden email]]

Hi Hugo

On Tue, Jan 31, 2006 at 01:52:03PM +0100, Hugo MERCIER wrote:
> Hi,
>
>   I have a problem with the use of Octave_map
>
>   With the following function, written in C++ (mtest.cc) :
>   Octave segfaults when attemping to call the Octave_map destructor
>   Here is a gdb trace:
>
> Program received signal SIGSEGV, Segmentation fault.

This looks like the libstdc++ bug.  Please try

export GLIBCXX_FORCE_NEW=1

and see whether it works (it does on my system with Octave 2.1.71 on
Ubuntu).

Regards
Stéfan



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------