Skip to content

Conversation

@ilanashapiro
Copy link
Contributor

@ilanashapiro ilanashapiro commented Nov 4, 2025

Debug several things:

"warming up" the param thread context's manager that's default-constructed by running it through an ast_translation (still not sure why this is necessary but it crashes otherwise upon context alloc)

make sure the param probe thread is killed along with the worker when the batch manager sets unsat/sat/exception (need to check the manager's limit at several places inside param thread)

make sure we don't create multiple nested param tuners within child parallel objects that are created upon ctx->check calls (this required modification to the check function in smt_context.cpp)

finally, make sure the param probe contexts are run in single-threaded mode so we don't spawn a bunch of new workers from the param probe's separate process (this results in a segfault)

ilanashapiro and others added 30 commits September 30, 2025 11:35
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… different threads don't interfere (Z3Prover#7963)

* Initial plan

* Add mutex to warning.cpp for thread safety

Co-authored-by: NikolajBjorner <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: NikolajBjorner <[email protected]>
Removed unused variable 'first' from the function.
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Nikolaj Bjorner <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
Signed-off-by: Lev Nachmanson <[email protected]>
ilanashapiro and others added 28 commits October 21, 2025 13:02
…h options to disable CFG. (Z3Prover#7988)

* Enabling Control Flow Guard by default for MSVC on Windows, with options to disable it.

* Fix configuration error for non-MSVC compilers.

* Reviewed and updated configuration for Python build and added comment for CFG.
Signed-off-by: Lev Nachmanson <[email protected]>
…vant solver statistics fields from the statistics obj
…uners or it spins infinitely. added flag for this. but now there is segfault on the probe_ctx.check() call
Comment on lines +344 to +345
ast_translation m_g2l(p.ctx.m, m);
m_g2l(p.ctx.m.mk_true());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am not sure why this is necessary, but if i don't do this step and I just pass in the default-constructed manager, it crashes upon ctx allocation

@NikolajBjorner NikolajBjorner merged commit 2e74175 into Z3Prover:parallel Nov 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants