-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Describe the bug
If pyergo_end_session is ever called, later calls to pyergo may segfault, even if a new session is started with pyergo_start_session.
To Reproduce
Steps to reproduce the behavior:
- Call
pyergo_start_session. - Call
pyergo_end_session. - Call
pyergo_start_session. - Repeatedly call
pyergo_command.
- Usually this causes a segfault on the first invocation. Sometimes it requires a few calls.
See the attached Python script (and input files) for a reproducible test case.
Expected behavior
After the second pyergo_start_session, the pyergo_command should succeed without causing a segfault.
Screenshots
Not applicable.
Desktop (please complete the following information):
- OS: MacOS
- Version: ErgoAI 3.0, installed using
ergoAI_3.0.runfrom https://github.com/ErgoAI/.github/releases
Also evokes a segfault in a Docker image with debian:bookworm as a base and installed using ergoAI_3.0.run from https://github.com/ErgoAI/.github/releases.
Additional context
We encountered this in testing when we tried to make separate pyergo sessions for each test.
Metadata
Metadata
Assignees
Labels
No labels