From webb.sprague at gmail.com  Sat Jan 22 22:36:04 2005
From: webb.sprague at gmail.com (webb.sprague@gmail.com)
Date: Mon Jan 24 08:13:23 2005
Subject: [Rd] sprintf("%s\n", a) segfaults R with big a (PR#7554)
Message-ID: <20050122213604.60F6310FA9@slim.kubism.ku.dk>

Full_Name: Webb S.
Version: 2.0.1
OS: Linux Debian
Submission from: (NULL) (199.174.209.10)


Transcript:

> b = 'a small string'
> sprintf('foo: %s\n', b)
[1] "foo: a small string\n"
> a = matrix (ncol=100, nrow=1000, data=c(1,2,3,4,5))
> a.serial = serialize(a, NULL, ascii=TRUE)
> sprintf('foo: %s\n', a.serial)

Segmentation fault
peeir:/usr/local/src/R-2.0.1#

I don't have a core dump to send--sorry.  If I have time, I will try to debug
it, but I probably won't be able to....

W


[Rd] sprintf("%s\n", a) segfaults R with big a (PR#7554)
webb.sprague@gmail.com