"cobalt/vfile: seq_file seek index must progress"
rpm at xenomai.org
Fri May 21 16:20:08 CEST 2021
Jan Kiszka <jan.kiszka at siemens.com> writes:
> Hi Philippe,
> Bug fix unrelated to dovetail? There is no description, so I cannot
> easily asses this.
Yeah, not good. The idea is that the offset field we receive from the
kernel must progress in order for the loop to stop properly,
independently from our own tracking of the end-of-list condition.
AFAIR, this was very easily reproducible by running a test app creating
a few tenths of threads (10-20 would suffice) which would exit shortly
after, while running a cat loop on /proc/xenomai/sched/next. At some
point, the cat loop would cause the vfile handler to crash.
More information about the Xenomai