I have a problem, that the plot of mathematical formula sometimes
crashes R on Linux (SuSE 6.2 and 7.0 on a Dual PIII/500 machine with 1GB
RAM). The problem occurs for example in demo("graphics"), i.e. in the
last part were the mathematical symbols are plotted.
There are several circumstances to reproduce this segmentation fault,
but the following is one of the most simple examples. The first two
text() functions do well, but a combination of the two will crash the
system. The problem persists from R 0.99, 1.1.1 and (recently) with 1.2,
but it works fine on Windows (1.1.1).
#----------------------------------------
#The example:
#----------------------------------------
plot(c(0,1),c(0,1),type="n")
text(0.5,0.7,expression(y == e^-frac(x,y))) # o.k.
readline("press return")
text(0.5,0.6,expression(y == frac(x,sigma))) # o.k.
readline("press return")
text(0.5,0.5,expression(y == e^-frac(x,sigma))) #segmentation fault
#----------------------------------------
Any idea?
Thank you very much!
Thomas Petzoldt
--
Dresden University of Technology
Institute of Hydrobiology
http://www.tu-dresden.de/fghhihb/
mailto:petzoldt at rcs.urz.tu-dresden.de
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thomas Petzoldt <petzoldt at Rcs1.urz.tu-dresden.de> writes:> I have a problem, that the plot of mathematical formula sometimes > crashes R on Linux (SuSE 6.2 and 7.0 on a Dual PIII/500 machine with 1GB > RAM). The problem occurs for example in demo("graphics"), i.e. in the > last part were the mathematical symbols are plotted. > > There are several circumstances to reproduce this segmentation fault, > but the following is one of the most simple examples. The first two > text() functions do well, but a combination of the two will crash the > system. The problem persists from R 0.99, 1.1.1 and (recently) with 1.2, > but it works fine on Windows (1.1.1). > > #---------------------------------------- > #The example: > #---------------------------------------- > > plot(c(0,1),c(0,1),type="n") > text(0.5,0.7,expression(y == e^-frac(x,y))) # o.k. > readline("press return") > text(0.5,0.6,expression(y == frac(x,sigma))) # o.k. > readline("press return") > text(0.5,0.5,expression(y == e^-frac(x,sigma))) #segmentation fault > #---------------------------------------- > > Any idea?I can't reproduce this with 1.2.0, nor 1.1.1 on RedHat6.2. Could you please try running it with R -d gdb until the point of crash and show us a backtrace? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello,
using SuSE 7.0 PIII500 (192MB RAM) and
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 1.1
year 2000
month August
day 15
language R
also on the same machine with
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 2.0
year 2000
month 12
day 15
language R
your eample runs without any problems.
Greetings
jan
On Mon, 18 Dec 2000, Thomas Petzoldt wrote:
> I have a problem, that the plot of mathematical formula sometimes
> crashes R on Linux (SuSE 6.2 and 7.0 on a Dual PIII/500 machine with 1GB
> RAM). The problem occurs for example in demo("graphics"), i.e. in
the
> last part were the mathematical symbols are plotted.
>
> There are several circumstances to reproduce this segmentation fault,
> but the following is one of the most simple examples. The first two
> text() functions do well, but a combination of the two will crash the
> system. The problem persists from R 0.99, 1.1.1 and (recently) with 1.2,
> but it works fine on Windows (1.1.1).
>
> #----------------------------------------
> #The example:
> #----------------------------------------
>
> plot(c(0,1),c(0,1),type="n")
> text(0.5,0.7,expression(y == e^-frac(x,y))) # o.k.
> readline("press return")
> text(0.5,0.6,expression(y == frac(x,sigma))) # o.k.
> readline("press return")
> text(0.5,0.5,expression(y == e^-frac(x,sigma))) #segmentation fault
> #----------------------------------------
>
> Any idea?
>
> Thank you very much!
>
> Thomas Petzoldt
>
> --
> Dresden University of Technology
> Institute of Hydrobiology
> http://www.tu-dresden.de/fghhihb/
> mailto:petzoldt at rcs.urz.tu-dresden.de
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help 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-help-request at
stat.math.ethz.ch
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
--
+-----------------------------------
Jan Goebel (mailto:jgoebel at diw.de)
DIW Berlin
Longitudinal Data and Microanalysis
K?nigin-Luise-Str. 5
D-14195 Berlin -- Germany --
phone: 49 30 89789-377
+-----------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._