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
I got stucked in counter test in hazard_pointers.rs
The problem is the test program is just stop (At first, I thought it was infinite loop).
(The test program do nothing : no error message, no progress)
I used print function to find where the program goes down.
And I found that the program stopped in scope after for loop in fn counter.
Weird thing is that when I put print code on drop for Shield, it passed the test.
The last thing that program do was calling drop for RetiredSet and do collect. (It ends well).
asan, tsan does not give me information about why the program goes down.
Can you give me some hints to solve the problem?
(single thread does not make a problem)
The code in hazard_pointers.rs
`
scope(|s| {
for _ in 0..THREADS {
s.spawn(|| {
for _ in 0..ITER {
...
}
});
}
// <----- here stop the program after call Drop for RetiredSet
});
The text was updated successfully, but these errors were encountered:
Hello,
I got stucked in counter test in hazard_pointers.rs
The problem is the test program is just stop (At first, I thought it was infinite loop).
(The test program do nothing : no error message, no progress)
I used print function to find where the program goes down.
And I found that the program stopped in scope after for loop in fn counter.
Weird thing is that when I put print code on drop for Shield, it passed the test.
The last thing that program do was calling drop for RetiredSet and do collect. (It ends well).
asan, tsan does not give me information about why the program goes down.
Can you give me some hints to solve the problem?
(single thread does not make a problem)
The code in hazard_pointers.rs
`
The text was updated successfully, but these errors were encountered: