octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segfault when embedding the interpreter


From: c.
Subject: segfault when embedding the interpreter
Date: Sat, 12 Oct 2013 09:47:27 +0200

Hi,

With a recent version of the development sources 
whenever I try to run standalone programs embedding the interpretr, e.g. 
examples/embedded.cc, I get a segfault. 

$ hg id
1e8f8900a041 tip @
$ mkoctfile -g --link-stand-alone embedded.cc -o embedded
$ ./embedded


Below is the result of running the program in the interpreter 
and the backtrace of the segfault. 

GCD of [10, 15] is 5

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00000001024e4b1e in std::_Rb_tree_increment ()
(gdb) bt
#0  0x00000001024e4b1e in std::_Rb_tree_increment ()
#1  0x000000010036e7c0 in symbol_table::erase_subfunctions_in_scope ()
(gdb) 


last time this was working was a couple of weeks ago. 
I submitted this as a bug: https://savannah.gnu.org/bugs/index.php?40248

Can anyone confirm this behaviour?


c.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]