--- Begin Message ---
Subject: |
Segfault when creating vector >= 2^16 |
Date: |
Thu, 1 Mar 2012 00:57:41 +0100 |
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)))
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#10914: Segfault when creating vector >= 2^16 |
Date: |
Wed, 07 Mar 2012 22:52:35 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) |
Hi Tobias,
Tobias Brandt <address@hidden> skribis:
> If nobody can reproduce this error in HEAD, I suggest closing
> the bug. There is probably something wrong with my setup.
To my surprise, the bug did exist in HEAD (I had tested only 2.0.)
It is fixed in c336514976ed3f2b2b20c56149ede7f5ec549c52.
But really, HEAD is for the brave. It currently aborts in the middle of
./check-guile for me. ;-)
Thanks,
Ludo’.
--- End Message ---