"cobalt/vfile: seq_file seek index must progress"

Jan Kiszka jan.kiszka at siemens.com
Fri May 21 16:39:46 CEST 2021

On 21.05.21 16:20, Philippe Gerum wrote:
> Jan Kiszka <jan.kiszka at siemens.com> writes:
>> Hi Philippe,
>> https://source.denx.de/Xenomai/xenomai/-/commit/dd9a5ee0ed6f734f40d3733f9fff23394c8647bd
>> 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.

OK, so this is an important independent bug fix.

It's not yet in next. Maybe you could sent it along with the reasoning
as patch to the list. Would then also pick it into stable.


Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

More information about the Xenomai mailing list