<div dir="ltr">Hello!<div><br></div><div>I am trying to store data into an ExodusII file using the ExodusIIViewer, but running into a segfault inside PETSc. Attached is a minimal example showing the problem. It can very much be that I am missing something obvious. However, if I change the code to VTKViewer I get the desired output file.</div><div><br></div><div>Machine: MacBook Pro 2019</div><div>OS version/type: Darwin notak.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64</div><div>PETSc: Petsc Release Version 3.16.1, Nov 01, 2021 </div><div>MPI: MPICH 3.4.2</div><div>Compiler: clang-12</div><div><br></div><div>Call stack (not sure how relevant that is since it is from opt version):</div><div><br><font face="monospace">* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xc)<br>    frame #0: 0x0000000102303ba9 libpetsc.3.16.dylib`DMView_PlexExodusII(dm=<unavailable>, viewer=<unavailable>) at plexexodusii.c:457:45 [opt]<br>   454                 else if (degree == 2) nodes[cs] = nodesHexP2;<br>   455           }<br>   456          /* Compute the number of cells not in the connectivity table */<br>-> 457           cellsNotInConnectivity -= nodes[cs][3]*csSize;<br>   458       <br>   459            ierr = ISRestoreIndices(stratumIS, &cells);CHKERRQ(ierr);<br>   460              ierr = ISDestroy(&stratumIS);CHKERRQ(ierr);</font><br></div><div><font face="monospace"><br></font></div><div><span style="font-family:arial,sans-serif">With regards,</span><br></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">David Andrs</font></div></div>