GNU bug report logs -
#46447
segfault with bugnum
Previous Next
To reply to this bug, email your comments to 46447 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#46447
; Package
guile
.
(Thu, 11 Feb 2021 20:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Thu, 11 Feb 2021 20:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This program sometimes causes Guile 3.0.5 to segfault:
(define a (expt 2 (expt 3 (expt 4 2))))
(display (remainder a 1000000000))
(display "\n")
And sometimes this program doesn’t terminate. Here’s an example
session with the program saved to foo.scm:
--8<---------------cut here---------------start------------->8---
$ guile -s foo.scm
;;; note: source file /home/rekado/dev/gx/branches/master/foo.scm
;;; newer than compiled /home/rekado/.cache/guile/ccache/3.0-LE-8-4.4/home/rekado/dev/gx/branches/master/foo.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /home/rekado/dev/gx/branches/master/foo.scm
;;; compiled /home/rekado/.cache/guile/ccache/3.0-LE-8-4.4/home/rekado/dev/gx/branches/master/foo.scm.go
176561152
$ [env] guile -s foo.scm
176561152
$ [env] guile -s foo.scm
Segmentation fault
$ [env] guile -s foo.scm
C-c C-c # after more than 6 seconds
$ [env] C-c C-c
$ [env] guile -s foo.scm
Segmentation fault
$ [env] guile -s foo.scm
176561152
$ [env] guile -s foo.scm
C-c C-c
$ [env] guile -s foo.scm
176561152
--8<---------------cut here---------------end--------------->8---
--
Ricardo
Information forwarded
to
bug-guile <at> gnu.org
:
bug#46447
; Package
guile
.
(Thu, 11 Feb 2021 21:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 46447 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Feb 11, 2021 at 09:54:38PM +0100, Ricardo Wurmus wrote:
> This program sometimes causes Guile 3.0.5 to segfault:
>
> (define a (expt 2 (expt 3 (expt 4 2))))
> (display (remainder a 1000000000))
> (display "\n")
>
> And sometimes this program doesn’t terminate. Here’s an example
> session with the program saved to foo.scm:
The first expr alone seems to segfault for me (Guile 3.0.4.38-64c894-dirty)
repeatably (well, that means 5 times in a row ;)
Cheers
- t
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 285 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.