Closed agourlay closed 1 year ago
This should not be possible. futex(FUTEX_WAIT)
is documented (by its man page) to only ever return 0 or -1. What kernel version are you running? Do you have anything that might mess with system calls (e.g. seccomp filters, ptrace)?
Thank you for the fast answer!
Do you have anything that might mess with system calls (e.g. seccomp filters, ptrace)?
Bingo, I was profiling with Intel VTune at the same time, I guess we can assume this is responsible for that broken invariant.
I have never seen this behavior in the past, sorry for the noise.
I'm going to close this for now. Do reopen if you manage to reproduce this without vtune.
parking_lot version: 0.12.1
While doing performance tests with a lot of concurrent threads and RwLocks, I got the following panic due to a debug assertion.
Here is the whole trace.
At the time of the error the system was not running out of memory.
I would love to know what kind of invariant was broken to know if I am maybe misusing this library.
Thanks!