[mpich-discuss] "the supplied buffer contains invalid memory"
Rajeev Thakur
thakur at mcs.anl.gov
Fri Mar 4 15:58:17 CST 2011
No, but it comes from this part in mpid/common/sock/poll/socki_util.i
else if (os_errno == EFAULT || os_errno == EINVAL)
{
mpi_errno = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_RECOVERABLE, fcname, line, MPIDU_SOCK_ERR_BAD_BUF,
"**sock|badbuf", "**sock|poll|badbuf %d %d %d %s",
pollinfo->sock_set->id, pollinfo->sock_id, os_errno, MPIU_Strerror(os_errno));
Some read or write socket operation earlier returned EFAULT (Bad address) or EINVAL (Invalid argument)
Rajeev
On Mar 4, 2011, at 2:30 AM, Edric Ellis wrote:
> Hi all,
>
> A user recently spotted an error like this:
>
> 3: node07: -2: Fatal error in MPI_Barrier: Other MPI error, error stack:
> MPI_Barrier(406)..........................: MPI_Barrier(comm=0xc4000000) failed
> MPIR_Barrier(76)..........................:
> MPIC_Sendrecv(161)........................:
> MPIC_Wait(321)............................:
> MPIDI_CH3_Progress_wait(199)..............: an error occurred while handling an event returned by MPIDU_Sock_Wait()
> MPIDI_CH3I_Progress_handle_sock_event(422):
> MPIDU_Socki_handle_read(649)..............: the supplied buffer contains invalid memory (set=1,sock=16777221,errno=14:Bad address)
>
> Running on 32 processes, 64-bit Linux, MPICH2-1.0.3. I realise this is a pretty old build of MPICH2 - does anyone have any clues as to what might cause this?
>
> Cheers,
>
> Edric.
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list