Re: [OMPI devel] [patch] SEGV on processing unexpected messages

2012-10-18 Thread Kawashima, Takahiro
George, Brian, I also think my patch is icky. George's patch may be nicer. Thanks, Takahiro Kawashima, MPI development team, Fujitsu > Takahiro, > > Nice catch. A nicer fix will be to check the type of the header, and copy the > header accordingly. Attached is a patch following this idea. >

Re: [OMPI devel] [patch] SEGV on processing unexpected messages

2012-10-18 Thread George Bosilca
Takahiro, Nice catch. A nicer fix will be to check the type of the header, and copy the header accordingly. Attached is a patch following this idea. Thanks, george. hdr_copy.patch Description: Binary data On Oct 18, 2012, at 03:06 , "Kawashima, Takahiro"

[OMPI devel] [patch] SEGV on processing unexpected messages

2012-10-17 Thread Kawashima, Takahiro
Hi Open MPI developers, I found another issue in Open MPI. In MCA_PML_OB1_RECV_FRAG_INIT macro in ompi/mca/pml/ob1/pml_ob1_recvfrag.h file, we copy a PML header from an arrived message to another buffer, as follows: frag->hdr = *(mca_pml_ob1_hdr_t*)hdr; On this copy, we cast hdr to