[Rd] different behaviour of NAs under valgrind (PR#14171)

From: <schlather_at_math.uni-goettingen.de>
Date: Tue, 29 Dec 2009 02:05:10 +0100 (CET)


Full_Name: Martin Schlather
Version: 2.10.0
OS: linux
Submission from: (NULL) (91.3.220.231)  

Bug summary:

    some functions behave differently for NAs when     valgrind is used in R, e.g. sum and prod

Bug demonstration:
--- without valgrind ----
> sum(c(NA,1)[1])
[1] NA

R call with valgrind:
R -d "valgrind --tool=memcheck --memcheck:leak-check=yes --num-callers=20 "

using
valgrind-3.3.0

platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status =
 major = 2
 minor = 10.0
 year = 2009
 month = 10
 day = 26
 svn rev = 50208
 language = R
 version.string = R version 2.10.0 (2009-10-26)

Locale:
LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C

Search Path:
 .GlobalEnv, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, package:methods, Autoloads, package:base



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 29 Dec 2009 - 01:08:31 GMT

This archive was generated by hypermail 2.2.0 : Wed 30 Dec 2009 - 16:21:16 GMT