When I ran this, I got a crash. But I know I am running a mongrel
system, with old JQt and unreleased JE. Since others report no error,
perhaps that's our problem? You could try making sure your JQt is up to
date.
I did look into it a little, and you could do the same. This is what I
did (in JQt):
plot 1 2 ; 3 4 5
crash - before the crash a dialog about length error in getgrafmat.
Indeed, the arguments have incorrect length.
load 'plot'
open 'plot'
seems to use jzplot
open'jzplot'
ahh, there's the source. Look for getgrafmat. It is:
getgrafmat=: 3 : 0
'x y'=. 2 {. y { Data
,"2 (getgrafx x) ,."1 citemize getgrafy y
)
Perhaps it dies right there. Let's see. Change the function to:
getgrafmat=: 3 : 0
'x y'=. 2 {. y { Data
'1' 1!:2 <'C:/JPrograms/errfile.txt'
res =. ,"2 (getgrafx x) ,."1 citemize getgrafy y
'2' 1!:2 <'C:/JPrograms/errfile.txt'
res
)
<lots of blundering around omitted>
plot 1 2 ; 3 4 5
crash - errfile.txt has been created, containing '1'.
Thus the system crashed, presumably in JQt, displaying the dialog for
the length error.
Try reinstalling. If it still fails report again. Make sure you report
you system version and JQt version.
Henry Rich
On 3/24/2020 1:44 PM, Rudolf Sykora wrote:
bill lam <bbill....@gmail.com> writes:
You seemed also got the error box for some invalid input, but then it
crashed after 2 seconds. This is weird I don't know why.
Is there anything I can do to diagnose the issue? Ie., run the command
like
plot 1 2 ; 3 4 5
expecting that it is going to fail, but put some barriers around (special
checks for memory access etc.)? How should one proceed?
Thanks,
Ruda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm