From savicky at cs.cas.cz  Sun Aug 21 23:21:23 2005
From: savicky at cs.cas.cz (savicky@cs.cas.cz)
Date: Sun, 21 Aug 2005 23:21:23 +0200 (CEST)
Subject: [Rd] segmentation fault in R-patched-2005-08-21 (PR#8081)
Message-ID: <20050821212123.8596E18DFA@slim.kubism.ku.dk>

This report describes two similar, but different scripts causing
segmentation fault in R-2.1.1 and R-patched_2005-08-21.

The first is a script that causes segmentation fault in R-2.1.1.
Although the script runs correctly under R-patched_2005-08-12 and
R-patched_2005-08-21, there is still a reason to investigate
the bug in more detail.

The second is a slightly different script that causes segmentation fault
in R-patched_2005-08-12 and R-patched_2005-08-21 (I did not try the
intermediate versions).

Both bugs were observed under two different installations of RedHat:
1. Fedora Core release 2 (Tettnang)
   with gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7),
2. Red Hat Linux release 9 (Shrike)
   with gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

In both cases, the compilation used the default settings.
If the compilation used ./configure --with-readline=no --with-x=no
then the bugs did not appear.

I did not succeed to reproduce any of the bugs under SuSE 8.2 with
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux).

In the installations, where the bugs occur, they are reproducible
deterministically.

More information including the discussed scripts and the data (36M),
which they require are in
  http://www.cs.cas.cz/~savicky/archive/r_segfault-0.tar.gz

Petr Savicky



[Rd] segmentation fault in R-patched-2005-08-21 (PR#8081)
savicky@cs.cas.cz