[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
seg-fault/core-dump with current sources
From: |
Ben Abbott |
Subject: |
seg-fault/core-dump with current sources |
Date: |
Tue, 14 Sep 2010 17:56:05 -0400 |
My tip is ...
http://hg.savannah.gnu.org/hgweb/octave/rev/2d14817353a6
When I start Octave I get a core-dump
$ ./run-octave
GNU Octave, version 3.3.52+
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 "i386-apple-darwin10.4.0".
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'.
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault
A backtrace gives me ...
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xfffffff4
0x903a40c1 in std::string::find ()
(gdb) bt
#0 0x903a40c1 in std::string::find ()
#1 0x0131754b in file_ops::tilde_expand (address@hidden) at file-ops.cc:280
#2 0x013189b2 in file_stat::update_internal (this=0xbfff91b0, force=false) at
file-stat.cc:189
#3 0x00424a50 in file_stat [inlined] () at file-stat.h:209
#4 0x00424a50 in file_stat [inlined] () at
/Users/bpabbott/Development/mercurial/local_clone/liboctave/file-stat.h:210
#5 0x00424a50 in symbol_exist (address@hidden, address@hidden) at
file-stat.h:492
#6 0x00427cd4 in Fexist (address@hidden) at variables.cc:581
#7 0x0048ef5a in octave_builtin::do_multi_index_op (this=0x3033d80, nargout=1,
address@hidden, lvalue_list=0x0) at ov-builtin.cc:129
#8 0x0048dd88 in octave_builtin::subsref (this=0x3033d80, address@hidden,
address@hidden, nargout=1, lvalue_list=0x0) at ov-builtin.cc:64
#9 0x0048e680 in octave_builtin::subsref (this=0x3033d80, address@hidden,
address@hidden, nargout=1) at ov-builtin.cc:47
#10 0x0048f778 in octave_builtin::subsref (this=0x3033d80, address@hidden,
address@hidden) at ov-builtin.h:56
#11 0x005b74f0 in octave_value::subsref (this=0xbfff9810, address@hidden,
address@hidden, nargout=1) at ov.cc:1200
#12 0x005b7f7d in octave_value::subsref (this=0xbfff9810, address@hidden,
address@hidden, nargout=1, lvalue_list=0x0) at ov.cc:1213
#13 0x00691fda in tree_index_expression::rvalue (this=0x4133250, nargout=1,
lvalue_list=0x0) at pt-idx.cc:408
#14 0x006922a0 in tree_index_expression::rvalue (this=0x4133250, nargout=1) at
pt-idx.cc:278
#15 0x0068e9f0 in tree_index_expression::rvalue1 (this=0x4133250, nargout=1) at
pt-idx.cc:419
#16 0x006870ab in tree_expression::is_logically_true (this=0x4133250,
warn_for=0xb223ac "if") at pt-exp.cc:44
#17 0x00682660 in tree_evaluator::visit_if_command_list (this=0xe46580,
address@hidden) at pt-eval.cc:566
#18 0x006b4f16 in tree_if_command_list::accept (this=0x413b130, address@hidden)
at pt-select.cc:84
#19 0x006826e9 in tree_evaluator::visit_if_command (this=0xe46580,
address@hidden) at pt-eval.cc:551
#20 0x006b4f30 in tree_if_command::accept (this=0x413b150, address@hidden) at
pt-select.cc:109
#21 0x006821b6 in tree_evaluator::visit_statement (this=0xe46580,
address@hidden) at pt-eval.cc:700
#22 0x006b6231 in tree_statement::accept (this=0x413b170, address@hidden) at
pt-stmt.cc:152
#23 0x00686509 in tree_evaluator::visit_statement_list (this=0xe46580,
address@hidden) at pt-eval.cc:765
#24 0x00085b33 in tree_statement_list::accept (this=0x412b9f0, address@hidden)
at pt-stmt.cc:216
#25 0x005a4b55 in octave_user_function::do_multi_index_op (this=0x4840258,
nargout=1, address@hidden, lvalue_list=0x0) at ov-usr-fcn.cc:450
#26 0x005a0135 in octave_user_function::subsref (this=0x4840258,
address@hidden, address@hidden, nargout=1, lvalue_list=0x0) at ov-usr-fcn.cc:303
#27 0x005a0f8c in octave_user_function::subsref (this=0x4840258,
address@hidden, address@hidden, nargout=1) at ov-usr-fcn.cc:286
#28 0x005a510f in octave_user_function::subsref (this=0x4840258,
address@hidden, address@hidden) at ov-usr-fcn.h:263
#29 0x005b74f0 in octave_value::subsref (this=0xbfffa060, address@hidden,
address@hidden, nargout=1) at ov.cc:1200
#30 0x005b7f7d in octave_value::subsref (this=0xbfffa060, address@hidden,
address@hidden, nargout=1, lvalue_list=0x0) at ov.cc:1213
#31 0x00691fda in tree_index_expression::rvalue (this=0x4121bb0, nargout=1,
lvalue_list=0x0) at pt-idx.cc:408
#32 0x006922a0 in tree_index_expression::rvalue (this=0x4121bb0, nargout=1) at
pt-idx.cc:278
#33 0x0068e9f0 in tree_index_expression::rvalue1 (this=0x4121bb0, nargout=1) at
pt-idx.cc:419
#34 0x0066fe48 in tree_simple_assignment::rvalue1 (this=0x4121cf0) at
pt-assign.cc:206
#35 0x00682266 in tree_evaluator::visit_statement (this=0xe46580,
address@hidden) at pt-eval.cc:729
#36 0x006b6231 in tree_statement::accept (this=0x4117930, address@hidden) at
pt-stmt.cc:152
#37 0x00686509 in tree_evaluator::visit_statement_list (this=0xe46580,
address@hidden) at pt-eval.cc:765
#38 0x00085b33 in tree_statement_list::accept (this=0x4120a10, address@hidden)
at pt-stmt.cc:216
#39 0x00682685 in tree_evaluator::visit_if_command_list (this=0xe46580,
address@hidden) at pt-eval.cc:573
#40 0x006b4f16 in tree_if_command_list::accept (this=0x4116f70, address@hidden)
at pt-select.cc:84
#41 0x006826e9 in tree_evaluator::visit_if_command (this=0xe46580,
address@hidden) at pt-eval.cc:551
#42 0x006b4f30 in tree_if_command::accept (this=0x41228f0, address@hidden) at
pt-select.cc:109
#43 0x006821b6 in tree_evaluator::visit_statement (this=0xe46580,
address@hidden) at pt-eval.cc:700
#44 0x006b6231 in tree_statement::accept (this=0x4122910, address@hidden) at
pt-stmt.cc:152
#45 0x00686509 in tree_evaluator::visit_statement_list (this=0xe46580,
address@hidden) at pt-eval.cc:765
#46 0x00085b33 in tree_statement_list::accept (this=0x4116c70, address@hidden)
at pt-stmt.cc:216
#47 0x005a4b55 in octave_user_function::do_multi_index_op (this=0x4840064,
nargout=0, address@hidden, lvalue_list=0x0) at ov-usr-fcn.cc:450
#48 0x005a0135 in octave_user_function::subsref (this=0x4840064,
address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at ov-usr-fcn.cc:303
#49 0x005a0f8c in octave_user_function::subsref (this=0x4840064,
address@hidden, address@hidden, nargout=0) at ov-usr-fcn.cc:286
#50 0x005b7840 in octave_value::subsref (this=0xbfffa9c0, address@hidden,
address@hidden, nargout=0) at ov.cc:1202
#51 0x005b7f7d in octave_value::subsref (this=0xbfffa9c0, address@hidden,
address@hidden, nargout=0, lvalue_list=0x0) at ov.cc:1213
#52 0x00691fda in tree_index_expression::rvalue (this=0x411f2d0, nargout=0,
lvalue_list=0x0) at pt-idx.cc:408
#53 0x006922a0 in tree_index_expression::rvalue (this=0x411f2d0, nargout=0) at
pt-idx.cc:278
#54 0x0068e9f0 in tree_index_expression::rvalue1 (this=0x411f2d0, nargout=0) at
pt-idx.cc:419
#55 0x00682266 in tree_evaluator::visit_statement (this=0xe46580,
address@hidden) at pt-eval.cc:729
#56 0x006b6231 in tree_statement::accept (this=0x4115950, address@hidden) at
pt-stmt.cc:152
#57 0x00686509 in tree_evaluator::visit_statement_list (this=0xe46580,
address@hidden) at pt-eval.cc:765
#58 0x00085b33 in tree_statement_list::accept (this=0x4115980, address@hidden)
at pt-stmt.cc:216
#59 0x0059de89 in octave_user_script::do_multi_index_op (this=0x4898600,
nargout=0, address@hidden) at ov-usr-fcn.cc:135
#60 0x003202b9 in source_file (address@hidden, address@hidden, verbose=false,
require_file=true, address@hidden) at oct-parse.yy:3983
#61 0x002a1db4 in execute_pkg_add_or_del (address@hidden, script_file=<value
temporarily unavailable, due to optimizations>) at load-path.cc:1877
#62 0x002a1f68 in execute_pkg_add (address@hidden) at load-path.cc:1883
#63 0x002a7876 in std::_List_iterator<load_path::dir_info>::operator++ () at
/usr/include/c++/4.2.1/bits/stl_list.h:588
#64 0x002a7876 in load_path::do_set (this=0x2e43350, address@hidden,
warn=false) at load-path.cc:583
#65 0x002a7ba5 in load_path::do_initialize (this=0x2e43350,
set_initial_path=false) at load-path.cc:516
#66 0x003ac1b5 in octave_main (argc=6, argv=0xbfffb05c, embedded=0) at
load-path.h:53
#67 0x00001f80 in main (argc=6, argv=0xbfffb05c) at main.c:35
Ben
- seg-fault/core-dump with current sources,
Ben Abbott <=