-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup causes random failure for XFEM problems #17063
Labels
T: defect
An anomaly, which is anything that deviates from expectations.
Comments
jiangwen84
added a commit
to jiangwen84/moose
that referenced
this issue
Feb 18, 2021
jiangwen84
added a commit
to jiangwen84/moose
that referenced
this issue
Feb 19, 2021
jiangwen84
added a commit
to jiangwen84/moose
that referenced
this issue
Feb 19, 2021
jiangwen84
added a commit
to jiangwen84/moose
that referenced
this issue
Feb 19, 2021
loganharbour
pushed a commit
to loganharbour/moose
that referenced
this issue
Feb 21, 2021
jain651
pushed a commit
to jain651/moose
that referenced
this issue
Apr 19, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
When backupMultiApp is called, a new backup will be created. The backup will store MaterialProprety from MaterialPropertyStorage. The storage uses element id, so it looks for element id. If an element has a pointer, but does not have a valid id, it will throw out an error. For XFEM, some element will be deleted, but their points will still remain in the MaterialPropertyStoreage. Very randomly, their id could become invalid and trigger that error.
Steps to Reproduce
It fails randomly, and trigged by the backup. The bt is below
MPI_Abort frame #1: 0x0000000116285674 libmoose-dbg.0.dylib
moose::internal::mooseErrorRaw(msg="", prefix="") at MooseError.C:84:3frame Removed #2: 0x00000001157979aa libmoose-dbg.0.dylib
void mooseError<char const (&) [37]>(args=<no value available>) [37]) at MooseError.h:240:3 frame #3: 0x00000001157978e5 libmoose-dbg.0.dylib
void dataStore<libMesh::Elem const>(stream=0x00007ffee2e516d0, e=0x00007fbc0a69c170, context=0x00007fbceb0b7618) at DataIO.C:96:7frame Removed #4: 0x00000001154b0e05 libmoose-dbg.0.dylib
void storeHelper<libMesh::Elem const*>(stream=0x00007ffee2e516d0, data=0x00007fbc0a69c170, context=0x00007fbceb0b7618) at DataIO.h:715:3 frame #5: 0x00000001154b0cd2 libmoose-dbg.0.dylib
void dataStore<libMesh::Elem const*, HashMap<unsigned int, MaterialProperties> >(stream=0x00007ffee2e516d0, m=0x00007fbc78faaa40, context=0x00007fbceb0b7618) at DataIO.h:335:5frame Removed #6: 0x00000001154b0bc8 libmoose-dbg.0.dylib
void dataStore<MaterialPropertyStorage>(stream=0x00007ffee2e516d0, storage=0x00007fbc78faaaa0, context=0x00007fbceb0b7618) at MaterialPropertyStorage.h:314:3 frame #7: 0x00000001154b0b55 libmoose-dbg.0.dylib
void storeHelper(stream=0x00007ffee2e516d0, data=0x00007fbc78faaaa0, context=0x00007fbceb0b7618) at DataIO.h:715:3frame Removed #8: 0x00000001154b0623 libmoose-dbg.0.dylib
RestartableData<MaterialPropertyStorage>::store(this=0x00007fbc78faa9e0, stream=0x00007ffee2e516d0) at RestartableData.h:164:3 frame #9: 0x000000011579ca78 libmoose-dbg.0.dylib
RestartableDataIO::serializeRestartableData(this=0x00007ffee2e51b80, restartable_data=size=78, stream=0x00007fbd490ce190) at RestartableDataIO.C:114:24frame Removed #10: 0x000000011579f2c6 libmoose-dbg.0.dylib
RestartableDataIO::createBackup(this=0x00007ffee2e51b80) at RestartableDataIO.C:347:5 frame #11: 0x0000000116224f58 libmoose-dbg.0.dylib
MooseApp::backup(this=0x00007fbd2881f818) at MooseApp.C:1089:15frame Removed #12: 0x00000001157fa470 libmoose-dbg.0.dylib
MultiApp::backup(this=0x00007fbd1853a3c8) at MultiApp.C:430:29 frame #13: 0x00000001157fa343 libmoose-dbg.0.dylib
FullSolveMultiApp::backup(this=0x00007fbd1853a3c8) at FullSolveMultiApp.C:54:15frame Removed #14: 0x00000001153ddfb7 libmoose-dbg.0.dylib
FEProblemBase::backupMultiApps(this=0x00007fbcea808218, type=(_raw_name = "TIMESTEP_BEGIN", _name = "TIMESTEP_BEGIN", _id = 16)) at FEProblemBase.C:4406:18 frame #15: 0x0000000114edbb7f libmoose-dbg.0.dylib
PicardSolve::solve(this=0x00007fbd4981d080) at PicardSolve.C:160:12frame Removed #16: 0x0000000114ee7c26 libmoose-dbg.0.dylib
Steady::execute(this=0x00007fbd4981ce18) at Steady.C:88:45 frame #17: 0x0000000116224768 libmoose-dbg.0.dylib
MooseApp::executeExecutioner(this=0x00007fbd2880c418) at MooseApp.C:1023:19frame Removed #18: 0x00000001162256af libmoose-dbg.0.dylib
MooseApp::run(this=0x00007fbd2880c418) at MooseApp.C:1150:5 frame #19: 0x000000010cdaec66 bison-dbg
main(argc=4, argv=0x00007ffee2e52968) at main.C:50:8frame Create new product "Stroma" #20: 0x00007fff67775cc9 libdyld.dylib
start + 1 frame #21: 0x00007fff67775cc9 libdyld.dylib
start + 1One way to fix this is to remove property storage of elements before they are deleted.
Impact
It will fix issues where backup is needed for XFEM, such as for multiapp application.
The text was updated successfully, but these errors were encountered: