[mpich-discuss] MPICH-3.1.4. Bug report.

"Antonio J. Peña" apenya at mcs.anl.gov
Fri Apr 17 09:28:10 CDT 2015


Hi Dmitry,

Thank you very much for reporting this. I'll fix it and incorporate it 
into our master branch.

Best,
   Antonio


On 04/17/2015 04:28 AM, Polyakov Dmitry wrote:
> Hi there!
>
> I found a little mistake in
> mpich-3.1.4/src/mpid/ch3/channels/nemesis/src/mpid_nem_lmt.c file, lines
> from 430 to 438.
>
> 430     if (cookie_pkt->from_sender) {
> 431         MPID_Request_get_ptr(cookie_pkt->receiver_req_id, req);
> 432         req->ch.lmt_req_id = cookie_pkt->sender_req_id;
> 433     }
> 434     else {
> 435         MPID_Request_get_ptr(cookie_pkt->sender_req_id, req);
> 436         req->ch.lmt_req_id = cookie_pkt->receiver_req_id;
> 437     }
> 438     MPIU_Assert(req != NULL);
>
>
> On line 438 there's check performed that request is not NULL, but it is
> used already on line 432 and line 436.
>
> --
> Best regards, Dmitry Polyakov.
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss


-- 
Antonio J. Peña
Postdoctoral Appointee
Mathematics and Computer Science Division
Argonne National Laboratory
9700 South Cass Avenue, Bldg. 240, Of. 3148
Argonne, IL 60439-4847
apenya at mcs.anl.gov
www.mcs.anl.gov/~apenya

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list