-
Notifications
You must be signed in to change notification settings - Fork 6
Importing OpenMC causes a seg fault #12
Copy link
Copy link
Open
Labels
Comp:CoreThis issue has to do with the main bulk of the code or document. (methods, main content)This issue has to do with the main bulk of the code or document. (methods, main content)Difficulty:3-ExpertThis issue is not only complicated, but also complex. It may require special advanced skills.This issue is not only complicated, but also complex. It may require special advanced skills.Priority:2-NormalThis work is important and should be completed ASAP.This work is important and should be completed ASAP.Status:1-NewNo one has claimed this issue yet. It is in need of solving.No one has claimed this issue yet. It is in need of solving.Type:BugSomething is wrong or broken. This issue or PR is related to a bug in code.Something is wrong or broken. This issue or PR is related to a bug in code.
Description
Activity
Metadata
Metadata
Assignees
Labels
Comp:CoreThis issue has to do with the main bulk of the code or document. (methods, main content)This issue has to do with the main bulk of the code or document. (methods, main content)Difficulty:3-ExpertThis issue is not only complicated, but also complex. It may require special advanced skills.This issue is not only complicated, but also complex. It may require special advanced skills.Priority:2-NormalThis work is important and should be completed ASAP.This work is important and should be completed ASAP.Status:1-NewNo one has claimed this issue yet. It is in need of solving.No one has claimed this issue yet. It is in need of solving.Type:BugSomething is wrong or broken. This issue or PR is related to a bug in code.Something is wrong or broken. This issue or PR is related to a bug in code.
Including
import openmcin the archetype file causes a seg fault (sometimes SIGSEGV, sometimes SEGABRT) after the simulation runs and writes the results to the output database.Line that causes the seg fault:
import openmcin `openmcyclus/DepleteReactor.pyThe seg fault does not occur if this line is not present/commented out. But this line is needed to call the depletion solver in OpenMC.
A common message in the terminal with the segmentation fault is:
double-linked list, and the traceback to different parts of python. After doing some mild debugging with gdb, I have concluded that python is trying to access memory that it is not supposed to.A traceback using gdb: