<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div>   Looks like memory allocated down in MUMPS and then accessed incorrectly inside MUMPS. Could easily not be PETSc related<div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Nov 20, 2023, at 4:22 PM, Alexander Lindsay <alexlindsay239@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">This is from a MOOSE test. If I find the same error on something simpler I will let you know</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 20, 2023 at 12:56 PM Zhang, Hong <<a href="mailto:hzhang@mcs.anl.gov">hzhang@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg4718573271680737507">




<div dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt;">
Can you provide us a test code that reveals this error?</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt;">
Hong</div>
<div id="m_4718573271680737507appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_4718573271680737507divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> petsc-users <<a href="mailto:petsc-users-bounces@mcs.anl.gov" target="_blank">petsc-users-bounces@mcs.anl.gov</a>> on behalf of Alexander Lindsay <<a href="mailto:alexlindsay239@gmail.com" target="_blank">alexlindsay239@gmail.com</a>><br>
<b>Sent:</b> Monday, November 20, 2023 2:48 PM<br>
<b>To:</b> PETSc <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>><br>
<b>Subject:</b> [petsc-users] MUMPS valgrind error</font>
<div> </div>
</div>
<div>
<div dir="ltr">I recently ran into some parallel crashes and valgrind suggests the issue is with MUMPS. Has anyone else run into something similar recently?
<div><br>
</div>
<div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024== Invalid read of size 4</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>at 0xF961266: dmumps_dr_assemble_local (dsol_distrhs.F:301)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF961266: dmumps_scatter_dist_rhs_ (dsol_distrhs.F:169)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF952669: dmumps_solve_driver_ (dsol_driver.F:3677)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF8CA64A: dmumps_ (dmumps_driver.F:2035)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF85E12B: dmumps_f77_ (dmumps_f77.F:291)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF85C30E: dmumps_c (mumps_c.c:485)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xEBA8E56: MatSolve_MUMPS (mumps.c:1493)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xEE85D97: MatSolve (matrix.c:3631)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF31B060: PCApply_LU (lu.c:169)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF50FD3B: PCApply (precon.c:486)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF511204: PCApplyBAorAB (precon.c:756)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF51C5F0: KSP_PCApplyBAorAB (kspimpl.h:443)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF51C5F0: KSPGMRESCycle (gmres.c:146)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF51C5F0: KSPSolve_GMRES (gmres.c:227)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF5F339D: KSPSolve_Private (itfunc.c:910)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span> 
</span>Address 0x308b338c is 4 bytes before a block of size 1 alloc'd</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>at 0x4C37135: malloc (vg_replace_malloc.c:381)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF960E93: dmumps_scatter_dist_rhs_ (dsol_distrhs.F:139)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF952669: dmumps_solve_driver_ (dsol_driver.F:3677)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF8CA64A: dmumps_ (dmumps_driver.F:2035)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF85E12B: dmumps_f77_ (dmumps_f77.F:291)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF85C30E: dmumps_c (mumps_c.c:485)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xEBA8E56: MatSolve_MUMPS (mumps.c:1493)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xEE85D97: MatSolve (matrix.c:3631)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF31B060: PCApply_LU (lu.c:169)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF50FD3B: PCApply (precon.c:486)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF511204: PCApplyBAorAB (precon.c:756)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF51C5F0: KSP_PCApplyBAorAB (kspimpl.h:443)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF51C5F0: KSPGMRESCycle (gmres.c:146)</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-feature-settings: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures:no-common-ligatures">==4022024==<span>   
</span>by 0xF51C5F0: KSPSolve_GMRES (gmres.c:227)</span></div>
</div>
</div>
</div>
</div>

</div></blockquote></div>
</div></blockquote></div><br></div></body></html>