You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ofcourse, if I manually executed the following command (to let the read() to finish): echo "please wakeup" >> /home/D.Wrobel/tmp/logs/com-5555.txt
it started to work.
The text was updated successfully, but these errors were encountered:
I reviewed the code in inotifywatchtowerdriver.cpp and we should never block on the read() since we do a poll() before, well unless I missed something of course.
If it is easily reproducible in your setup, I can give you a patch for making the inotify fd non-blocking, though I must admit I don't understand why it is necessary. Alternatively we could leave the mutex unlocked whilst we are doing the read since we don't really need it, but again it should not be a problem.
If you still have the stack trace, could you check which read() we are blocked on, is it the one at line 120 or the one at line 141?
version: glogg-1.0.2-1.fc21 (http://koji.fedoraproject.org/koji/buildinfo?buildID=604412)
While loading log file (not so long 262499051bytes) glogg got stuck displaying "Indexing lines...(99%)".
So it looks like the following:
Ofcourse, if I manually executed the following command (to let the read() to finish):
echo "please wakeup" >> /home/D.Wrobel/tmp/logs/com-5555.txt
it started to work.
The text was updated successfully, but these errors were encountered: