octave:1> ht = text (0, 0, "Hello", "units", "normalized"); Reading symbols for shared libraries + done octave:2> set (ht, "position", [0.5 0.5]) octave:3> ht = text (0, 0, "Hello", "units", "normalized"); Assertion failed: (count () == 0), function freerep, file ../liboctave/dim-vector.h, line 123. Program received signal SIGABRT, Aborted. 0x95b56176 in __kill () (gdb) bt #0 0x95b56176 in __kill () #1 0x95b56168 in kill$UNIX2003 () #2 0x95be889d in raise () #3 0x95bfe9bc in abort () #4 0x95beb4fc in __assert_rtn () #5 0x000814a3 in dim_vector::freerep () at /Users/bpabbott/Development/mercurial/local_clone/liboctave/dim-vector.h:123 #6 ~dim_vector [inlined] () at /Users/bpabbott/Development/mercurial/local_clone/liboctave/dim-vector.h:251 #7 0x000814a3 in Array::~Array (this=0x48044e8) at dim-vector.h:252 #8 0x00594191 in octave_matrix::operator delete () at /Users/bpabbott/Development/mercurial/local_clone/src/ov-re-mat.h:64 #9 0x00594191 in octave_matrix::~octave_matrix (this=0x48044e0) at MArray.h:99 #10 0x00132765 in ~octave_value [inlined] () at /Users/bpabbott/Development/mercurial/local_clone/src/ov.h:311 #11 0x00132765 in _Destroy [inlined] () at ov.h:312 #12 0x00132765 in ~octave_value [inlined] () at /usr/include/c++/4.2.1/bits/stl_construct.h:122 #13 0x00132765 in _Destroy [inlined] () at ov.h:107 #14 0x00132765 in _Destroy [inlined] () at /usr/include/c++/4.2.1/bits/stl_construct.h:271 #15 0x00132765 in __destroy_aux [inlined] () at /usr/include/c++/4.2.1/bits/stl_construct.h:182 #16 0x00132765 in ~vector [inlined] () at ov.h:155 #17 0x00132765 in ~vector [inlined] () at /usr/include/c++/4.2.1/bits/stl_vector.h:271 #18 0x00132765 in octave_scalar_map::~octave_scalar_map (this=0x4806c80) at ov.h:152 #19 0x005b5f33 in octave_scalar_struct::operator delete () at /Users/bpabbott/Development/mercurial/local_clone/src/ov-struct.h:185 #20 0x005b5f33 in octave_scalar_struct::~octave_scalar_struct (this=0x4806c78) at ov-struct.h:185 #21 0x0044a63f in octave_value::operator= () at /Users/bpabbott/Development/mercurial/local_clone/src/ov.h:342 #22 0x0044a63f in symbol_table::symbol_record::symbol_record_rep::clear (this=0x17b3aaa0) at ov.h:293 #23 0x0044aa93 in std::_Rb_tree_iterator >::operator++ () at /usr/include/c++/4.2.1/bits/stl_tree.h:450 #24 0x0044aa93 in symbol_table::do_clear_variables () at /Users/bpabbott/Development/mercurial/local_clone/src/symtab.h:2147 #25 0x0044aa93 in symbol_table::clear_variables () at /Users/bpabbott/Development/mercurial/local_clone/src/symtab.h:1294 #26 0x0044aa93 in symbol_table::clear_variables () at symtab.h:1300 #27 0x00307774 in unwind_protect::fcn_elem::run (this=0x17b03a90) at unwind-prot.h:61 #28 0x005c3947 in unwind_protect::run_top () at /Users/bpabbott/Development/mercurial/local_clone/src/unwind-prot.h:222 #29 0x005c3947 in ~unwind_protect [inlined] () at unwind-prot.h:251 #30 0x005c3947 in unwind_protect::run () at unwind-prot.h:266 #31 0x005c3947 in ~unwind_protect [inlined] () at /Users/bpabbott/Development/mercurial/local_clone/src/unwind-prot.h:265 #32 0x005c3947 in octave_user_function::do_multi_index_op (this=0x501adcc, nargout=0, address@hidden, lvalue_list=0x0) at unwind-prot.h:492 #33 0x005bd243 in octave_user_function::subsref (this=0x501adcc, address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at ov-usr-fcn.cc:303 #34 0x005be09a in octave_user_function::subsref (this=0x501adcc, address@hidden, address@hidden, nargout=0) at ov-usr-fcn.cc:286 #35 0x005d2d4c in octave_value::subsref (this=0xbfff8880, address@hidden, address@hidden, nargout=0) at ov.cc:1202 #36 0x005d2dc1 in octave_value::subsref (this=0xbfff8880, address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at ov.cc:1213 #37 0x006af985 in tree_index_expression::rvalue (this=0x17b2b550, nargout=0, lvalue_list=0x0) at pt-idx.cc:408 #38 0x006afc4c in tree_index_expression::rvalue (this=0x17b2b550, nargout=0) at pt-idx.cc:278 #39 0x006ae49e in tree_index_expression::rvalue1 (this=0x17b2b550, nargout=0) at pt-idx.cc:419 #40 0x006a29b6 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:729 #41 0x006d5991 in tree_statement::accept (this=0x17b2b730, address@hidden) at pt-stmt.cc:152 #42 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #43 0x00084f59 in tree_statement_list::accept (this=0x17b26850, address@hidden) at pt-stmt.cc:216 #44 0x0069ef45 in tree_evaluator::visit_unwind_protect_command (this=0xe60560, address@hidden) at pt-eval.cc:996 #45 0x006a60e3 in tree_unwind_protect_command::accept (this=0x17b2c210, address@hidden) at pt-except.cc:100 #46 0x006a2906 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:700 #47 0x006d5991 in tree_statement::accept (this=0x17b2c240, address@hidden) at pt-stmt.cc:152 #48 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #49 0x00084f59 in tree_statement_list::accept (this=0x17b25e40, address@hidden) at pt-stmt.cc:216 #50 0x006a2c05 in tree_evaluator::visit_if_command_list (this=0xe60560, address@hidden) at pt-eval.cc:573 #51 0x006d4676 in tree_if_command_list::accept (this=0x17b25860, address@hidden) at pt-select.cc:84 #52 0x006a2c69 in tree_evaluator::visit_if_command (this=0xe60560, address@hidden) at pt-eval.cc:551 #53 0x006d4690 in tree_if_command::accept (this=0x17b2c300, address@hidden) at pt-select.cc:109 #54 0x006a2906 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:700 #55 0x006d5991 in tree_statement::accept (this=0x17b2c3b0, address@hidden) at pt-stmt.cc:152 #56 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #57 0x00084f59 in tree_statement_list::accept (this=0x17b2c3c0, address@hidden) at pt-stmt.cc:216 #58 0x006a27cb in tree_evaluator::visit_switch_command (this=0xe60560, address@hidden) at pt-eval.cc:847 #59 0x006d46de in tree_switch_command::accept (this=0x17b2c5a0, address@hidden) at pt-select.cc:223 #60 0x006a2906 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:700 #61 0x006d5991 in tree_statement::accept (this=0x17b2c5c0, address@hidden) at pt-stmt.cc:152 #62 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #63 0x00084f59 in tree_statement_list::accept (this=0x17b0f5c0, address@hidden) at pt-stmt.cc:216 #64 0x006a3d11 in octave_quit [inlined] () at /Users/bpabbott/Development/mercurial/local_clone/libcruft/misc/quit.h:359 #65 0x006a3d11 in quit_loop_now [inlined] () at /Users/bpabbott/Development/mercurial/local_clone/src/pt-eval.cc:265 #66 0x006a3d11 in tree_evaluator::visit_simple_for_command (this=0xe60560, address@hidden) at pt-eval.cc:359 #67 0x006b422a in tree_simple_for_command::accept (this=0x17b2c9a0, address@hidden) at pt-loop.cc:116 #68 0x006a2906 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:700 #69 0x006d5991 in tree_statement::accept (this=0x2efb180, address@hidden) at pt-stmt.cc:152 #70 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #71 0x00084f59 in tree_statement_list::accept (this=0x17b045c0, address@hidden) at pt-stmt.cc:216 #72 0x006a2c05 in tree_evaluator::visit_if_command_list (this=0xe60560, address@hidden) at pt-eval.cc:573 #73 0x006d4676 in tree_if_command_list::accept (this=0x17b2ce00, address@hidden) at pt-select.cc:84 #74 0x006a2c69 in tree_evaluator::visit_if_command (this=0xe60560, address@hidden) at pt-eval.cc:551 #75 0x006d4690 in tree_if_command::accept (this=0x17b2d0e0, address@hidden) at pt-select.cc:109 #76 0x006a2906 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:700 #77 0x006d5991 in tree_statement::accept (this=0x17b2d100, address@hidden) at pt-stmt.cc:152 #78 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #79 0x00084f59 in tree_statement_list::accept (this=0x43d14f0, address@hidden) at pt-stmt.cc:216 #80 0x006a2c05 in tree_evaluator::visit_if_command_list (this=0xe60560, address@hidden) at pt-eval.cc:573 #81 0x006d4676 in tree_if_command_list::accept (this=0x17b2d3e0, address@hidden) at pt-select.cc:84 #82 0x006a2c69 in tree_evaluator::visit_if_command (this=0xe60560, address@hidden) at pt-eval.cc:551 #83 0x006d4690 in tree_if_command::accept (this=0x17b2d710, address@hidden) at pt-select.cc:109 #84 0x006a2906 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:700 #85 0x006d5991 in tree_statement::accept (this=0x17b2d730, address@hidden) at pt-stmt.cc:152 #86 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #87 0x00084f59 in tree_statement_list::accept (this=0x2e8d590, address@hidden) at pt-stmt.cc:216 #88 0x006a2c05 in tree_evaluator::visit_if_command_list (this=0xe60560, address@hidden) at pt-eval.cc:573 #89 0x006d4676 in tree_if_command_list::accept (this=0x17b2d880, address@hidden) at pt-select.cc:84 #90 0x006a2c69 in tree_evaluator::visit_if_command (this=0xe60560, address@hidden) at pt-eval.cc:551 #91 0x006d4690 in tree_if_command::accept (this=0x17b2d8a0, address@hidden) at pt-select.cc:109 #92 0x006a2906 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:700 #93 0x006d5991 in tree_statement::accept (this=0x17b2d8c0, address@hidden) at pt-stmt.cc:152 #94 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #95 0x00084f59 in tree_statement_list::accept (this=0x17b2daa0, address@hidden) at pt-stmt.cc:216 #96 0x005c3996 in octave_user_function::do_multi_index_op (this=0x501ad04, nargout=0, address@hidden, lvalue_list=0x0) at ov-usr-fcn.cc:450 #97 0x005bd243 in octave_user_function::subsref (this=0x501ad04, address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at ov-usr-fcn.cc:303 #98 0x005be09a in octave_user_function::subsref (this=0x501ad04, address@hidden, address@hidden, nargout=0) at ov-usr-fcn.cc:286 #99 0x005d2d4c in octave_value::subsref (this=0xbfff99e0, address@hidden, address@hidden, nargout=0) at ov.cc:1202 #100 0x005d2dc1 in octave_value::subsref (this=0xbfff99e0, address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at ov.cc:1213 #101 0x006af985 in tree_index_expression::rvalue (this=0x43fa180, nargout=0, lvalue_list=0x0) at pt-idx.cc:408 #102 0x006afc4c in tree_index_expression::rvalue (this=0x43fa180, nargout=0) at pt-idx.cc:278 #103 0x006ae49e in tree_index_expression::rvalue1 (this=0x43fa180, nargout=0) at pt-idx.cc:419 #104 0x006a29b6 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:729 #105 0x006d5991 in tree_statement::accept (this=0x2eb4630, address@hidden) at pt-stmt.cc:152 #106 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #107 0x00084f59 in tree_statement_list::accept (this=0x2ecd1a0, address@hidden) at pt-stmt.cc:216 #108 0x006a2c05 in tree_evaluator::visit_if_command_list (this=0xe60560, address@hidden) at pt-eval.cc:573 #109 0x006d4676 in tree_if_command_list::accept (this=0x2ec9400, address@hidden) at pt-select.cc:84 #110 0x006a2c69 in tree_evaluator::visit_if_command (this=0xe60560, address@hidden) at pt-eval.cc:551 #111 0x006d4690 in tree_if_command::accept (this=0x2ef40d0, address@hidden) at pt-select.cc:109 #112 0x006a2906 in tree_evaluator::visit_statement (this=0xe60560, address@hidden) at pt-eval.cc:700 #113 0x006d5991 in tree_statement::accept (this=0x2ea1a10, address@hidden) at pt-stmt.cc:152 #114 0x0069f7b5 in tree_evaluator::visit_statement_list (this=0xe60560, address@hidden) at pt-eval.cc:765 #115 0x00084f59 in tree_statement_list::accept (this=0x2ebf5e0, address@hidden) at pt-stmt.cc:216 #116 0x005c3996 in octave_user_function::do_multi_index_op (this=0x501a7f0, nargout=0, address@hidden, lvalue_list=0x0) at ov-usr-fcn.cc:450 #117 0x005bc0d3 in octave_user_function::do_multi_index_op (this=0x501a7f0, nargout=0, address@hidden) at ov-usr-fcn.cc:333 #118 0x0008027e in octave_value::do_multi_index_op (this=0xbfff9f28, nargout=0, address@hidden) at ov.cc:1267 #119 0x00061770 in feval (address@hidden, address@hidden, nargout=0) at oct-parse.yy:4134 #120 0x002997d9 in gnuplot_backend::redraw_figure (this=0x43b3e80, address@hidden) at graphics.cc:2342 #121 0x001fbbd1 in graphics_backend::redraw_figure () at /Users/bpabbott/Development/mercurial/local_clone/src/graphics.h:6739 #122 0x001fbbd1 in Fdrawnow (address@hidden) at graphics.cc:6739 #123 0x004acf12 in octave_builtin::do_multi_index_op (this=0x5017d40, nargout=0, address@hidden, lvalue_list=0x0) at ov-builtin.cc:129 #124 0x004ad2eb in octave_builtin::do_multi_index_op (this=0x5017d40, nargout=0, address@hidden) at ov-builtin.cc:99 #125 0x0008027e in octave_value::do_multi_index_op (this=0xbfffa3b8, nargout=0, address@hidden) at ov.cc:1267 #126 0x00061770 in feval (address@hidden, address@hidden, nargout=0) at oct-parse.yy:4134 #127 0x0003cccc in interactive_input (address@hidden, force_readline=false) at input.cc:238 #128 0x0003d758 in std::string::operator= () at /usr/include/c++/4.2.1/bits/basic_string.h:281 #129 0x0003d758 in octave_gets [inlined] () at /Users/bpabbott/Development/mercurial/local_clone/src/input.cc:281 #130 get_user_input [inlined] () at /Users/bpabbott/Development/mercurial/local_clone/src/input.cc:352 #131 0x0003d758 in octave_read (buf=0x314be00 "", max_size=8192) at input.cc:374 #132 0x0003ea07 in yy_get_next_buffer () at lex.cc:3098 #133 0x0004fa11 in octave_lex () at lex.cc:2940 #134 0x00066434 in octave_parse () at oct-parse.cc:2409 #135 0x0042cb23 in main_loop () at toplev.cc:568 #136 0x003c3d8a in octave_main (argc=6, argv=0xbfffb1e0, embedded=0) at octave.cc:896 #137 0x00001f82 in main (argc=6, argv=0xbfffb1e0) at main.c:35 (gdb)