[plt-scheme] Re: A segmentation fault on OS X Intel

From: Noel Welsh (noelwelsh at gmail.com)
Date: Sun Jan 13 09:05:11 EST 2008

More data.

C code works (thanks Jens).  Following fails, but if you change the
require line as noted it works:

(module dgemv-test mzscheme

  ;; Works with this require line
  ;;(require
  ;; (planet "all.ss" ("wmfarr" "plt-linalg.plt" 1)))

  ;; Causes segmentation fault with this line
  (require
   (planet "srfi-4-comprehensions.ss" ("wmfarr" "srfi-4-comprehensions.plt" 1))
   (planet "all.ss" ("wmfarr" "plt-linalg.plt" 1)))


  ;; Works ok
  (display
   (f64vector-matrix-mul
    (f64vector 1. 0. 0. 0. 0. 0. 0. 0. 0. 0.)
    (matrix 10 10   0 0 0 0 0 0 0 0 0 1
                    1 0 0 0 0 0 0 0 0 0
                    0 1 0 0 0 0 0 0 0 0
                    0 0 1 0 0 0 0 0 0 0
                    0 0 0 1 0 0 0 0 0 0
                    0 0 0 0 1 0 0 0 0 0
                    0 0 0 0 0 1 0 0 0 0
                    0 0 0 0 0 0 1 0 0 0
                    0 0 0 0 0 0 0 1 0 0
                    0 0 0 0 0 0 0 0 1 0)))

  )

More diagnosis to follow later.  This is weird weird weird!

N.


Posted on the users mailing list.