address@hidden Scratch]$ gdb octave GNU gdb 5.3-25mdk (Mandrake Linux) Copyright 2002 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 "i586-mandrake-linux-gnu"... (gdb) run Starting program: /usr/local/Octave/bin/octave GNU Octave, version 2.1.57 (i686-pc-linux-gnu). Copyright (C) 2004 John W. Eaton. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to (but first, please read http://www.octave.org/bugs.html to learn how to write a helpful report). octave:1> testCell Program received signal SIGSEGV, Segmentation fault. octave_value::operator=(octave_value const&) (this=0x8a53364, address@hidden) at ov.h:265 265 if (--rep->count == 0) Current language: auto; currently c++ (gdb) backtrace #0 octave_value::operator=(octave_value const&) (this=0x8a53364, address@hidden) at ov.h:265 #1 0x408adddc in FtestCell(octave_value_list const&, int) (address@hidden, nargout=0) at testCell.cc:17 #2 0x40225e51 in octave_builtin::do_multi_index_op(int, octave_value_list const&) (this=0x8971140, nargout=0, address@hidden) at oct-obj.h:78 #3 0x4021ab90 in octave_value::do_multi_index_op(int, octave_value_list const&) (this=0x1, nargout=0, address@hidden) at ov.cc:726 #4 0x402d3675 in tree_identifier::rvalue(int) (this=0x8a53298, nargout=0) at oct-obj.h:78 #5 0x40302a5b in tree_statement::eval(bool, int, bool) (this=0x8a4d370, silent=false, nargout=0, in_function_body=false) at oct-obj.h:78 #6 0x40302f91 in tree_statement_list::eval(bool, int) (this=0x8a53330, silent=false, nargout=0) at oct-obj.h:78 #7 0x40189b1e in main_loop(std::string const&) (address@hidden) at toplev.cc:159 #8 0x403a1bc6 in octave_main (argc=1, argv=0xbffff624, embedded=0) at octave.cc:618 #9 0x080486e8 in main (argc=1, argv=0xbffff624) at main.c:35 #10 0x40a41c57 in __libc_start_main () from /lib/i686/libc.so.6