[BioC] Bugs in affy::read.affybatch

w.huber at dkfz-heidelberg.de w.huber at dkfz-heidelberg.de
Sun Dec 28 21:20:55 MET 2003


Hi Ben,

there seem to be two bugs in the C code for read.affybatch in the
package affy, i.e. in read_abatch.c. On my installation (R 1.9 devel
on linux), they lead to "SIGSEGV, Segmentation fault"

1. In the function "isgzTextCelFile", the file is opened via "gzopen",
but closed via "fclose" (I think it should be "gzclose").

2. The function sometimes exits without closing, through the line
     if (strncmp("[CEL]", buffer, 4) != 0) return 0;
The same applies to "isTextCelFile".

Best wishes
 Wolfgang

-------------------------------------
Wolfgang Huber
Division of Molecular Genome Analysis
German Cancer Research Center
Heidelberg, Germany
Phone: +49 6221 424709
Fax:   +49 6221 42524709
Http:  www.dkfz.de/abt0840/whuber



More information about the Bioconductor mailing list