Difference between 4.9 and 4.19 Kernel versions causing fread crash
by pshub from LinuxQuestions.org on (#5ASG4)
Hello,
i have a linux system where recently the kernel version was upgraded from 4.9 to 4.19. This resulted in a different behaviour while reading a file which was locked.
E.g.:
On Kernel Version 4.9, on reading a locked file, i get the error:
ERROR: cannot read `file' (Input/output error)
On kernel Version 4.19, on reading a locked file, i get the error:/
Segmentation fault.
Can someone tell me or point me to the changelog that resulted in this change or behaviour? Also, can you guide me on how i can get the same behaviour i used to get on version 4.9?
Any help would be useful.
Thank you.


i have a linux system where recently the kernel version was upgraded from 4.9 to 4.19. This resulted in a different behaviour while reading a file which was locked.
E.g.:
On Kernel Version 4.9, on reading a locked file, i get the error:
ERROR: cannot read `file' (Input/output error)
On kernel Version 4.19, on reading a locked file, i get the error:/
Segmentation fault.
Can someone tell me or point me to the changelog that resulted in this change or behaviour? Also, can you guide me on how i can get the same behaviour i used to get on version 4.9?
Any help would be useful.
Thank you.