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

hashconsing-0.3.0 beta regression #43669

Closed
est31 opened this issue Aug 5, 2017 · 4 comments
Closed

hashconsing-0.3.0 beta regression #43669

est31 opened this issue Aug 5, 2017 · 4 comments
Labels
C-bug Category: This is a bug. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@est31
Copy link
Member

est31 commented Aug 5, 2017

hashconsing version 0.3.0 regressed from stable to beta (full log):

Aug 03 05:13:21.041 INFO blam! |============================|
Aug 03 05:13:21.041 INFO blam! |
Aug 03 05:13:21.041 INFO blam! | Synced
Aug 03 05:13:21.041 INFO blam! |
Aug 03 05:13:21.041 INFO blam! | Running with 4 threads
Aug 03 05:13:21.041 INFO blam! |
Aug 03 05:13:21.041 INFO blam! | 0 | [ 5] app = v3.v0
Aug 03 05:13:21.041 INFO blam! | Thread 1 is done.
Aug 03 05:13:21.041 INFO blam! | 0 | [ 6] app = (v3).v3.v0
Aug 03 05:13:21.041 INFO blam! | Thread 2 is done.
Aug 03 05:13:21.041 INFO blam! | 0 | [ 7] app = (v3).(v3).v3.v0
Aug 03 05:13:21.041 INFO blam! | Thread 4 is done.
Aug 03 05:13:21.041 INFO blam! | 0 | [ 8] app = (v3).v0.(v3).(v3).v3.v0
Aug 03 05:13:21.041 INFO blam! | Thread 3 is done.
Aug 03 05:13:21.041 INFO blam! thread 'synced' panicked at 'assertion failed: `(left == right)`
Aug 03 05:13:21.041 INFO blam!   left: `8`,
Aug 03 05:13:21.041 INFO blam!  right: `7`', src/main.rs:250:4
Aug 03 05:13:21.041 INFO blam! note: Run with `RUST_BACKTRACE=1` for a backtrace.

cc @AdrienChampion

@arielb1
Copy link
Contributor

arielb1 commented Aug 5, 2017

#42541: the format of assert_eq messages changed. I don't think this is something we are going to guarantee stability on, or revert.

@arielb1 arielb1 added regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Aug 5, 2017
@AdrienChampion
Copy link

The hashconsing crate actually had some serious problems before 0.4.0, I strongly suggest you update to the latest version.

@Mark-Simulacrum Mark-Simulacrum added the C-bug Category: This is a bug. label Aug 10, 2017
@alexcrichton
Copy link
Member

Closing as likely a spurious failure due to @AdrienChampion's comment

@AdrienChampion
Copy link

I replied too fast, sorry.

The failure is spurious indeed, in the sense that this version of hashconsing is buggy.

For future reference, the problem is that it was using hash for hashconsed term equality, which makes no sense. The failure comes from a hash collision causing two different terms to be equal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants