Skip to content

Bug: Conjure Oxide crashes with RuleSetNotFound in release mode #829

@niklasdewally

Description

@niklasdewally

Running Conjure Oxide in release mode (with --release) gives a RuleSetNotFound error. This is not present if ran in debug mode.

Environment

This bug is present with the following setup:

  • M1 MacOS
  • Rust version 1.8.6
  • Latest main branch of conjure oxide (at time of writing e0ad0d0)

Steps to Reproduce

This bug is present both in the tester and the executable:

Tester

  • Run ACCEPT=true cargo test --release. All integration tests fail with the error message Error: RuleSetNotFound. As ACCEPT=true is given, all tests should pass.
  • If ACCEPT=true cargo test is ran instead, all integration tests pass as expected.

Executable

  • Run cargo run --release -- test-solve conjure_oxide/tests/integration/basic/pow/03-negative-exponent/input.eprime. The executable exits with the error Error resolving rule sets: Rule set not found.. The expected output is Success: solutions match!.

  • If ran without --release, cargo run -- test-solve conjure_oxide/tests/integration/basic/pow/03-negative-exponent/input.eprime returns Success: solutions match!

Details

According to git bisect, this bug was introduced in commit 0539467.

Metadata

Metadata

Assignees

Labels

kind::bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions