You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Had a lot of trouble with memory faults from nullpointers and finally figured out that I was using tactics that exist in the Python bindings but not the Rust bindings, namely "qfbv-new-sls"...
#[test]fntest_rust_z3_tactics(){let tactic = "qfbv-new-sls";let config = Config::new();let ctx:Context = Context::new(&config);//try to create a tactic from qfbv-new-sls if it existslet tactic :Tactic = Tactic::new(&ctx, tactic);}
when we might expect to see an issue printed back to the user or something instead of this kind of failure. i think a check in z3_sys when we are making the new tactic to see if it returns a nullpointer back could help but I'm new to Rust so I'm not positive what the best fix might be
The text was updated successfully, but these errors were encountered:
bakerk98
changed the title
Creating a tactic from an invalid tactic results in a SIGSEV
Creating a tactic from an invalid tactic results in a SIGSEGV
Mar 21, 2025
Had a lot of trouble with memory faults from nullpointers and finally figured out that I was using tactics that exist in the Python bindings but not the Rust bindings, namely "qfbv-new-sls"...
results in
when we might expect to see an issue printed back to the user or something instead of this kind of failure. i think a check in z3_sys when we are making the new tactic to see if it returns a nullpointer back could help but I'm new to Rust so I'm not positive what the best fix might be
The text was updated successfully, but these errors were encountered: