Subject: bug#10914: closed (Re: bug#10914: Segfault when creating vector >= 2^16)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 07 Mar 2012 21:54:02 +0000

Your bug report

#10914: Segfault when creating vector >= 2^16

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
10914: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10914
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#10914: Segfault when creating vector >= 2^16
From: [email-masked] (Ludovic Courtès)
To: Tobias Brandt <[email-masked]>
Cc: [email-masked]
Date: Wed, 07 Mar 2012 22:52:35 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Tobias,

Tobias Brandt <[email-masked]> 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’.

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)))