| Summary: | Segmentation fault in G4OpBoundaryProcess | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Gonzalo <gonzalodiaz.lopez> |
| Component: | processes/optical | Assignee: | Daren Sawkey <daren.sawkey> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | simone.schuchmann |
| Priority: | P4 | ||
| Version: | 11.0 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Gonzalo
2022-02-24 16:00:19 CET
Hello, I would like to comment that I do observe the same problem using v11.0.p2. Following the hints in this bug report, I narrowed it down to the transition: Photon at Boundary! thePrePV: ConeRadiator RICH_Ne thePostPV: MylarCone G4_MYLAR for the optical photon. So it happens when going from neon in the RICH with optical properites to the post step volume with mylar material, for which no optical parameters are defined, i.e. no properties are added. The crash appears indeed at the request for the group velocity from G4MaterialPropertiesTable inside the G4OpBoundaryProcess::PostStepDoIt. Maybe this comment can help for debugging. Thanks for more feedback or a solution/fix. Best regards. Thanks both for reporting this. It is now fixed for version 11.1 and 11.0.2. In addition to the line identified by @Gonzalo, the same fault occurs later in PostStepDoIt(): https://geant4.kek.jp/lxr/source/processes/optical/src/G4OpBoundaryProcess.cc?v=11.0#L505 and has also been fixed. |