>>for i in 0..u64::MAX {
>>match libc::_cpuset_isset(i, set) {
>> [...]
>> but ... under which conditions would it seg-fault inside that
>> function?
>
> What's does the Rust impl. of _cpuset_isset() look like? Does it
> take ints by any c
> Program terminated with signal SIGSEGV, Segmentation fault.
...
> #0 0x60d0fe74 in _cpuset_isset () from /usr/lib/libc.so.12
> #1 0x03d2bf8c in std::sys::unix::thread::available_parallelism ()
...
> At least it gives a bit of clue about where to go looking for the
> null pointer de-reference,
On Wed, 11 Oct 2023, Havard Eidnes wrote:
Program terminated with signal SIGSEGV, Segmentation fault.
...
#0 0x60d0fe74 in _cpuset_isset () from /usr/lib/libc.so.12
#1 0x03d2bf8c in std::sys::unix::thread::available_parallelism ()
...
At least it gives a bit of clue about where to go loo