Skip to content
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

Crash when PeriodicEvent has no target #2486

Closed
dkachuma opened this issue May 25, 2023 · 0 comments · Fixed by #2487
Closed

Crash when PeriodicEvent has no target #2486

dkachuma opened this issue May 25, 2023 · 0 comments · Fixed by #2487
Assignees
Labels
type: bug Something isn't working type: new A new issue has been created and requires attention

Comments

@dkachuma
Copy link
Contributor

Describe the bug
PeriodicEvent with no target set causes a crash

To Reproduce
voidage.xml.gz
In that attached case I have a PeriodicEvent node that doesn't have a target. It's purpose is to contain other PeriodicEvent elements.

        <PeriodicEvent
            name="superEvent"
            timeFrequency="1">
            <PeriodicEvent
                name="solverApplications"
                target="/Solvers/EVENTTEST" />
            <PeriodicEvent
                name="vtkOutput"
                target="/Outputs/EVENTTEST" />
        </PeriodicEvent>

There appears to be a change that has caused this kind of setup to not work anymore. For instance, this used to work at 1a7dd3f but fails at 246e3a8.

Screenshots

MainGrid: importing field data from mesh dataset
   TableFunction: INITIALISATION_left_table
   TableFunction: INITIALISATION_right_table
   TableFunction: INITIALISATION_left_table
   TableFunction: INITIALISATION_right_table
Received signal 11: Segmentation fault

** StackTrace of 6 frames **
Frame 0: /lib64/libc.so.6
Frame 1: geos::PeriodicEvent::validate() const
Frame 2: geos::EventManager::run(geos::DomainPartition&)
Frame 3: geos::GeosxState::run()
Frame 4: main
Frame 5: __libc_start_main
Frame 6: /workrd/SCR/GEOSX/install/gcc8/GEOSX-246e3a8/bin/geosx
=====

Platform:

  • Compiler: gcc 8.3.0
  • GEOSX version: 0.2.0 (HEAD, sha1: 246e3a8)
@dkachuma dkachuma added type: bug Something isn't working type: new A new issue has been created and requires attention labels May 25, 2023
@dkachuma dkachuma self-assigned this May 25, 2023
@dkachuma dkachuma linked a pull request May 25, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working type: new A new issue has been created and requires attention
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant