On Wed, 18 Feb 2026, Olivier Dion <[email protected]> wrote: > On Mon, 30 Nov 2020, Nicolò Balzarotti <[email protected]> wrote: >> Hi! Guile 3.0.4 is segfaulting when using >> >> https://github.com/aconchillo/guile-json (release 4.4.0, >> 89e2ce975064baf4f434de4d97e54aac704769a0) >> >> The bug has been fixed in guile-json, but according to the manual "When >> Guile crashes, it is a bug", so I'm reporting this here, too. >> >> The code that made guile crash is the following: >> >> #+begin_src scheme >> (use-modules (json)) >> (json-string->scm "[123e-10000000]") >> #+end_src > > I don't guile-json was at fault there. This huge number exceed the > limit for floating point number and so simply doing > > scheme@(guiler-user)> 123e-10000000 > > should crash Guile.
Actually: (expt 123 -10000000) is enought to crashes in Guile 3.0.4 and 3.0.5 but not starting from 3.0.6. I could not determined which commit actually fix this, but I assume that this bug is fixed for now and will close it. -- Olivier Dion
