|
From: Barton W. <wil...@us...> - 2025-11-06 17:22:56
|
- **status**: open --> closed
- **Comment**:
Fixed by Commit [0c11d9] master. Closing this ticket.
---
**[bugs:#4619] limit(inf = inf) causes stack overflow**
**Status:** closed
**Group:** None
**Labels:** limit
**Created:** Thu Oct 09, 2025 06:22 PM UTC by Robert Dodier
**Last Updated:** Thu Nov 06, 2025 03:52 PM UTC
**Owner:** nobody
Looking at bug report #4603, looks like it is triggered by a bug in `limit`. Here is the simplest case I found:
```
(%i1) limit(inf=inf);
INFO: Binding stack guard page unprotected
Binding stack guard page temporarily disabled: proceed with caution
debugger invoked on a SB-KERNEL::BINDING-STACK-EXHAUSTED in thread
#<THREAD tid=4380 "main thread" RUNNING {1001760003}>:
Binding stack exhausted.
```
This other example also causes a stack overflow: `limit(minf = minf)`.
Bug #4603 is triggered by `limit(foo - inf = -inf)`, where `foo` is a gensym (and the bug is also triggered when `foo` is just `foo`).
Looks like the stack overflow originates in INFSIMP2. I didn't investigate beyond that.
When this bug gets fixed, we should go back to #4603 and verify that bug is also fixed.
---
Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |