[Rd] Re: Sys.time dumps core at start-up (PR#822)
Prof Brian D Ripley
Tue, 23 Jan 2001 19:05:42 +0000 (GMT)
On Tue, 23 Jan 2001 email@example.com wrote:
> Peter Kleiweg skriver...
> > R dumps core if the first command I use is Sys.time():
> > > Sys.time()
> > Segmentation fault (core dumped)
> (peter) ~ R -d gdb
> GDB 4.16 (i386-redhat-linux), Copyright 1996 Free Software Foundation, Inc...
> (gdb) run
> Starting program: /usr/local/R/lib/R/bin/R.bin
> R : Copyright 2001, The R Development Core Team
> Version 1.2.1 (2001-01-15)
> Type `q()' to quit R.
> > Sys.time()
> Program received signal SIGSEGV, Segmentation fault.
> 0x401029ce in strftime () at strftime.c:287
> strftime.c:287: No such file or directory.
Is this the RH5.0 you mentioned earlier (that gdb is pretty ancient)? Did
you set TZ as advised in ?DateTimeClasses to work around bugs in deficient
Linux distros? RH6.2's strftime will crash on POSIXlt (and its man page)
Brian D. Ripley, firstname.lastname@example.org
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
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: email@example.com