#0 0x00007ff8626215f9 in ucrtbase!_wcreat () from C:\WINDOWS\System32\ucrtbase.dll #1 0x00007ff862621705 in ucrtbase!_dup () from C:\WINDOWS\System32\ucrtbase.dll #2 0x00007ff810e98e83 in python38!PyImport_ImportModule () from C:\Program Files\Python38\python38.dll #3 0x00007ff810e9878e in python38!PyCodec_RegisterError () from C:\Program Files\Python38\python38.dll #4 0x00007ff810e98b56 in python38!PyCodec_RegisterError () from C:\Program Files\Python38\python38.dll #5 0x00007ff810ec05d6 in python38!PyOS_InitInterrupts () from C:\Program Files\Python38\python38.dll #6 0x00007ff810ec08d0 in python38!Py_InitializeFromConfig () from C:\Program Files\Python38\python38.dll #7 0x00007ff810ebec8d in python38!Py_InitializeEx () from C:\Program Files\Python38\python38.dll #8 0x0000000053912576 in pythonic::py_init () at oct-py-init.cc:142 #9 0x0000000053911842 in Fpycall (args=..., nargout=0) at pycall.cc:157 #10 0x0000000002a0f317 in octave_builtin::call (this=0x4799ef00, tw=..., nargout=0, args=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/octave-value/ov-builtin.cc:65 #11 0x0000000002b4ee3a in octave::tree_evaluator::visit_index_expression ( this=0x4e98e8b8, idx_expr=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2011 #12 0x000000000347cc88 in octave::tree_evaluator::evaluate (this=0x4e98e8b8, expr=0x533bd5b0, nargout=) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.h:312 #13 0x0000000002b4b83f in octave::tree_evaluator::visit_statement ( this=0x4e98e8b8, stmt=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2779 #14 0x0000000002b3eebc in octave::tree_statement::accept (tw=..., this=0x4f949320) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:119 #15 octave::tree_evaluator::visit_statement_list (this=0x4e98e8b8, lst=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2848 #16 0x0000000002b4b76b in octave::tree_evaluator::visit_statement ( this=0x4e98e8b8, stmt=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2757 #17 0x0000000002b3eebc in octave::tree_statement::accept (tw=..., this=0x4f9491a0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:119 #18 octave::tree_evaluator::visit_statement_list (this=0x4e98e8b8, lst=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2848 #19 0x0000000002b43bc2 in octave::tree_statement_list::accept (tw=..., this=0x50aa6b10) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:194 #20 octave::tree_evaluator::execute_user_script (this=this@entry=0x4e98e8b8, user_script=..., nargout=nargout@entry=0, args=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:1516 #21 0x0000000002acfda1 in octave_user_script::call ( this=this@entry=0x4fb202a0, tw=..., nargout=nargout@entry=0, args=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/octave-value/ov-usr-fcn.cc:168 #22 0x0000000002b2f520 in octave::source_file (file_name=..., context=..., verbose=verbose@entry=false, require_file=require_file@entry=true, warn_for=...) at libinterp/parse-tree/oct-parse.yy:5065 #23 0x0000000002b2fe49 in Fsource (args=...) at /home/spofahl/octave/octave-dbg/usr/lib/gcc/x86_64-w64-mingw32/9.3.0/include/c++/bits/basic_string.h:263 #24 0x0000000002a0f317 in octave_builtin::call (this=0x50de1400, tw=..., nargout=0, args=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/octave-value/ov-builtin.cc:65 #25 0x0000000002b4ee3a in octave::tree_evaluator::visit_index_expression ( this=0x4e98e8b8, idx_expr=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2011 #26 0x000000000347c9d6 in octave::tree_evaluator::evaluate_n ( this=this@entry=0x4e98e8b8, expr=expr@entry=0x533bce30, nargout=, nargout@entry=0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.h:343 #27 0x0000000002b467e6 in octave::tree_evaluator::eval_string ( this=this@entry=0x4e98e8b8, eval_str=..., silent=silent@entry=false, parse_status=@0x5186b1a4: 0, nargout=nargout@entry=0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:243 #28 0x0000000002b46b14 in octave::tree_evaluator::eval_string ( this=this@entry=0x4e98e8b8, arg=..., silent=silent@entry=false, parse_status=@0x5186b1a4: 0, nargout=nargout@entry=0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:287 #29 0x0000000002e12efb in octave::interpreter::eval_string ( this=this@entry=0x4e98dca0, arg=..., silent=silent@entry=false, parse_status=@0x5186b1a4: 0, nargout=nargout@entry=0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/corefcn/interpreter.cc:1150 #30 0x0000000002b22f94 in Fevalin (interp=..., args=..., nargout=0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/liboctave/array/Array.h:529 #31 0x0000000002a0f9fa in octave_builtin::call (this=0x50ddf060, tw=..., nargout=0, args=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/octave-value/ov-builtin.cc:71 #32 0x0000000002b4ee3a in octave::tree_evaluator::visit_index_expression ( this=0x4e98e8b8, idx_expr=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2011 #33 0x000000000347cc88 in octave::tree_evaluator::evaluate (this=0x4e98e8b8, expr=0x50ab4d40, nargout=) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.h:312 #34 0x0000000002b4b83f in octave::tree_evaluator::visit_statement ( this=0x4e98e8b8, stmt=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2779 #35 0x0000000002b3eebc in octave::tree_statement::accept (tw=..., this=0x4e8f29c0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:119 #36 octave::tree_evaluator::visit_statement_list (this=0x4e98e8b8, lst=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2848 #37 0x0000000002b44df1 in octave::tree_statement_list::accept (tw=..., this=) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:194 #38 octave::tree_evaluator::visit_unwind_protect_command (this=0x4e98e8b8, cmd=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:3104 #39 0x0000000002b4b76b in octave::tree_evaluator::visit_statement ( this=0x4e98e8b8, stmt=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2757 #40 0x0000000002b3eebc in octave::tree_statement::accept (tw=..., this=0x4e8f2340) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:119 #41 octave::tree_evaluator::visit_statement_list (this=0x4e98e8b8, lst=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2848 #42 0x0000000002b4b76b in octave::tree_evaluator::visit_statement ( this=0x4e98e8b8, stmt=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2757 #43 0x0000000002b3eebc in octave::tree_statement::accept (tw=..., this=0x4e8f2500) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:119 #44 octave::tree_evaluator::visit_statement_list (this=0x4e98e8b8, lst=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2848 #45 0x0000000002b49576 in octave::tree_statement_list::accept (tw=..., this=0x50a9b980) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:194 #46 octave::tree_evaluator::execute_user_function (this=0x4e98e8b8, user_function=..., nargout=0, xargs=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:1698 #47 0x0000000002acfe11 in octave_user_function::call (this=, tw=..., nargout=, args=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/octave-value/ov-usr-fcn.cc:455 #48 0x0000000002b4ee3a in octave::tree_evaluator::visit_index_expression ( this=0x4e98e8b8, idx_expr=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2011 #49 0x000000000347cc88 in octave::tree_evaluator::evaluate (this=0x4e98e8b8, expr=0x50ab51a0, nargout=) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.h:312 #50 0x0000000002b4b83f in octave::tree_evaluator::visit_statement ( this=0x4e98e8b8, stmt=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2779 #51 0x0000000002b3eebc in octave::tree_statement::accept (tw=..., this=0x4fccca30) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:119 #52 octave::tree_evaluator::visit_statement_list (this=0x4e98e8b8, lst=...) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:2848 #53 0x0000000002b40f7a in octave::tree_statement_list::accept (tw=..., this=) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-stmt.h:194 #54 octave::tree_evaluator::repl (this=this@entry=0x4e98e8b8, interactive=true) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/parse-tree/pt-eval.cc:106 #55 0x0000000002e12a7e in octave::interpreter::main_loop ( this=this@entry=0x4e98dca0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/corefcn/interpreter.cc:949 #56 0x0000000002e1bef4 in octave::interpreter::main_loop (this=0x4e98dca0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/corefcn/interpreter.cc:932 #57 octave::interpreter::execute (this=this@entry=0x4e98dca0) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libinterp/corefcn/interpreter.cc:694 #58 0x00000000322bba80 in octave::octave_interpreter::execute ( this=0x479b9940) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libgui/src/main-window.cc:146 #59 0x0000000032319e5d in octave::octave_interpreter::qt_static_metacall ( _o=0x237, _c=63, _id=-1, _a=0x7ff862646aa0 ) at libgui/src/moc-main-window.cc:90 #60 0x0000000066945c16 in QObject::event(QEvent*) () from C:\oct_dbg\mingw64\bin\Qt5Core.dll #61 0x0000000038a47953 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from C:\oct_dbg\mingw64\bin\Qt5Widgets.dll #62 0x0000000038a5058e in QApplication::notify(QObject*, QEvent*) () from C:\oct_dbg\mingw64\bin\Qt5Widgets.dll #63 0x00000000322be01e in octave::octave_qapplication::notify ( this=, receiver=, ev=) at /home/spofahl/octave/octave-dbg/tmp-release-octave/octave-5.2.0/libgui/src/main-window.cc:2802 #64 0x000000006691ac8a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from C:\oct_dbg\mingw64\bin\Qt5Core.dll #65 0x0000000066921561 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from C:\oct_dbg\mingw64\bin\Qt5Core.dll #66 0x0000000066974d5f in QEventDispatcherWin32::processEvents(QFlags) () from C:\oct_dbg\mingw64\bin\Qt5Core.dll #67 0x0000000066919963 in QEventLoop::exec(QFlags) () from C:\oct_dbg\mingw64\bin\Qt5Core.dll #68 0x0000000066758ef0 in QThread::run() () from C:\oct_dbg\mingw64\bin\Qt5Core.dll #69 0x0000000066759ae3 in QThread::setTerminationEnabled(bool) () from C:\oct_dbg\mingw64\bin\Qt5Core.dll #70 0x00007ff863967974 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll #71 0x00007ff86646a271 in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll #72 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb)