From maechler at stat.math.ethz.ch  Tue Sep 25 14:26:24 2012
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Tue, 25 Sep 2012 14:26:24 +0200
Subject: [Rd] Segmentation fault when options(max.print
	=	.Machine$integer.max)
In-Reply-To: <5060EFE8.60609@fhcrc.org>
References: <5060EFE8.60609@fhcrc.org>
Message-ID: <20577.41712.251060.307898@stat.math.ethz.ch>


> Seemed like a good idea at the time,

I'm curious.  Why is it (setting max.print much too large)
a good idea?

> but
>  >   options(max.print = .Machine$integer.max)
>  >   1:10
>           [1]
> Program received signal SIGSEGV, Segmentation fault.

> because of an integer overflow at src/main/printvector.c:176

>  > sessionInfo()
> R Under development (unstable) (2012-09-24 r60800)
> Platform: x86_64-unknown-linux-gnu (64-bit)
> ...

> also R-patched, etc.

Thank you, Martin.   I'm about to commit fixes for this.
"another" Martin.


> Martin
> -- 
> Computational Biology / Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N.
> PO Box 19024 Seattle, WA 98109



[Rd] Segmentation fault when options(max.print = .Machine$integer.max)
Martin Maechler