It ran in J64-804

On 5/16/2017 18:09, Jose Mario Quintana wrote:
0. Wicked Crash in JQt805/806

    Cloak=. ((5!:1)@:<'Cloak')Cloak=. (0:`)(,^:)
    'evoke fix amper'=. <@:Cloak "0@:;: '`:  f. &'
    train=. evoke&6 f.
    an=. <@:((,'0') ,&< ])

    indet=. '' ($ ,) 128!:5  NB. Is Indeterminate?
    eval=. {. train@:, an@:((train :: ])&.>)@:}.
    body=. ([ amper >@:{.)@:([ , <@:])`(eval@:}.@:[)@.(indet @:])
    GENOME=. <@:fix'body'

    vs=. GENOME&body f.
    S=. vs ]`''  NB. Strand notation (_. is used as a guard)

    S 'this' 'is' 'strand' 'notation' 0 a: (a.{~97+i.10) _.
┌────┬──┬──────┬────────┬─┬──┬──────────┐
│this│is│strand│notation│0│┌┐│abcdefghij│
│    │  │      │        │ ││││          │
│    │  │      │        │ │└┘│          │
└────┴──┴──────┴────────┴─┴──┴──────────┘

    S (body f.)`'' _. NB. Nothing is produced...
    S  NB. ... J805/806 Crashes!

    It runs fine in a custom J (Jx804) based on J804.  Can anybody confirm
that it runs in J04 (I do not have one handy)?

    assert (,GENOME) -: S (body f.)`'' _.

    The problem seems to be related to in-place operations; but, I have no
idea if it only can occur in wicked contexts or not.


1. Memory leak in JQt805/806

    This is one hurdle preventing us from moving an application from Jx804
to Jx805/Jx806,

    ]^:0: ;/i.1e6
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to