j.villena--- via Xenomai <[email protected]> writes:
> Sorry Philippe, I have found another evl_poll related issue, similar to the > previous one. This time, a system crash happens when waiting in evl_poll for > more than 3 file descriptors. > > This is a simple program to force the wrong behavior: > https://www.dropbox.com/s/bq7lng7dgvknypv/evl_poll_test2.c?dl=0 > > It's very similar to the other sent previously, but not using any GPIO > related functionality. The only objects which file descriptors are used in > evl_poll are evl_flags. The program works as expected using a value of > kFlagsCount < 4. From 4 upwards the kernel freezes. > > The kernel console output using kFlagsCount > 3 is: > <snip> Once again your test program made a difference by illustrating the issue clearly, thanks for this. The bug was related to the previous one, same root cause which I eventually fixed for good with [1]. libevl r27 is out [2] with one test case more covering this (poll-many). [1] https://source.denx.de/Xenomai/xenomai4/linux-evl/-/commit/ccfed6556c7adf47a8e61febb681735f3b2710bc [2] https://source.denx.de/Xenomai/xenomai4/libevl/-/tree/r27 -- Philippe.
