octave-maintainers
[Top][All Lists]
Advanced

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

Re: sparse merge


From: Paul Kienzle
Subject: Re: sparse merge
Date: Mon, 28 Feb 2005 19:04:19 -0500

You should be able to use the tests generated by buildtests.sh.  It will
give you a start at least.  Search for lines containing # fail and
reenable them.  It should be pretty easy to add new tests as well.

        - Paul

On Feb 28, 2005, at 5:08 PM, Per Persson wrote:


On Feb 28, 2005, at 21:26, David Bateman wrote:

Built from CVS 2005-02-28 on iMac G4/1.25GHz with OS X 10.3.8 using gcc 3.3 20030304 (Apple Computer, Inc. build 1671) and XLF fortran compiler (setting F77=xlf and FFLAGS=-qextname). Configured with --enable-shared --enable-dl --disable-static.
Passes all tests.

By all tests do you mean "make check"? As there are no sparse tests there yet, thats
not that complete. I'll forward my test code off-line...

Now, that put a damper on things here... ;-/
It headed right for a brick wall, backtrace below.
Since sptest.m relies on stuff in octave-forge, I just fiddled with the paths and I may have screwed things up. Will check later, off to bed now.

/Per

*** malloc[4593]: error for object 0x56bb00: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x900015e4 in szone_free ()
(gdb) bt
#0  0x900015e4 in szone_free ()
#1 0x151140cc in operator delete(void*) () at /usr/include/gcc/darwin/3.3/c++/bits/stl_alloc.h:656 #2 0x151140a4 in operator delete[](void*) () at /usr/include/gcc/darwin/3.3/c++/bits/stl_alloc.h:656 #3 0x14d8fb2c in Sparse<std::complex<double> >::SparseRep::maybe_compress(bool) (this=0x5655f0, remove_zeros=false) at Sparse.cc:134 #4 0x0af0574c in elem_xpow(SparseComplexMatrix const&, SparseComplexMatrix const&) (address@hidden, address@hidden) at ../liboctave/Sparse.h:419 #5 0x0b23b584 in oct_binop_el_pow(octave_value const&, octave_value const&) (address@hidden, address@hidden) at ../liboctave/MSparse.h:67 #6 0x0afbb300 in do_binary_op(octave_value::binary_op, octave_value const&, octave_value const&) (op=op_el_pow, address@hidden, address@hidden) at ov.h:283 #7 0x0b096a98 in tree_binary_expression::rvalue() (this=0x56a910) at ov.h:283 #8 0x0b0919cc in tree_simple_assignment::rvalue() (this=0x55e810) at oct-obj.h:46 #9 0x0b0913d8 in tree_simple_assignment::rvalue(int) (this=0x55e810, nargout=0) at oct-obj.h:46 #10 0x0b0c687c in tree_statement::eval(bool, int, bool) (this=0x55e810, silent=189007344, nargout=189007344, in_function_body=189007344) at oct-obj.h:74 #11 0x0b0c70b0 in tree_statement_list::eval(bool, int) (this=0xbfffc940, silent=189007344, nargout=189007344) at oct-obj.h:74 #12 0x0afc89d8 in octave_user_function::do_multi_index_op(int, octave_value_list const&) (this=0xbfffc940, nargout=189007344, address@hidden) at ov-usr-fcn.cc:460 #13 0x0afc79bc in octave_user_function::subsref(std::string const&, std::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (this=0xbfffc940, address@hidden, address@hidden, nargout=189007344) at /usr/include/gcc/darwin/3.3/c++/bits/stl_list.h:687 #14 0x0afb51e8 in octave_value::subsref(std::string const&, std::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (this=0xbfffc920, address@hidden, address@hidden, nargout=189007344) at ov.cc:856 #15 0x0b0a9c70 in tree_index_expression::rvalue(int) (this=0x55e810, nargout=0) at oct-obj.h:74 #16 0x0b092c3c in tree_multi_assignment::rvalue(int) (this=0xbfffc940) at pt-assign.cc:211 #17 0x0b0c687c in tree_statement::eval(bool, int, bool) (this=0x55e810, silent=189007344, nargout=189007344, in_function_body=189007344) at oct-obj.h:74 #18 0x0b0c70b0 in tree_statement_list::eval(bool, int) (this=0xbfffc940, silent=189007344, nargout=189007344) at oct-obj.h:74 #19 0x0aecbda4 in eval_string(std::string const&, bool, int&, int) (address@hidden, silent=189007344, address@hidden, nargout=189007344) at oct-obj.h:74 #20 0x0aecc930 in eval_string(octave_value const&, bool, int&, int) (address@hidden, silent=8255552, address@hidden, nargout=1) at parse.y:3682 #21 0x0aeccc10 in Feval(octave_value_list const&, int) (address@hidden, nargout=0) at oct-obj.h:90 #22 0x0afc0720 in octave_builtin::do_multi_index_op(int, octave_value_list const&) (this=0xb4405f0, nargout=189007344, address@hidden) at oct-obj.h:74 #23 0x0afbfc0c in octave_builtin::subsref(std::string const&, std::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (this=0x0, address@hidden, address@hidden, nargout=189007344) at /usr/include/gcc/darwin/3.3/c++/bits/stl_list.h:687 #24 0x0afb51e8 in octave_value::subsref(std::string const&, std::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (this=0xbfffd680, address@hidden, address@hidden, nargout=190106040) at ov.cc:856 #25 0x0b0a9c70 in tree_index_expression::rvalue(int) (this=0x32f6ac0, nargout=0) at oct-obj.h:74 #26 0x0b0c687c in tree_statement::eval(bool, int, bool) (this=0x32f6ac0, silent=189007344, nargout=189007344, in_function_body=189007344) at oct-obj.h:74 #27 0x0b0c70b0 in tree_statement_list::eval(bool, int) (this=0x0, silent=189007344, nargout=189007344) at oct-obj.h:74 #28 0x0b09faec in tree_try_catch_command::eval() (this=0xb448d8c) at pt-except.cc:106 #29 0x0b0c67d4 in tree_statement::eval(bool, int, bool) (this=0x54b140, silent=false, nargout=0, in_function_body=false) at pt-stmt.cc:101 #30 0x0b0c70b0 in tree_statement_list::eval(bool, int) (this=0x54b150, silent=false, nargout=0) at oct-obj.h:74 #31 0x0b0c4f40 in tree_if_clause::eval() (this=0xb43b99c) at pt-select.cc:53 #32 0x0b0c50e0 in tree_if_command_list::eval() (this=0x54b2b0) at pt-select.cc:76 #33 0x0b0c530c in tree_if_command::eval() (this=0x54b2f0) at pt-select.cc:100 #34 0x0b0c67d4 in tree_statement::eval(bool, int, bool) (this=0x54b140, silent=false, nargout=0, in_function_body=false) at pt-stmt.cc:101 #35 0x0b0c70b0 in tree_statement_list::eval(bool, int) (this=0x54b150, silent=false, nargout=0) at oct-obj.h:74 #36 0x0b3acae8 in tree_simple_for_command::do_for_loop_once(octave_lvalue&, octave_value const&, bool&) (this=0x1, address@hidden, address@hidden, address@hidden) at pt-loop.cc:209 #37 0x0b0b06e0 in tree_simple_for_command::eval() (this=0x54cf30) at pt-loop.cc:322 #38 0x0b0c67d4 in tree_statement::eval(bool, int, bool) (this=0x54b140, silent=false, nargout=0, in_function_body=false) at pt-stmt.cc:101 #39 0x0b0c70b0 in tree_statement_list::eval(bool, int) (this=0x54b150, silent=false, nargout=0) at oct-obj.h:74 #40 0x0afc89d8 in octave_user_function::do_multi_index_op(int, octave_value_list const&) (this=0x54b150, nargout=0, address@hidden) at ov-usr-fcn.cc:460 #41 0x0afc79bc in octave_user_function::subsref(std::string const&, std::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (this=0x54b150, address@hidden, address@hidden, nargout=0) at /usr/include/gcc/darwin/3.3/c++/bits/stl_list.h:687 #42 0x0afb51e8 in octave_value::subsref(std::string const&, std::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (this=0x54cf30, address@hidden, address@hidden, nargout=1) at ov.cc:856 #43 0x0b0a9c70 in tree_index_expression::rvalue(int) (this=0x54b140, nargout=603988514) at oct-obj.h:74 #44 0x0b0c687c in tree_statement::eval(bool, int, bool) (this=0x54b140, silent=false, nargout=0, in_function_body=false) at oct-obj.h:74 #45 0x0b0c70b0 in tree_statement_list::eval(bool, int) (this=0x54b150, silent=false, nargout=0) at oct-obj.h:74 #46 0x0afc89d8 in octave_user_function::do_multi_index_op(int, octave_value_list const&) (this=0x54b150, nargout=0, address@hidden) at ov-usr-fcn.cc:460 #47 0x0afb58ac in octave_value::do_multi_index_op(int, octave_value_list const&) (this=0x0, nargout=1, address@hidden) at ov.cc:894 #48 0x0b0a3c40 in tree_identifier::rvalue(int) (this=0x54b140, nargout=603988514) at oct-obj.h:74 #49 0x0b0c687c in tree_statement::eval(bool, int, bool) (this=0x54b140, silent=false, nargout=0, in_function_body=false) at oct-obj.h:74 #50 0x0b0c70b0 in tree_statement_list::eval(bool, int) (this=0x54b150, silent=false, nargout=0) at oct-obj.h:74 #51 0x0af2720c in main_loop(std::string const&) (address@hidden) at toplev.cc:163 #52 0x0b2b9f38 in octave_main (argc=1, argv=0xbffffc34, embedded=189042348) at octave.cc:621 #53 0x00002394 in _start (argc=1, argv=0xbffffc34, envp=0xbffffc3c) at /SourceCache/Csu/Csu-47/crt.c:267
#54 0x8fe1a558 in __dyld__dyld_start ()






reply via email to

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