[qss:octave] gdb octave GNU gdb (GDB) Fedora (7.1-30.fc13) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/bin/octave...done. (gdb) run Starting program: /usr/local/bin/octave [Thread debugging using libthread_db enabled] GNU Octave, version 3.3.51+ Copyright (C) 2010 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "x86_64-unknown-linux-gnu". 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 Read http://www.octave.org/bugs.html to learn how to submit bug reports. For information about changes from previous versions, type `news'. octave:1> find('a') ans = 1 octave:2> find('a') ans = 1 octave:3> find('abca') ans = 1 2 3 4 octave:4> help find Detaching after fork from child process 13399. ^C Program received signal SIGINT, Interrupt. __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 97 2: movl %edx, %eax (gdb) bt #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x000000322647c138 in _L_lock_9162 () at malloc.c:3503 #2 0x0000003226479a32 in __libc_malloc (bytes=215393742464) at malloc.c:3657 #3 0x00000032308bd0ed in operator new (sz=16) at ../../../../libstdc++-v3/libsupc++/new_op.cc:52 #4 0x00007ffff760f422 in octave_child_list::instance_ok () at sighandlers.cc:821 #5 0x00007ffff760f4b9 in octave_child_list::wait () at sighandlers.cc:850 #6 0x00007ffff760f52d in sigchld_handler () at sighandlers.cc:234 #7 #8 malloc_consolidate (av=0x322677ae80) at malloc.c:5171 #9 0x0000003226478612 in _int_malloc (av=0x322677ae80, bytes=) at malloc.c:4373 #10 0x0000003226479a3d in __libc_malloc (bytes=1049) at malloc.c:3660 #11 0x00000032308bd0ed in operator new (sz=1049) at ../../../../libstdc++-v3/libsupc++/new_op.cc:52 #12 0x000000323089c369 in std::basic_string, std::allocator >::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&) () from /usr/lib64/libstdc++.so.6 #13 0x000000323089d14b in std::basic_string, std::allocator >::_Rep::_M_clone(std::allocator const&, unsigned long) () from /usr/lib64/libstdc++.so.6 #14 0x000000323089d59c in std::basic_string, std::allocator >::reserve(unsigned long) () from /usr/lib64/libstdc++.so.6 #15 0x0000003230897871 in std::basic_stringbuf, std::allocator >::overflow ( this=0x7fffffffbcb8, __c=117) at /usr/src/debug/gcc-4.4.4-20100630/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/sstream.tcc:114 #16 0x0000003230892eb0 in sputc (this=0x7fffffffbcb0, __c=) at /usr/src/debug/gcc-4.4.4-20100630/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/streambuf:410 #17 std::basic_ostream >::put (this=0x7fffffffbcb0, __c=) at /usr/src/debug/gcc-4.4.4-20100630/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/ostream.tcc:163 #18 0x00007ffff76408b8 in run_command_and_return_output (args=, nargout=) at toplev.cc:796 #19 Fsystem (args=, nargout=) at toplev.cc:956 #20 0x00007ffff76a356d in octave_builtin::do_multi_index_op (this=0x764380, nargout=2, args=...) at ov-builtin.cc:107 #21 0x00007ffff76a2610 in octave_builtin::subsref (this=0x764380, type="(", idx=std::list = {...}, nargout=2) at ov-builtin.cc:55 #22 0x00007ffff77732f1 in octave_value::subsref (this=, type=, ---Type to continue, or q to quit--- idx=, nargout=) at ov.cc:1202 #23 0x00007ffff780d88e in tree_index_expression::rvalue (this=, nargout=2) at pt-idx.cc:401 #24 0x00007ffff77eff70 in tree_multi_assignment::rvalue (this=0xcee780) at pt-assign.cc:365 #25 0x00007ffff77efafe in tree_multi_assignment::rvalue1 (this=0xcee780, nargout=0) at pt-assign.cc:320 #26 0x00007ffff77ff54f in tree_evaluator::visit_statement (this=, stmt=) at pt-eval.cc:722 #27 0x00007ffff77fd928 in tree_evaluator::visit_statement_list (this=0x7ffff7ffb438, lst=...) at pt-eval.cc:758 #28 0x00007ffff77fd586 in tree_evaluator::visit_unwind_protect_command (this=0x7ffff7ffb438, cmd=) at pt-eval.cc:986 #29 0x00007ffff77ff456 in tree_evaluator::visit_statement (this=0x7ffff7ffb438, stmt=) at pt-eval.cc:693 #30 0x00007ffff77fd928 in tree_evaluator::visit_statement_list (this=0x7ffff7ffb438, lst=...) at pt-eval.cc:758 #31 0x00007ffff776556d in octave_user_function::do_multi_index_op (this=0x6a85a8, nargout=2, args=) at ov-usr-fcn.cc:431 #32 0x00007ffff77646d0 in octave_user_function::subsref (this=0x6a85a8, type="(", idx=std::list = {...}, nargout=2) at ov-usr-fcn.cc:293 #33 0x00007ffff77732f1 in octave_value::subsref (this=, type=, idx=, nargout=) at ov.cc:1202 #34 0x00007ffff780d88e in tree_index_expression::rvalue (this=, nargout=2) at pt-idx.cc:401 #35 0x00007ffff77eff70 in tree_multi_assignment::rvalue (this=0x7e3ea0) at pt-assign.cc:365 #36 0x00007ffff77efafe in tree_multi_assignment::rvalue1 (this=0x7e3ea0, nargout=0) at pt-assign.cc:320 #37 0x00007ffff77ff54f in tree_evaluator::visit_statement (this=, stmt=) at pt-eval.cc:722 #38 0x00007ffff77fd928 in tree_evaluator::visit_statement_list (this=0x7ffff7ffb438, lst=...) at pt-eval.cc:758 #39 0x00007ffff77ff362 in tree_evaluator::visit_switch_command (this=0x7ffff7ffb438, cmd=) at pt-eval.cc:837 #40 0x00007ffff77ff456 in tree_evaluator::visit_statement (this=0x7ffff7ffb438, stmt=) at pt-eval.cc:693 #41 0x00007ffff77fd928 in tree_evaluator::visit_statement_list (this=0x7ffff7ffb438, lst=...) at pt-eval.cc:758 #42 0x00007ffff77ff456 in tree_evaluator::visit_statement (this=0x7ffff7ffb438, stmt=) at pt-eval.cc:693 #43 0x00007ffff77fd928 in tree_evaluator::visit_statement_list (this=0x7ffff7ffb438, lst=...) at pt-eval.cc:758 #44 0x00007ffff776556d in octave_user_function::do_multi_index_op (this=0x6a8458, nargout=0, args=) at ov-usr-fcn.cc:431 ---Type to continue, or q to quit--- #45 0x00007ffff77646d0 in octave_user_function::subsref (this=0x6a8458, type="(", idx=std::list = {...}, nargout=0) at ov-usr-fcn.cc:293 #46 0x00007ffff77732f1 in octave_value::subsref (this=, type=, idx=, nargout=) at ov.cc:1202 #47 0x00007ffff780d88e in tree_index_expression::rvalue (this=, nargout=0) at pt-idx.cc:401 #48 0x00007ffff780ba07 in tree_index_expression::rvalue1 (this=0xc8a5c0, nargout=0) at pt-idx.cc:412 #49 0x00007ffff77ff54f in tree_evaluator::visit_statement (this=, stmt=) at pt-eval.cc:722 #50 0x00007ffff77fd928 in tree_evaluator::visit_statement_list (this=0x7ffff7ffb438, lst=...) at pt-eval.cc:758 #51 0x00007ffff763e334 in main_loop () at toplev.cc:571 #52 0x00007ffff75f002b in octave_main (argc=, argv=0x7fffffffe428, embedded=0) at octave.cc:882 #53 0x000000322641ec5d in __libc_start_main (main=0x4007d0
, argc=1, ubp_av=0x7fffffffe428, init=, fini=, rtld_fini=, stack_end=0x7fffffffe418) at libc-start.c:226 #54 0x0000000000400709 in _start () (gdb)