unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#10914: Segfault when creating vector >= 2^16
@ 2012-02-29 23:57 Tobias Brandt
  2012-03-01 21:25 ` Mark H Weaver
  2012-03-01 21:57 ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Tobias Brandt @ 2012-02-29 23:57 UTC (permalink / raw)
  To: 10914

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-07 21:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 23:57 bug#10914: Segfault when creating vector >= 2^16 Tobias Brandt
2012-03-01 21:25 ` Mark H Weaver
2012-03-01 21:36   ` Tobias Brandt
2012-03-01 21:57 ` Ludovic Courtès
2012-03-01 23:45   ` Tobias Brandt
2012-03-02 20:15     ` Ludovic Courtès
2012-03-03  3:00       ` Tobias Brandt
2012-03-07 21:52         ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).