[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40248] embedding interpreter in standalone ap
From: |
Carlo de Falco |
Subject: |
[Octave-bug-tracker] [bug #40248] embedding interpreter in standalone application produces segfault |
Date: |
Sat, 12 Oct 2013 07:45:13 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0 |
URL:
<http://savannah.gnu.org/bugs/?40248>
Summary: embedding interpreter in standalone application
produces segfault
Project: GNU Octave
Submitted by: cdf
Submitted on: Sat 12 Oct 2013 09:45:12 AM CEST
Category: None
Severity: 4 - Important
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Mac OS
_______________________________________________________
Details:
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
This 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.
c.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40248>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40248] embedding interpreter in standalone application produces segfault,
Carlo de Falco <=