bash - Abnormal termination of GNU Octave script -
on i686 / 32-bit dual cpu, fresh debian stretch installation, i've installed octave 4.2.1 , run ./mytest
after providing execution privileges:
#!/bin/bash ./mytest.m
where test.m
reads
#!/usr/bin/octave exit(0)
the result is:
terminate called after throwing instance of 'octave::exit_exception' panic: aborted -- stopping myself... attempting save variables 'octave-workspace'.. save 'octave-workspace' complete octave exited signal 6
but program intended exit normally. same result replacing exit
quit
, terminates correctly when starting $ octave -q --no-gui
, > quit
. what's wrong here?
update: in meanwhile, showed up: http://savannah.gnu.org/bugs/?49271, question be: can non-octave configuration solve problem? (confirmed: octave 4.0.0 not reproduce error.)
Comments
Post a Comment