GNU bug report logs -
#46447
segfault with bugnum
Previous Next
Full log
View this message in rfc822 format
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
This bug report was last modified 4 years and 122 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.