Another Java related Segmentation violation on WinXP

Tribo Laboy tribolaboy at gmail.com
Thu Jan 24 22:35:09 CST 2008


Hi!

I am having a hard time to troubleshoot Java-related segfault of
Octave on Windows with JHandles backend.
I am using a modified textread.m file from FileExchange, in which I
have tried to remove all calls to graphic routines (it uses a
waitbar).
Sometimes the program runs just fine and imports the data into a cell
array as it is supposed to do. Sometimes it fails miserably and
complains about Java. I really can't understand where does this come
from.

I have uploaded my modified copy of textread.m here:
tribolaboy.googlepages.com/octave_stuff

The execution of the comands and the trace of the segfault are shown below.

Anyone can help?


octave-3.0.0.exe:7> dtdt = readtext('data.txt')
octave-3.0.0.exe:8> dtdt2 = readtext('data.txt')
panic: Segmentation violation -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
error: java_invoke: first argument must be a Java object or a string
error: evaluating argument list element number 1
error: evaluating assignment expression near line 27, column 23
error: evaluating if command near line 26, column 7
error: evaluating if command near line 25, column 5
error: called from `__jhandles_get' in file `C:\4Apps\MATH\Octave\share\octave\p
ackages\jhandles-0.3.1\__jhandles_get.m'
error: evaluating assignment expression near line 74, column 25
error: evaluating argument list element number 1
error: evaluating prefix operator `!' near line 74, column 10
error: while: error evaluating conditional expression
error: called from `close:close_all_figures' in file `C:\4Apps\MATH\Octave\share
\octave\3.0.0\m\plot\close.m'
error: evaluating if command near line 46, column 5
error: evaluating if command near line 38, column 3
error: called from `close' in file `C:\4Apps\MATH\Octave\share\octave\3.0.0\m\pl
ot\close.m'
error: called from `__jhandles_exit' in file `C:\4Apps\MATH\Octave\share\octave\
packages\jhandles-0.3.1\__jhandles_exit.m'


More information about the Bug-octave mailing list