No, I get stack errors, not crashes.

On Mon, 2020-01-20 at 12:36 +1100, Ben Gorte wrote:
> Thanks Julian. And if you type
>    F =: F
> followed by
>    F 0
> do you get a stack error, or does it crash?
> 
> 
> 
> On Mon, 20 Jan 2020 at 12:01, Julian Fondren <
> [email protected]>
> wrote:
> 
> > I get this from JVERSION from JQt, under Linux:
> > 
> >    JVERSION
> > Engine: j901/j64avx2/linux
> > Release-c: commercial/2020-01-11T10:41:20
> > Library: 9.01.20
> > Qt IDE: 1.8.5/5.5.1
> > Platform: Linux 64
> > Installer: J901 install
> > 
> > On Mon, 2020-01-20 at 10:50 +1100, Ben Gorte wrote:
> > > ... at my Windows computer at work the problem (of jqt crashing
> > > instead of
> > > issueing stack error) does not occur:
> > > 
> > > JVERSION
> > > 
> > > Engine: j901/j64avx2/windows
> > > 
> > > Release-c: commercial/2020-01-11T13:29:14
> > > 
> > > Library: 9.01.20
> > > 
> > > Qt IDE: 1.8.3/5.12.3
> > > 
> > > Platform: Win 64
> > > 
> > > Installer: J901 install
> > > 
> > > InstallPath: c:/users/z3524452/j901
> > > 
> > > Contact: www.jsoftware.com
> > > 
> > > F =: F
> > > 
> > > F 8
> > > 
> > > > stack error: F
> > > > F 8
> > > 
> > > It looks like the QT libs in linux are much older:
> > > 
> > > JVERSION
> > > Engine: j901/j64avx2/linux
> > > Release-c: commercial/2020-01-11T10:41:20
> > > Library: 9.01.20
> > > Qt IDE: 1.8.1/5.5.1
> > > Platform: Linux 64
> > > Installer: J901 install
> > > InstallPath: /home/ben/j901
> > > Contact: www.jsoftware.com
> > > 
> > > 
> > > Could that be causing the problem?
> > > 
> > > 
> > > Thanks,
> > > 
> > > Ben
> > > 
> > > 
> > > 
> > > On Sun, 19 Jan 2020 at 10:15, Ben Gorte <[email protected]> wrote:
> > > 
> > > > Dear J,
> > > > 
> > > > A recursive verb that does not stop calling itself will
> > > > eventually
> > > > cause a
> > > > stack error.
> > > > 
> > > >    F =: 3 : 'if. y=0 do. 999 else. F y-1 end.'
> > > >    F 10
> > > > 999
> > > >    F _10
> > > > > stack error: F
> > > > >       F y-1
> > > > 
> > > > The above is from jconsole. The surprise is: when I try this in
> > > > jqt, it
> > > > crashes - unfortunately also with less trivial examples.
> > > > 
> > > > I'm using the latest J and upgraded all packages, including Qt
> > > > ide.
> > > > 
> > > >    JVERSION
> > > > Engine: j901/j64avx2/linux
> > > > Release-c: commercial/2020-01-11T10:41:20
> > > > Library: 9.01.20
> > > > Platform: Linux 64
> > > > Installer: J901 install
> > > > InstallPath: /home/ben/j901
> > > > Contact: www.jsoftware.com
> > > > 
> > > > Greetings,
> > > > Ben
> > > > 
> > > > 
> > > > 
> > > > 
> > > ---------------------------------------------------------------
> > > ----
> > > ---
> > > For information about J forums see
> > > http://www.jsoftware.com/forums.htm
> > 
> > -----------------------------------------------------------------
> > -----
> > For information about J forums see 
> > http://www.jsoftware.com/forums.htm
> > 
> -------------------------------------------------------------------
> ---
> 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