SCM

[#1388] convert.snp.ped does not work

Date:
2011-05-13 08:09
Priority:
4
State:
Closed
Submitted by:
Yurii Aulchenko (yurii)
Assigned to:
Nobody (None)
Resolution:
Fixed
Operating System:
None
Severity:
major
Hardware:
None
Version:
v1.6-6
Component:
GenABEL
URL:
Summary:
convert.snp.ped does not work

Detailed description
Reported by Marcin Kierczak:

It seems that calling convert.snp.ped on OsX, GenABEL 1.6.6 rises the following errors:

1. "Error: segfault from C stack overflow" or even "R quit unexpectedly". (32 bit version)

R 64 either

1. *** caught segfault ***
Traceback:
1: .C("convert_snp_merlin", as.character(pedfile), as.character(mapfile), as.character(outfile), as.integer(intstrand), as.integer(bcast), as.character(alcodes), as.integer(length(alcodes)), as.integer(intfmt), as.integer(traits), as.integer(mapHasHeaderLine), PACKAGE = "GenABEL")
2: convert.snp.ped("Sw_ej_opheno.ped", "Sw_ej_opheno.map", "Sw.raw")

or

2. invalid permissions and than segfault

When I modified permissions to 777, still segfault.

When downgraded to 1.6.5 - everything went smooth!

Marcin

Comments:

Message  ↓
Date: 2011-05-13 08:10
Sender: Yurii Aulchenko

I have tested this using data from GenABEL/inst/exdata with

convert.snp.ped(ped="pedin.18",mapfile="map.18",out="genos123.raw")

and also get

"Error: segfault from C stack overflow"

Interestingly, 1.6-5 works just fine.

Yurii

Attached Files:

Changes

Field Old Value Date By
status_idOpen2011-05-13 11:10yurii
close_date2011-05-13 11:102011-05-13 11:10yurii
ResolutionAccepted As Bug2011-05-13 11:10yurii
Thanks to:
Vienna University of Economics and Business Powered By FusionForge