fkt-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fkt-devel] Missing initialization ?


From: Samuel Thibault
Subject: Re: [Fkt-devel] Missing initialization ?
Date: Tue, 28 Aug 2012 10:28:13 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

François Trahay, le Tue 28 Aug 2012 10:20:33 +0200, a écrit :
> A simple fix for this problem is to add :
>         if (!(fxt = calloc(1,sizeof(*fxt))))
>                 goto out;
>  
> +       memset(fxt, 0, sizeof(*fxt));

calloc is supposed to have zeroed-out the structure already.

> However, this problem seems to happen only when EZTrace does nasty things 
> (redefine malloc + uses OpenMPI that also tend to do crappy hacks), so I'm 
> not 
> sure whether it's FxT's fault or EZTrace's.

so I'd say it's EZTrace's fault.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]