[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run
From: |
Carlo de Falco |
Subject: |
[Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot |
Date: |
Fri, 22 Nov 2019 05:46:07 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0 |
Follow-up Comment #24, bug #57245 (project octave):
the stack trace looks unchanged to me
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x11421b6e8)
frame #0: 0x000000010900532b
liboctinterp.7.dylib`octave::graphics_toolkit::initialize(this=0x00007ffee7960f20,
go=0x00007ffee7960fa8) at graphics-toolkit.h:252:21
249 // Notifies graphics toolkit that new object was created.
250 bool initialize (const graphics_object& go)
251 {
-> 252 return m_rep->initialize (go);
253 }
254
255 bool initialize (const graphics_handle& h)
Target 0: (octave-cli) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x11421b6e8)
* frame #0: 0x000000010900532b
liboctinterp.7.dylib`octave::graphics_toolkit::initialize(this=0x00007ffee7960f20,
go=0x00007ffee7960fa8) at graphics-toolkit.h:252:21
frame #1: 0x0000000108fa8b0d
liboctinterp.7.dylib`base_graphics_object::initialize(this=0x00007fccc1044400,
go=0x00007ffee7960fa8) at graphics.h:2883:37
frame #2: 0x0000000108fc1a11
liboctinterp.7.dylib`graphics_object::initialize(this=0x00007ffee7960fa8) at
graphics.h:3110:33
frame #3: 0x0000000108fa8be5
liboctinterp.7.dylib`xinitialize(h=0x00007ffee7961268) at graphics.cc:3194:8
frame #4: 0x0000000108fc8dac
liboctinterp.7.dylib`F__go_figure__(interp=0x00007fccc1007c00,
args=0x00007ffee7961d58, (null)=1) at graphics.cc:13212:7
frame #5: 0x00000001087c484f
liboctinterp.7.dylib`octave_builtin::call(this=0x00007fccbfe3f860,
tw=0x00007fccc1008740, nargout=1, args=0x00007ffee7961d58) at
ov-builtin.cc:68:16
frame #6: 0x0000000108b72db8
liboctinterp.7.dylib`octave::tree_index_expression::evaluate_n(this=0x00007fccbfeab040,
tw=0x00007fccc1008740, nargout=1) at pt-idx.cc:518:35
frame #7: 0x0000000108b74552
liboctinterp.7.dylib`octave::tree_index_expression::evaluate(this=0x00007fccbfeab040,
tw=0x00007fccc1008740, nargout=1) at pt-idx.h:106:34
frame #8: 0x0000000108aebeee
liboctinterp.7.dylib`octave::tree_simple_assignment::evaluate(this=0x00007fccbfeab210,
tw=0x00007fccc1008740, (null)=0) at pt-assign.cc:98:43
frame #9: 0x0000000108b1c478
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement(this=0x00007fccc1008740,
stmt=0x00007fccbfec32d0) at pt-eval.cc:2724:49
frame #10: 0x0000000108b91e71
liboctinterp.7.dylib`octave::tree_statement::accept(this=0x00007fccbfec32d0,
tw=0x00007fccc1008740) at pt-stmt.h:121:10
frame #11: 0x0000000108b1c779
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement_list(this=0x00007fccc1008740,
lst=0x00007fccbfeab250) at pt-eval.cc:2783:18
frame #12: 0x000000010871acc1
liboctinterp.7.dylib`octave::tree_statement_list::accept(this=0x00007fccbfeab250,
tw=0x00007fccc1008740) at pt-stmt.h:198:10
frame #13: 0x0000000108b1bcee
liboctinterp.7.dylib`octave::tree_evaluator::visit_if_command_list(this=0x00007fccc1008740,
lst=0x00007fccbfedb1f0) at pt-eval.cc:2577:25
frame #14: 0x0000000108b1bb71
liboctinterp.7.dylib`octave::tree_if_command_list::accept(this=0x00007fccbfedb1f0,
tw=0x00007fccc1008740) at pt-select.h:115:10
frame #15: 0x0000000108b1bb24
liboctinterp.7.dylib`octave::tree_evaluator::visit_if_command(this=0x00007fccc1008740,
cmd=0x00007fccbfedbd80) at pt-eval.cc:2555:12
frame #16: 0x0000000108b90611
liboctinterp.7.dylib`octave::tree_if_command::accept(this=0x00007fccbfedbd80,
tw=0x00007fccc1008740) at pt-select.h:148:10
frame #17: 0x0000000108b1c38f
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement(this=0x00007fccc1008740,
stmt=0x00007fccbfedbdb0) at pt-eval.cc:2702:20
frame #18: 0x0000000108b91e71
liboctinterp.7.dylib`octave::tree_statement::accept(this=0x00007fccbfedbdb0,
tw=0x00007fccc1008740) at pt-stmt.h:121:10
frame #19: 0x0000000108b1c779
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement_list(this=0x00007fccc1008740,
lst=0x00007fccbfeb1b10) at pt-eval.cc:2783:18
frame #20: 0x000000010871acc1
liboctinterp.7.dylib`octave::tree_statement_list::accept(this=0x00007fccbfeb1b10,
tw=0x00007fccc1008740) at pt-stmt.h:198:10
frame #21: 0x0000000108b1ada4
liboctinterp.7.dylib`octave::tree_evaluator::execute_user_function(this=0x00007fccc1008740,
user_function=0x00007fccbfeadfa0, nargout=1, xargs=0x00007ffee7963298,
closure_frames=0x0000000000000000) at pt-eval.cc:2444:19
frame #22: 0x000000010895e24a
liboctinterp.7.dylib`octave_user_function::call(this=0x00007fccbfeadfa0,
tw=0x00007fccc1008740, nargout=1, args=0x00007ffee7963298,
closure_frames=0x0000000000000000) at ov-usr-fcn.cc:467:13
frame #23: 0x0000000108961555
liboctinterp.7.dylib`octave_user_function::call(this=0x00007fccbfeadfa0,
tw=0x00007fccc1008740, nargout=1, args=0x00007ffee7963298) at
ov-usr-fcn.h:373:12
frame #24: 0x0000000108b72db8
liboctinterp.7.dylib`octave::tree_index_expression::evaluate_n(this=0x00007fccbfeb8d30,
tw=0x00007fccc1008740, nargout=1) at pt-idx.cc:518:35
frame #25: 0x0000000108b74552
liboctinterp.7.dylib`octave::tree_index_expression::evaluate(this=0x00007fccbfeb8d30,
tw=0x00007fccc1008740, nargout=1) at pt-idx.h:106:34
frame #26: 0x0000000108aebeee
liboctinterp.7.dylib`octave::tree_simple_assignment::evaluate(this=0x00007fccbfec56e0,
tw=0x00007fccc1008740, (null)=0) at pt-assign.cc:98:43
frame #27: 0x0000000108b1c478
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement(this=0x00007fccc1008740,
stmt=0x00007fccbfeb8b50) at pt-eval.cc:2724:49
frame #28: 0x0000000108b91e71
liboctinterp.7.dylib`octave::tree_statement::accept(this=0x00007fccbfeb8b50,
tw=0x00007fccc1008740) at pt-stmt.h:121:10
frame #29: 0x0000000108b1c779
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement_list(this=0x00007fccc1008740,
lst=0x00007fccbfec5720) at pt-eval.cc:2783:18
frame #30: 0x000000010871acc1
liboctinterp.7.dylib`octave::tree_statement_list::accept(this=0x00007fccbfec5720,
tw=0x00007fccc1008740) at pt-stmt.h:198:10
frame #31: 0x0000000108b1bcee
liboctinterp.7.dylib`octave::tree_evaluator::visit_if_command_list(this=0x00007fccc1008740,
lst=0x00007fccbfec5800) at pt-eval.cc:2577:25
frame #32: 0x0000000108b1bb71
liboctinterp.7.dylib`octave::tree_if_command_list::accept(this=0x00007fccbfec5800,
tw=0x00007fccc1008740) at pt-select.h:115:10
frame #33: 0x0000000108b1bb24
liboctinterp.7.dylib`octave::tree_evaluator::visit_if_command(this=0x00007fccc1008740,
cmd=0x00007fccbfec5af0) at pt-eval.cc:2555:12
frame #34: 0x0000000108b90611
liboctinterp.7.dylib`octave::tree_if_command::accept(this=0x00007fccbfec5af0,
tw=0x00007fccc1008740) at pt-select.h:148:10
frame #35: 0x0000000108b1c38f
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement(this=0x00007fccc1008740,
stmt=0x00007fccbfec5b20) at pt-eval.cc:2702:20
frame #36: 0x0000000108b91e71
liboctinterp.7.dylib`octave::tree_statement::accept(this=0x00007fccbfec5b20,
tw=0x00007fccc1008740) at pt-stmt.h:121:10
frame #37: 0x0000000108b1c779
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement_list(this=0x00007fccc1008740,
lst=0x00007fccbfeb85d0) at pt-eval.cc:2783:18
frame #38: 0x000000010871acc1
liboctinterp.7.dylib`octave::tree_statement_list::accept(this=0x00007fccbfeb85d0,
tw=0x00007fccc1008740) at pt-stmt.h:198:10
frame #39: 0x0000000108b1bcee
liboctinterp.7.dylib`octave::tree_evaluator::visit_if_command_list(this=0x00007fccc1008740,
lst=0x00007fccbfec5c20) at pt-eval.cc:2577:25
frame #40: 0x0000000108b1bb71
liboctinterp.7.dylib`octave::tree_if_command_list::accept(this=0x00007fccbfec5c20,
tw=0x00007fccc1008740) at pt-select.h:115:10
frame #41: 0x0000000108b1bb24
liboctinterp.7.dylib`octave::tree_evaluator::visit_if_command(this=0x00007fccc1008740,
cmd=0x00007fccbfec6540) at pt-eval.cc:2555:12
frame #42: 0x0000000108b90611
liboctinterp.7.dylib`octave::tree_if_command::accept(this=0x00007fccbfec6540,
tw=0x00007fccc1008740) at pt-select.h:148:10
frame #43: 0x0000000108b1c38f
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement(this=0x00007fccc1008740,
stmt=0x00007fccbfec6570) at pt-eval.cc:2702:20
frame #44: 0x0000000108b91e71
liboctinterp.7.dylib`octave::tree_statement::accept(this=0x00007fccbfec6570,
tw=0x00007fccc1008740) at pt-stmt.h:121:10
frame #45: 0x0000000108b1c779
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement_list(this=0x00007fccc1008740,
lst=0x00007fccbfeda340) at pt-eval.cc:2783:18
frame #46: 0x000000010871acc1
liboctinterp.7.dylib`octave::tree_statement_list::accept(this=0x00007fccbfeda340,
tw=0x00007fccc1008740) at pt-stmt.h:198:10
frame #47: 0x0000000108b1ada4
liboctinterp.7.dylib`octave::tree_evaluator::execute_user_function(this=0x00007fccc1008740,
user_function=0x00007fccbff0a1d0, nargout=1, xargs=0x00007ffee7964a08,
closure_frames=0x0000000000000000) at pt-eval.cc:2444:19
frame #48: 0x000000010895e24a
liboctinterp.7.dylib`octave_user_function::call(this=0x00007fccbff0a1d0,
tw=0x00007fccc1008740, nargout=1, args=0x00007ffee7964a08,
closure_frames=0x0000000000000000) at ov-usr-fcn.cc:467:13
frame #49: 0x0000000108961555
liboctinterp.7.dylib`octave_user_function::call(this=0x00007fccbff0a1d0,
tw=0x00007fccc1008740, nargout=1, args=0x00007ffee7964a08) at
ov-usr-fcn.h:373:12
frame #50: 0x0000000108b72db8
liboctinterp.7.dylib`octave::tree_index_expression::evaluate_n(this=0x00007fccbfed43e0,
tw=0x00007fccc1008740, nargout=1) at pt-idx.cc:518:35
frame #51: 0x0000000108b74552
liboctinterp.7.dylib`octave::tree_index_expression::evaluate(this=0x00007fccbfed43e0,
tw=0x00007fccc1008740, nargout=1) at pt-idx.h:106:34
frame #52: 0x0000000108aebeee
liboctinterp.7.dylib`octave::tree_simple_assignment::evaluate(this=0x00007fccbfed44f0,
tw=0x00007fccc1008740, (null)=0) at pt-assign.cc:98:43
frame #53: 0x0000000108b1c478
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement(this=0x00007fccc1008740,
stmt=0x00007fccbfed41a0) at pt-eval.cc:2724:49
frame #54: 0x0000000108b91e71
liboctinterp.7.dylib`octave::tree_statement::accept(this=0x00007fccbfed41a0,
tw=0x00007fccc1008740) at pt-stmt.h:121:10
frame #55: 0x0000000108b1c779
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement_list(this=0x00007fccc1008740,
lst=0x00007fccbfed4530) at pt-eval.cc:2783:18
frame #56: 0x000000010871acc1
liboctinterp.7.dylib`octave::tree_statement_list::accept(this=0x00007fccbfed4530,
tw=0x00007fccc1008740) at pt-stmt.h:198:10
frame #57: 0x0000000108b1d92e
liboctinterp.7.dylib`octave::tree_evaluator::visit_unwind_protect_command(this=0x00007fccc1008740,
cmd=0x00007fccbfed66a0) at pt-eval.cc:3036:34
frame #58: 0x0000000108b5c901
liboctinterp.7.dylib`octave::tree_unwind_protect_command::accept(this=0x00007fccbfed66a0,
tw=0x00007fccc1008740) at pt-except.h:148:10
frame #59: 0x0000000108b1c38f
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement(this=0x00007fccc1008740,
stmt=0x00007fccbfed66e0) at pt-eval.cc:2702:20
frame #60: 0x0000000108b91e71
liboctinterp.7.dylib`octave::tree_statement::accept(this=0x00007fccbfed66e0,
tw=0x00007fccc1008740) at pt-stmt.h:121:10
frame #61: 0x0000000108b1c779
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement_list(this=0x00007fccc1008740,
lst=0x00007fccbfed2a20) at pt-eval.cc:2783:18
frame #62: 0x000000010871acc1
liboctinterp.7.dylib`octave::tree_statement_list::accept(this=0x00007fccbfed2a20,
tw=0x00007fccc1008740) at pt-stmt.h:198:10
frame #63: 0x0000000108b1ada4
liboctinterp.7.dylib`octave::tree_evaluator::execute_user_function(this=0x00007fccc1008740,
user_function=0x00007fccbfed6fc0, nargout=0, xargs=0x00007ffee7965ef8,
closure_frames=0x0000000000000000) at pt-eval.cc:2444:19
frame #64: 0x000000010895e24a
liboctinterp.7.dylib`octave_user_function::call(this=0x00007fccbfed6fc0,
tw=0x00007fccc1008740, nargout=0, args=0x00007ffee7965ef8,
closure_frames=0x0000000000000000) at ov-usr-fcn.cc:467:13
frame #65: 0x0000000108961555
liboctinterp.7.dylib`octave_user_function::call(this=0x00007fccbfed6fc0,
tw=0x00007fccc1008740, nargout=0, args=0x00007ffee7965ef8) at
ov-usr-fcn.h:373:12
frame #66: 0x0000000108b72db8
liboctinterp.7.dylib`octave::tree_index_expression::evaluate_n(this=0x00007fccbfed09b0,
tw=0x00007fccc1008740, nargout=0) at pt-idx.cc:518:35
frame #67: 0x0000000108b74552
liboctinterp.7.dylib`octave::tree_index_expression::evaluate(this=0x00007fccbfed09b0,
tw=0x00007fccc1008740, nargout=0) at pt-idx.h:106:34
frame #68: 0x0000000108b1c478
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement(this=0x00007fccc1008740,
stmt=0x00007fccbfed0ac0) at pt-eval.cc:2724:49
frame #69: 0x0000000108b91e71
liboctinterp.7.dylib`octave::tree_statement::accept(this=0x00007fccbfed0ac0,
tw=0x00007fccc1008740) at pt-stmt.h:121:10
frame #70: 0x0000000108b1c779
liboctinterp.7.dylib`octave::tree_evaluator::visit_statement_list(this=0x00007fccc1008740,
lst=0x00007fccbfed0af0) at pt-eval.cc:2783:18
frame #71: 0x000000010871acc1
liboctinterp.7.dylib`octave::tree_statement_list::accept(this=0x00007fccbfed0af0,
tw=0x00007fccc1008740) at pt-stmt.h:198:10
frame #72: 0x0000000108b0f3c4
liboctinterp.7.dylib`octave::tree_evaluator::eval(this=0x00007fccc1008740,
stmt_list=std::__1::shared_ptr<octave::tree_statement_list>::element_type @
0x00007fccbfed0af0 strong=2 weak=1, interactive=true) at pt-eval.cc:398:20
frame #73: 0x0000000109075fad
liboctinterp.7.dylib`octave::interpreter::main_loop(this=0x00007fccc1007c00)
at interpreter.cc:1113:33
frame #74: 0x0000000109074957
liboctinterp.7.dylib`octave::interpreter::execute(this=0x00007fccc1007c00) at
interpreter.cc:795:27
frame #75: 0x00000001082ab39d
liboctinterp.7.dylib`octave::cli_application::execute(this=0x00007ffee7966740)
at octave.cc:376:25
frame #76: 0x00000001082988ad octave-cli`main(argc=9,
argv=0x00007ffee7966940) at main-cli.cc:92:14
frame #77: 0x00007fff759d73d5 libdyld.dylib`start + 1
(lldb)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57245>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, (continued)
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, Carlo de Falco, 2019/11/18
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, Carlo de Falco, 2019/11/18
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, Rik, 2019/11/19
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, Carlo de Falco, 2019/11/20
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, Rik, 2019/11/20
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, Carlo de Falco, 2019/11/21
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, John W. Eaton, 2019/11/21
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, John W. Eaton, 2019/11/21
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, Rik, 2019/11/21
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot, Carlo de Falco, 2019/11/22
- [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot,
Carlo de Falco <=