glibc read blocking since kernel 4.19

2019-03-25 Thread Václav Zindulka
Hi, I've been using pstreams library for some time, but when I upgraded the kernel to 4.19 / 5.0 (I need patches for nftables API) I started noticing problems with blocked read in glibc. I've created class on top of pstreams since I needed timeout functionality etc. After I found the problem with

Re: glibc read blocking since kernel 4.19

2019-03-25 Thread Václav Zindulka
I've tried to switch everything back to C library using popen and it hanged too. In all places it hangs using pstream.h. Notice malformed _IO_read_ptr. and all other pointers. It should look like " 9 10.13.19.18 4.762 ms 4.613 ms 4.158 ms\n", but there is " 4.613 ms.19.18 4.762 mss 3.658 ms