Mon 16:55 $ ../run-octave -g --norc --silent --no-history ./fntests.m . GNU gdb 6.3.50-20050815 (Apple version gdb-696) (Sat Oct 20 18:20:28 GMT 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin"... warning: --arch option not supported in this gdb. Reading symbols for shared libraries ...................... done (gdb) run Starting program: /Users/rob/src/octave-all/octave-3.2.3/src/octave --no-init-path --path=/Users/rob/src/octave-all/octave-3.2.3/test:/Users/rob/src/octave-all/octave-3.2.3/scripts:/Users/rob/src/octave-all/octave-3.2.3/scripts/audio:/Users/rob/src/octave-all/octave-3.2.3/scripts/deprecated:/Users/rob/src/octave-all/octave-3.2.3/scripts/elfun:/Users/rob/src/octave-all/octave-3.2.3/scripts/general:/Users/rob/src/octave-all/octave-3.2.3/scripts/geometry:/Users/rob/src/octave-all/octave-3.2.3/scripts/help:/Users/rob/src/octave-all/octave-3.2.3/scripts/image:/Users/rob/src/octave-all/octave-3.2.3/scripts/io:/Users/rob/src/octave-all/octave-3.2.3/scripts/linear-algebra:/Users/rob/src/octave-all/octave-3.2.3/scripts/miscellaneous:/Users/rob/src/octave-all/octave-3.2.3/scripts/optimization:/Users/rob/src/octave-all/octave-3.2.3/scripts/path:/Users/rob/src/octave-all/octave-3.2.3/scripts/pkg:/Users/rob/src/octave-all/octave-3.2.3/scripts/plot:/Users/rob/src/octave-all/octave-3.2.3/scripts/polynomial:/Users/rob/src/octave-all/octave-3.2.3/scripts/set:/Users/rob/src/octave-all/octave-3.2.3/scripts/signal:/Users/rob/src/octave-all/octave-3.2.3/scripts/sparse:/Users/rob/src/octave-all/octave-3.2.3/scripts/specfun:/Users/rob/src/octave-all/octave-3.2.3/scripts/special-matrix:/Users/rob/src/octave-all/octave-3.2.3/scripts/startup:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics/base:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics/distributions:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics/models:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics/tests:/Users/rob/src/octave-all/octave-3.2.3/scripts/strings:/Users/rob/src/octave-all/octave-3.2.3/scripts/testfun:/Users/rob/src/octave-all/octave-3.2.3/scripts/time:/Users/rob/src/octave-all/octave-3.2.3/scripts:/Users/rob/src/octave-all/octave-3.2.3/scripts/audio:/Users/rob/src/octave-all/octave-3.2.3/scripts/deprecated:/Users/rob/src/octave-all/octave-3.2.3/scripts/elfun:/Users/rob/src/octave-all/octave-3.2.3/scripts/general:/Users/rob/src/octave-all/octave-3.2.3/scripts/geometry:/Users/rob/src/octave-all/octave-3.2.3/scripts/help:/Users/rob/src/octave-all/octave-3.2.3/scripts/image:/Users/rob/src/octave-all/octave-3.2.3/scripts/io:/Users/rob/src/octave-all/octave-3.2.3/scripts/linear-algebra:/Users/rob/src/octave-all/octave-3.2.3/scripts/miscellaneous:/Users/rob/src/octave-all/octave-3.2.3/scripts/optimization:/Users/rob/src/octave-all/octave-3.2.3/scripts/path:/Users/rob/src/octave-all/octave-3.2.3/scripts/pkg:/Users/rob/src/octave-all/octave-3.2.3/scripts/plot:/Users/rob/src/octave-all/octave-3.2.3/scripts/polynomial:/Users/rob/src/octave-all/octave-3.2.3/scripts/set:/Users/rob/src/octave-all/octave-3.2.3/scripts/signal:/Users/rob/src/octave-all/octave-3.2.3/scripts/sparse:/Users/rob/src/octave-all/octave-3.2.3/scripts/specfun:/Users/rob/src/octave-all/octave-3.2.3/scripts/special-matrix:/Users/rob/src/octave-all/octave-3.2.3/scripts/startup:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics/base:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics/distributions:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics/models:/Users/rob/src/octave-all/octave-3.2.3/scripts/statistics/tests:/Users/rob/src/octave-all/octave-3.2.3/scripts/strings:/Users/rob/src/octave-all/octave-3.2.3/scripts/testfun:/Users/rob/src/octave-all/octave-3.2.3/scripts/time:/Users/rob/src/octave-all/octave-3.2.3/src:/Users/rob/src/octave-all/octave-3.2.3/src/DLD-FUNCTIONS:/Users/rob/src/octave-all/octave-3.2.3/src/OPERATORS:/Users/rob/src/octave-all/octave-3.2.3/src/pic:/Users/rob/src/octave-all/octave-3.2.3/src/TEMPLATE-INST --image-path=/Users/rob/src/octave-all/octave-3.2.3/scripts/image --doc-cache-file=/Users/rob/src/octave-all/octave-3.2.3/doc/interpreter/doc-cache --info-file=/Users/rob/src/octave-all/octave-3.2.3/doc/interpreter/octave.info --norc --silent --no-history ./fntests.m . Reading symbols for shared libraries ......++++++.+++.+..+...........................................+.................+ done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Integrated test scripts: Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done src/DLD-FUNCTIONS/besselj.cc ...........................Reading symbols for shared libraries . done PASS 180/180 src/DLD-FUNCTIONS/betainc.cc ...........................Reading symbols for shared libraries . done Reading symbols for shared libraries . done PASS 6/6 src/DLD-FUNCTIONS/bsxfun.cc ............................Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done PASS 55/55 src/DLD-FUNCTIONS/cellfun.cc ........................... PASS 74/74 src/DLD-FUNCTIONS/chol.cc ..............................Reading symbols for shared libraries . done Reading symbols for shared libraries . done PASS 26/26 src/DLD-FUNCTIONS/conv2.cc .............................Reading symbols for shared libraries . done PASS 2/2 src/DLD-FUNCTIONS/convhulln.cc .........................Reading symbols for shared libraries .. done PASS 2/2 src/DLD-FUNCTIONS/dassl.cc .............................Reading symbols for shared libraries . done PASS 4/4 src/DLD-FUNCTIONS/det.cc ...............................Reading symbols for shared libraries . done PASS 5/5 src/DLD-FUNCTIONS/dispatch.cc ..........................Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done PASS 9/9 src/DLD-FUNCTIONS/dlmread.cc ...........................Reading symbols for shared libraries . done PASS 20/20 src/DLD-FUNCTIONS/dmperm.cc ............................Reading symbols for shared libraries . done PASS 5/5 src/DLD-FUNCTIONS/eig.cc ...............................Reading symbols for shared libraries . done PASS 20/20 src/DLD-FUNCTIONS/eigs.cc .............................. src/DLD-FUNCTIONS/fft.cc ............................... PASS 19/19 src/DLD-FUNCTIONS/fft2.cc ..............................Reading symbols for shared libraries . done Reading symbols for shared libraries . done PASS 4/4 src/DLD-FUNCTIONS/find.cc .............................. PASS 15/15 src/DLD-FUNCTIONS/gammainc.cc ..........................Reading symbols for shared libraries . done PASS 2/2 src/DLD-FUNCTIONS/gcd.cc ...............................Reading symbols for shared libraries . done PASS 6/6 src/DLD-FUNCTIONS/hess.cc ..............................Reading symbols for shared libraries . done PASS 5/5 src/DLD-FUNCTIONS/hex2num.cc ...........................Reading symbols for shared libraries . done PASS 2/2 src/DLD-FUNCTIONS/inv.cc ............................... PASS 5/5 src/DLD-FUNCTIONS/lookup.cc ............................Reading symbols for shared libraries . done PASS 16/16 src/DLD-FUNCTIONS/lsode.cc .............................Reading symbols for shared libraries . done PASS 5/5 src/DLD-FUNCTIONS/lu.cc ................................Reading symbols for shared libraries . done PASS 12/12 src/DLD-FUNCTIONS/luinc.cc .............................Reading symbols for shared libraries . done PASS 2/2 src/DLD-FUNCTIONS/matrix_type.cc .......................Reading symbols for shared libraries . done Reading symbols for shared libraries . done PASS 51/51 src/DLD-FUNCTIONS/max.cc ............................... PASS 12/12 src/DLD-FUNCTIONS/qr.cc ................................Reading symbols for shared libraries . done PASS 47/47 src/DLD-FUNCTIONS/quad.cc ..............................Reading symbols for shared libraries . done PASS 8/8 src/DLD-FUNCTIONS/rand.cc .............................. PASS 57/57 src/DLD-FUNCTIONS/regexp.cc ............................ PASS 90/90 src/DLD-FUNCTIONS/schur.cc .............................Reading symbols for shared libraries . done PASS 5/5 src/DLD-FUNCTIONS/svd.cc ...............................Reading symbols for shared libraries . done PASS 15/15 src/DLD-FUNCTIONS/syl.cc ...............................Reading symbols for shared libraries . done PASS 5/5 src/DLD-FUNCTIONS/time.cc .............................. PASS 13/13 src/DLD-FUNCTIONS/tsearch.cc ...........................Reading symbols for shared libraries . done PASS 6/6 src/data.cc ............................................ Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x3fff8ad0 0x94c6314c in std::num_put > >::_M_insert_float () (gdb) bt #0 0x94c6314c in std::num_put > >::_M_insert_float () #1 0x94c631fc in std::num_put > >::do_put () #2 0x94c6a7d0 in std::ostream::operator<< () #3 0x0125560c in operator<< (address@hidden, address@hidden) at pr-output.cc:228 #4 0x0125a840 in pr_any_float (fmt=0x1d8e6b4, address@hidden, d=2.2661800709135971, fw=0) at pr-output.cc:1395 #5 0x0125b588 in pr_complex (address@hidden, address@hidden, r_fw=7, i_fw=0, scale=2.2661800709135971) at pr-output.cc:1413 #6 0x0125d1fc in octave_print_internal (address@hidden, address@hidden) at pr-output.cc:1959 #7 0x0131d46c in octave_base_scalar >::print (this=0xdb5d8, address@hidden, pr_as_read_syntax=7) at ov-base-scalar.cc:121 #8 0x012647a8 in Fdisp (address@hidden, nargout=1) at ov.h:950 #9 0x0136fbb0 in octave_builtin::do_multi_index_op (this=0x1c869c28, nargout=1, address@hidden) at ov-builtin.cc:107 #10 0x0136f2ec in octave_builtin::subsref (this=0x1c869c28, address@hidden, address@hidden, nargout=1) at ov-builtin.cc:55 #11 0x01a1cab8 in octave_builtin::subsref (this=0x2e, address@hidden, address@hidden) at ov-builtin.h:56 #12 0x0135f348 in octave_value::subsref (this=0x2e, address@hidden, address@hidden, nargout=-1073771743) at ov.cc:1059 #13 0x014ad4bc in tree_index_expression::rvalue (this=0x1f8400f0, nargout=1) at pt-idx.cc:387 #14 0x014a9628 in tree_index_expression::rvalue1 (this=0x1f8400f0, nargout=1) at pt-idx.cc:398 #15 0x0148f2bc in tree_simple_assignment::rvalue1 (this=0x1f840180) at pt-assign.cc:205 #16 0x0149fda0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:699 #17 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #18 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #19 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #20 0x01379fb8 in octave_user_function::do_multi_index_op (this=0x7b1a90, nargout=0, address@hidden) at ov-usr-fcn.cc:454 #21 0x0137499c in octave_user_function::subsref (this=0x7b1a90, address@hidden, address@hidden, nargout=0) at ov-usr-fcn.cc:309 #22 0x0135f398 in octave_value::subsref (this=0x2e, address@hidden, address@hidden, nargout=-1073771743) at ov.cc:1061 #23 0x014ad4bc in tree_index_expression::rvalue (this=0x21c081f0, nargout=0) at pt-idx.cc:387 #24 0x014a9628 in tree_index_expression::rvalue1 (this=0x21c081f0, nargout=0) at pt-idx.cc:398 #25 0x0149fda0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:699 #26 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #27 0x01379fb8 in octave_user_function::do_multi_index_op (this=0x7b39d0, nargout=0, address@hidden) at ov-usr-fcn.cc:454 #28 0x0137499c in octave_user_function::subsref (this=0x7b39d0, address@hidden, address@hidden, nargout=0) at ov-usr-fcn.cc:309 #29 0x0135f398 in octave_value::subsref (this=0x2e, address@hidden, address@hidden, nargout=-1073771743) at ov.cc:1061 #30 0x014ad4bc in tree_index_expression::rvalue (this=0x1f8001a0, nargout=0) at pt-idx.cc:387 #31 0x01250750 in eval_string (address@hidden, silent=false, address@hidden, nargout=0) at parse.y:3960 #32 0x01250c58 in eval_string (address@hidden, silent=false, address@hidden, nargout=0) at parse.y:4019 #33 0x012517c0 in Feval (address@hidden, nargout=0) at parse.y:4065 #34 0x0136fbb0 in octave_builtin::do_multi_index_op (this=0x1c869b60, nargout=0, address@hidden) at ov-builtin.cc:107 #35 0x0136f2ec in octave_builtin::subsref (this=0x1c869b60, address@hidden, address@hidden, nargout=0) at ov-builtin.cc:55 #36 0x0135f398 in octave_value::subsref (this=0x2e, address@hidden, address@hidden, nargout=-1073771743) at ov.cc:1061 #37 0x014ad4bc in tree_index_expression::rvalue (this=0x1c394f30, nargout=0) at pt-idx.cc:387 #38 0x014a9628 in tree_index_expression::rvalue1 (this=0x1c394f30, nargout=0) at pt-idx.cc:398 #39 0x0149fda0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:699 #40 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #41 0x0149e178 in tree_evaluator::visit_try_catch_command (this=0x1d8e970, address@hidden) at pt-eval.cc:883 #42 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #43 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #44 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #45 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #46 0x014a0ed4 in tree_evaluator::visit_simple_for_command (this=0x1d8e970, address@hidden) at pt-eval.cc:330 #47 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #48 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #49 0x01379fb8 in octave_user_function::do_multi_index_op (this=0x7b0708, nargout=4, address@hidden) at ov-usr-fcn.cc:454 #50 0x0137499c in octave_user_function::subsref (this=0x7b0708, address@hidden, address@hidden, nargout=4) at ov-usr-fcn.cc:309 #51 0x0135f398 in octave_value::subsref (this=0x2e, address@hidden, address@hidden, nargout=-1073771743) at ov.cc:1061 #52 0x014ad4bc in tree_index_expression::rvalue (this=0x1c601330, nargout=4) at pt-idx.cc:387 #53 0x0148e70c in tree_multi_assignment::rvalue (this=0x1c601420) at pt-assign.cc:361 #54 0x0148da28 in tree_multi_assignment::rvalue1 (this=0x1c601420, nargout=0) at pt-assign.cc:316 #55 0x0149fda0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:699 #56 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #57 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #58 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #59 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #60 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #61 0x014a0ed4 in tree_evaluator::visit_simple_for_command (this=0x1d8e970, address@hidden) at pt-eval.cc:330 #62 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #63 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #64 0x01379fb8 in octave_user_function::do_multi_index_op (this=0x7b0ed8, nargout=4, address@hidden) at ov-usr-fcn.cc:454 #65 0x0137499c in octave_user_function::subsref (this=0x7b0ed8, address@hidden, address@hidden, nargout=4) at ov-usr-fcn.cc:309 #66 0x0135f398 in octave_value::subsref (this=0x2e, address@hidden, address@hidden, nargout=-1073771743) at ov.cc:1061 #67 0x014ad4bc in tree_index_expression::rvalue (this=0x1c60b6d0, nargout=4) at pt-idx.cc:387 #68 0x0148e70c in tree_multi_assignment::rvalue (this=0x1c60b770) at pt-assign.cc:361 #69 0x0148da28 in tree_multi_assignment::rvalue1 (this=0x1c60b770, nargout=0) at pt-assign.cc:316 #70 0x0149fda0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:699 #71 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #72 0x014a0ed4 in tree_evaluator::visit_simple_for_command (this=0x1d8e970, address@hidden) at pt-eval.cc:330 #73 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #74 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #75 0x0149e178 in tree_evaluator::visit_try_catch_command (this=0x1d8e970, address@hidden) at pt-eval.cc:883 #76 0x0149f3f0 in tree_evaluator::visit_statement (this=0x1d8e970, address@hidden) at pt-eval.cc:669 #77 0x0149b1cc in tree_evaluator::visit_statement_list (this=0x1d8e970, address@hidden) at pt-eval.cc:735 #78 0x01375e80 in octave_user_script::do_multi_index_op (this=0x1c413000, nargout=28578588, address@hidden) at ov-usr-fcn.cc:134 #79 0x012528bc in source_file (address@hidden, address@hidden, verbose=false, require_file=true, address@hidden) at parse.y:3615 #80 0x0123a804 in execute_command_line_file (address@hidden) at octave.cc:467 #81 0x0123bf08 in octave_main (argc=11, argv=0xbfffd400, embedded=-1073753436) at octave.cc:848 #82 0x000028ec in _start () #83 0x000025f0 in start () (gdb)