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

"Bad function call" dialog #967

Closed
adamgeorge309 opened this issue Mar 27, 2024 · 0 comments
Closed

"Bad function call" dialog #967

adamgeorge309 opened this issue Mar 27, 2024 · 0 comments
Assignees
Labels

Comments

@adamgeorge309
Copy link
Contributor

Sometimes when running multiple configs sequentially in Qtenv, the following error occurs:

Screenshot from 2024-03-27 17-42-37

When rerunning a config, the following error occurs:
Screenshot from 2024-03-27 17-40-31

To reproduce: run each config one-by-one in showcases/visualizer/packetdrop for some time. Around the 5th config, the error usually occurs. Confirmed on multiple machines.

levy added a commit that referenced this issue Mar 28, 2024
The std::function in sharedVariables wrapping the value's destructor can be uninitialized because
sharedVariables.resize(handle+1) in getSharedVariable() can add more than one item to the vector.
@levy levy closed this as completed Mar 28, 2024
levy added a commit that referenced this issue Sep 19, 2024
The std::function in sharedVariables wrapping the value's destructor can be uninitialized because
sharedVariables.resize(handle+1) in getSharedVariable() can add more than one item to the vector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants