Subject: Segfault when creating vector >= 2^16
From: Tobias Brandt <[email-masked]>
To: [email-masked]
Date: Thu, 1 Mar 2012 00:57:41 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Guile segfaults when a vector is created with size >= 2^16 = 65535.
Observe:

scheme@(guile-user)> (define v1 (make-vector 65534))
scheme@(guile-user)> (define v2 (make-vector 65535))
Segmentation fault

It also fails for greater sizes.

Curiously enough, this works:
scheme@(guile-user)> (define v2 (list->vector (iota 65535)))