From Kurt.Hornik@ci.tuwien.ac.at  Tue Nov 16 13:51:25 1999
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Tue, 16 Nov 1999 14:51:25 +0100 (CET)
Subject: Inf in expression (PR#326)
In-Reply-To: <x27lji3ff8.fsf@blueberry.kubism.ku.dk>
References: <199911160751.IAA11396@pubhealth.ku.dk>
 <x21z9qlroq.fsf@blueberry.kubism.ku.dk>
 <x27lji3ff8.fsf@blueberry.kubism.ku.dk>
Message-ID: <14385.24925.150329.437552@aragorn.ci.tuwien.ac.at>

>>>>> Peter Dalgaard BSA writes:

> Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:
>> jlindsey@alpha.luc.ac.be writes:
>> 
>> > I was getting worried. 0.65 is the first version that I had not been
>> > able to crash. Well the following gives a seg fault on Intel RH5.2
>> > with R0.65.1:
>> > plot(rnorm(20),xlab=expression(mu[Inf]))
>> > You can guess what I was trying to do, as I used infty first and that
>> > did not work. (I now know the correct formula.)
>> >   Jim
>> 
>> Doesn't crash in my version of 0.90pre...

> ..nor in 0.65.1 on RH6.1. Can you reproduce that on a freshly opened
> session? If so, try running it under R -d gdb (just type "r" to run
> the program) and tell us where it crashed.

You rang?

> plot(rnorm(20),xlab=expression(mu[Inf]))

Program received signal SIGSEGV, Segmentation fault.
0x4019a3ce in   ()
(gdb) bt
#0  0x4019a3ce in   ()
#1  0x4019798e in   ()
#2  0x4019100e in   ()
#3  0x4018d81c in vfprintf ()
#4  0x401980b3 in vsprintf ()
#5  0x40193351 in sprintf ()
#6  0x80cc359 in asChar (x=0x20202020)
    at /home/Hornik/src/apps/R/r-devel/R/src/main/util.c:200
#7  0x20202020 in ?? ()

Helpful?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Inf in expression (PR#326)
Kurt Hornik