octave-maintainers
[Top][All Lists]
Advanced

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

Bus-error


From: bpabbott
Subject: Bus-error
Date: Thu, 30 Sep 2010 12:43:36 +0000 (GMT)

My tip is 

changeset:   11074:e678346a47d9
tag:         tip
user:        John W. Eaton <address@hidden>
date:        Thu Sep 30 06:00:00 2010 -0400
summary:     toplev.cc, sighandlers.cc, utils.cc, octave.cc, pt-eval.cc pt-idx.cc: Octave_map to octave_map and octave_scalar_map conversion

Building the docs results in a bus-error.

mv var.texi-t var.texi
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /Users/bpabbott/Development/mercurial/local_clone/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
 for f in octave.info octave.info-[0-9] octave.info-[0-9][0-9] octave.i[0-9] octave.i[0-9][0-9]; do \
   if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
 done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /Users/bpabbott/Development/mercurial/local_clone/build-aux/missing --run makeinfo   -I . \
-o octave.info octave.texi; \
then \
 rc=0; \
 CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
 rc=$?; \
 CDPATH="${ZSH_VERSION+.}:" && cd . && \
 $restore $backupdir/* `echo "./octave.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
../../run-octave -f -q -H ./mk_doc_cachem doc-cache ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS || { rm -f doc-cache; exit 1; }
octave(31743,0xa07db500) malloc: *** error for object 0xe48f78: 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(31743,0xa07db500) malloc: *** error for object 0xe48f78: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
panic: Bus error -- stopping myself..
attempting to save variables to `octave-core'...
save to `octave-core' complete
/bin/sh: line 1: 31743 Bus error               ../../run-octave -f -q -H /mk_doc_cache.m doc-cache ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS
make[3]: *** [doc-cache] Error 1
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

From gdb ..

../../run-octave -g -f -q -H ./mk_doc_cache.m doc-cache ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS || { rm -f doc-cache; exit 1; }

octave(32194,0xa07db500) malloc: *** error for object 0xe48f78: 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(32194,0xa07db500) malloc: *** error for object 0xe48f78: 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_PROTECTION_FAILURE at address: 0x00000004
0x0008a84a in Array<octave_value>::resize (this=0x0, r=1, c=1, address@hidden) at Array.cc:968
968  if (r >= 0 && c >= 0 && ndims () == 2)
(gdb) bt  
#0  0x0008a84a in Array<octave_value>::resize (this=0x0, r=1, c=1, address@hidden) at Array.cc:968
#1  0x0008aa88 in Array<octave_value>::resize (this=0x0, address@hidden, address@hidden) at Array.cc:1012
#2  0x00302e55 in octave_map::resize (this=0xe47680, address@hidden, fill=false) at oct-map.cc:565
#3  0x003a5f2a in F__version_info__ (address@hidden) at octave.cc:247
#4  0x003a805d in initialize_version_info () at octave.cc:275
#5  0x003ac37e in octave_main (argc=13, argv=0xbfffaef4, embedded=0) at octave.cc:806
#6  0x00001f80 in main (argc=13, argv=0xbfffaef4) at main.c:35
Current language:  auto; currently c++

Ben


reply via email to

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