Somewhere between 8.07 and 9.02 we changed to detecting stack error by looking at C's stackpointer rather than trying to limit internal recursions, which had never worked well.

As currently set up JQt sets the stack limit shortly after JE is initialized.  If your old JQt doesn't do that, I don't know what will happen.

The are two internal stacks: the C stack and a stack of suspended named entities.  Their overflow is independently detected.

Henry Rich

On 12/2/2021 12:33 PM, Raul Miller wrote:
It "works" for me, jqt, OSX, j903 beta v, but I do not know what all
issues are relevant when handling stack errors.

    $:0
|stack error
|       $:0
    JVERSION
Engine: j903/j64avx2/darwin
Beta-v: commercial/2021-11-16T22:02:28
Library: 9.03.08
Qt IDE: 1.9.3/5.15.2(5.15.2)
Platform: Darwin 64
Installer: J903 install
InstallPath: /users/rauldmiller/applications/j903
Contact: www.jsoftware.com

FYI,

--
Raul

On Thu, Dec 2, 2021 at 12:29 PM Danil Osipchuk <[email protected]> wrote:
Can anyone check if runaway recursion stops gracefully with a stack error
message in jqt?
I have it working in jconsole but it segfaults a jqt session. I'm using jqt
from the 807 with 903 tree because I can't be bothered at the moment to
satisfy  newer qt-lib dependencies with my system. I wonder if the issue
I'm seeing is due to this unorthodox setup

~/L/j903$ ./jconsole.sh
    JVERSION
Engine: j903/j64avx2/linux
Beta-u: commercial/2021-10-01T12:13:10
Library: 9.03.06
Platform: Linux 64
Installer: J903 install
InstallPath: /home/danil/L/j903
Contact: www.jsoftware.com
    $:0
|stack error
|       $:0

regards,
   Danil
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
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

Reply via email to