Ticket #547 (closed defect: fixed)
lib/sysdep/os/linux/lcpu.cpp sched_getaffinity fails with errno 22 (EINVAL)
|Reported by:||markelov||Owned by:|
|Priority:||Should Have||Milestone:||Alpha 2|
|Component:||Non-game systems||Keywords:||lcpu sched_getaffinity|
PROBLEM: after compiling and running test_dbg stack call trace lead us to the problem in lib/sysdep/os/linux/lcpu.cpp file while calling to sched_getaffinity function which fails with errno 22 (EINVAL) if you choose Launch debug and test errno after calling to this function.
DESCRIPTION: problem comes not from the game, but from incompatibility of the Linux kernel with NUMA support and glibc. The whole description with solution you may find by the link in the section below.