../../run-octave -f -q -H ./mk_doc_cache.m doc-cache ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS || { rm -f doc-cache; exit 1; }
octave(54771,0xa07db500) malloc: *** error for object 0xe48fb8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
error: octave_map::setfield: internal error
error: octave_map::setfield: internal error
octave(54771,0xa07db500) malloc: *** error for object 0xe48fb8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
panic: attempted clean up apparently failed -- aborting...
/bin/sh: line 1: 54771 Abort trap ../../run-octave -f -q -H ./mk_doc_cache.m doc-cache ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS
make[3]: *** [doc-cache] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
From the debugger …
../../run-octave -g -f -q -H ./mk_doc_cache.m doc-cache ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS || { rm -f doc-cache; exit 1; }
(gdb) run
Starting program: /Users/bpabbott ... SNIP ...
Reading symbols for shared libraries .++++++++++++++++++++.............................................................................................. done
octave(55300,0xa07db500) malloc: *** error for object 0xe48fb8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
error: octave_map::setfield: internal error
error: octave_map::setfield: internal error
octave(55300,0xa07db500) malloc: *** error for object 0xe48fb8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x62786580
std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_erase (this=0xe48fb8, __x=0x62786574) at stl_tree.h:1325
1325 _M_erase(_S_right(__x));
(gdb) bt
#0 std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_erase (this=0xe48fb8, __x=0x62786574) at stl_tree.h:1325
#1 0x00005557 in std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_S_left () at /usr/include/c++/4.2.1/bits/stl_tree.h:1325
#2 0x00005557 in std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_erase (this=0xe48fb8, __x=0x4800780) at stl_tree.h:1325
#3 0x00b027fd in ~_Rb_tree [inlined] () at /usr/include/c++/4.2.1/bits/stl_tree.h:594
#4 0x00b027fd in ~map [inlined] () at /usr/include/c++/4.2.1/bits/stl_map.h:594
#5 0x00b027fd in ~_Rb_tree [inlined] () at stl_tree.h:41
#6 0x00b027fd in ~fields_rep [inlined] () at stl_tree.h:94
#7 0x00b027fd in ~fields_rep [inlined] () at /Users/bpabbott/Development/mercurial/local_clone/src/oct-map.h:41
#8 0x00b027fd in __tcf_6 () at stl_tree.h:1325
#9 0x96a011bf in __cxa_finalize ()
#10 0x96a010d4 in exit ()
#11 0x00411996 in clean_up_and_exit (retval=1) at toplev.cc:676
#12 0x003ac583 in octave_main (argc=13, argv=0xbfffaef4, embedded=0) at octave.cc:848
#13 0x00001f80 in main (argc=13, argv=0xbfffaef4) at main.c:35
Current language: auto; currently c++