Comments (5)
It doesn't look like a bug: I compiled Asymptote 2.87-26 under x86-64 (Fedora 38) without garbage collection and this example ran up to depth 10000 under valgrind without any errors.
from asymptote.
It might be a garbage collection issue (which version of Boehm GC are you using?), so try configuring with --disable-gc to help isolate the problem.
from asymptote.
I tried compiling it without garbage collection and got an error at depth 1832. Here's my asy --version
:
Asymptote version 2.87-29 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]
ENABLED OPTIONS:
V3D 3D vector graphics output
WebGL 3D HTML rendering
OpenGL 3D OpenGL rendering
FFTW3 Fast Fourier transforms
XDR External Data Representation (portable binary file format for V3D)
CURL URL support
Readline Interactive history and editing
Sigsegv Distinguish stack overflows from segmentation faults
threads Render OpenGL in separate thread
DISABLED OPTIONS:
SSBO GLSL shader storage buffer objects
GSL GNU Scientific Library (special functions)
Eigen Eigenvalue library
LSP Language Server Protocol
GC Boehm garbage collector
from asymptote.
Might as well be stack overflow. Try setting stack size to very small e.g. on UNIX with ulimit -S -s 512
(i.e. 512 KiB) I get it run to β 1988. The default one is 8192 which is 16 Γ that, so it would probably stack overflow at 31808 which is quite large.
For me the error message is
runtime: Stack overflow
Aborted (core dumped)
from asymptote.
Yes, good point. If I set my stack size to 512K, I also get a stack overflow. So I will close this issue.
2283
real value;
^
/u/bowman/camp/test3.asy: 4.3: runtime: Stack overflow
Aborted (core dumped)
bash-5.2$ ulimit -s
512
from asymptote.
Related Issues (20)
- Canβt compile LSP β <boost/filesystem/directory.hpp> missing from LspCpp/src/lsp/utils.cpp HOT 1
- Algolia DocSearch integration?
- Defining struct in a loop gives confusing error message HOT 1
- Feature request: Convert tab to 4 [/8] spaces in error message reporting
- Feature request: `var oldAsin=asin;` copies the function HOT 2
- Bug: unitsize() does not work to set unitsize of other pictures HOT 2
- Feature suggestion: automatic generation of constructor HOT 1
- Documentation of cputime is in Structure section? HOT 1
- Feature suggestion: shorthand to create a picture HOT 9
- Feature suggestion: Remove `add(picture dest, picture src, pair position)` variant as it's dangerous HOT 4
- Stack traceback on error?
- Suggestion: integrate with Typst? HOT 3
- Suggestion: `envelope` type don't need `above` passed in HOT 1
- Why does the bounding box of a frame containing just a label not just the label's bounding box? HOT 1
- Suggestion: transformations for shading tools? HOT 1
- Feature suggestion: baseline specification for inclusion in LaTeX HOT 1
- Grammar railroad diagram HOT 2
- scale command breaks graph output HOT 2
- Most recent commit breaks my build HOT 5
- configure fails to enable readline if ncurses is built with separate tinfo lib and "--as-needed" linker flag is used HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asymptote.