Skip to content

seg fault via text() (PR#206)

2 messages · P.Herkenrath@rrz.uni-koeln.de, Peter Dalgaard

#
Full_Name: Peter Herkenrath
Version: 0.63.1
OS: Linux
Submission from: (NULL) (134.95.88.203)


in *old* R version 0.63.1

foo <- function(...., label=NULL, .....) {
      ....
      plot(....)
      text(x,y,label)
      ....
}

results in a segmentation fault (if label is not initialized by the caller)
bug? 
title() for example is resistent.

best regards
Peter

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
P.Herkenrath@rrz.uni-koeln.de writes:
Still there in 0.64.1 and -patches. The development version has
Error in text(xy.coords(x, y, recycle = TRUE), as.char.or.expr(labels),  : zero length "text" specified

I don't know if it is entended to move that to the patch release
sources.