| Summary: | P02 crashes at runtime with "read" parameter | ||
|---|---|---|---|
| Product: | Examples/Extended | Reporter: | Zoltan <zepofi> |
| Component: | persistency/P01,P02 | Assignee: | Witold.Pokorski |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P4 | ||
| Version: | 10.4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | fix diff | ||
|
Description
Zoltan
2018-06-07 22:05:13 CEST
Created attachment 498 [details]
fix diff
Hi, thanks for spotting that. The crash was due to the fact that for some reason two copies of the materials where being saved to the root file. To fix it, I removed the explicit pointer to the material table from ExP02GeoTree class (a helper class used to write the geometry tree + materials + elements to the root file). There was also an update needed in the selection.xml file due to some changes in the G4MaterialPropertiesTable class. You can find the diffs in the attached file. Cheers, Witek |