any([magma(True),magma(True)]) produces stack overflow

24 views
Skip to first unread message

Simon Brandhorst

unread,
Feb 18, 2022, 11:09:27 AM2/18/22
to sage-devel
```
sage: any([magma(True),magma(True)])                                                                                                                                                              
Fatal Python error: _Py_CheckRecursiveCall: Cannot recover from stack overflow.
Python runtime state: initialized

Thread 0x00007f7b15e34700 (most recent call first):
```
Can anyone reproduce?

Justin C. Walker

unread,
Feb 18, 2022, 2:58:29 PM2/18/22
to SAGE Development


> On Feb 18, 2022, at 08:09 , Simon Brandhorst <sbran...@web.de> wrote:
>
> ```
This works for me with Sage 9.5 on macOS 10.13.6 (built from scratch). By “works”, I mean I get “True” as a result.
The same holds for sage 8.[3-9].

However, with 9.[0-4], I get the same error you report: a stack explosion, ending with SIGABRT.

HTH

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's income
-----------
--
They said it couldn't be done, but sometimes,
it doesn't work out that way.
- Casey Stengel
--



David Roe

unread,
Feb 18, 2022, 3:23:25 PM2/18/22
to sage-devel
This should have been fixed in https://trac.sagemath.org/ticket/32602.
David

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/8C8FA0F0-6144-4CB6-995E-4CF4A40ED8A4%40mac.com.

Justin C. Walker

unread,
Feb 18, 2022, 3:31:06 PM2/18/22
to SAGE Development


> On Feb 18, 2022, at 12:23 , David Roe <roed...@gmail.com> wrote:
>
> This should have been fixed in https://trac.sagemath.org/ticket/32602.

It was reported fixed for 9.5, and Volker’s release message for 9.5.beta6 indicates it was included then. And it does not fail for sage 9.5 on my system.

Simon may let us know what config he’s using.

Justin

> On Fri, Feb 18, 2022 at 2:58 PM 'Justin C. Walker' via sage-devel <sage-...@googlegroups.com> wrote:
>
>
> > On Feb 18, 2022, at 08:09 , Simon Brandhorst <sbran...@web.de> wrote:
> >
> > ```
> > sage: any([magma(True),magma(True)])
> > Fatal Python error: _Py_CheckRecursiveCall: Cannot recover from stack overflow.
> > Python runtime state: initialized
> >
> > Thread 0x00007f7b15e34700 (most recent call first):
> > ```
> > Can anyone reproduce?
>
> This works for me with Sage 9.5 on macOS 10.13.6 (built from scratch). By “works”, I mean I get “True” as a result.
> The same holds for sage 8.[3-9].
>
> However, with 9.[0-4], I get the same error you report: a stack explosion, ending with SIGABRT.
>
> HTH
>
> Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
--
In mathematics you don't understand
things. You just get used to them.
--John von Neumann
--

Simon Brandhorst

unread,
Feb 18, 2022, 5:38:54 PM2/18/22
to sage-devel
Indeed it was on 9.4. Sorry I forgot to mention that. Thank you.
Reply all
Reply to author
Forward
0 new messages