Re: [Rd] Memcheck: Invalid read of size 4

2014-03-20 Thread peter dalgaard
On 20 Mar 2014, at 16:56 , Christophe Genolini wrote: > Thanks a lot. Your correction works just fine. > > Any idea of what goes wrong for the line 151, which is > > int *clusterAffectation2=malloc(*nbInd * sizeof(int)); > // lines 151 > Nothing. It's just that memche

Re: [Rd] Memcheck: Invalid read of size 4

2014-03-20 Thread Christophe Genolini
Thanks a lot. Your correction works just fine. Any idea of what goes wrong for the line 151, which is int *clusterAffectation2=malloc(*nbInd * sizeof(int)); // lines 151 On 19 Mar 2014, at 22:58 , Christophe Genolini wrote: Hi the list, One of my package has a

Re: [Rd] Memcheck: Invalid read of size 4

2014-03-19 Thread peter dalgaard
On 19 Mar 2014, at 22:58 , Christophe Genolini wrote: > Hi the list, > > One of my package has a memory issue that I do not manage to understand. The > Memtest notes is here: > > > Here is the message that I get from Memtest >