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
{{ message }}
Repository navigation
Consistent segmentation faults upon creating directories #36
This is a very consistent bug -- and @GSI provided exact steps to reproduce it. Unfortunately, an year later this issue is still open and is biting people who are trying to use incrond.
The bug is between lines usertable.cpp#L390 and usertable.cpp#L408 where incrond "forgets" and reloads itself, then tries to process an event it just forgot about :)
I have 0.5.12 too on a centos 7, same behaviour,moreover sometimes a huge number of incrond processes appear which freezes the system (load1 up to 2000!), with a lot of messages like these:
hi guys, i am same problem, is incron stiil in development?
This bug is a big bug... can someone investigate and solve please?
I am on ubuntu server 20.04 and incron 5.12
thank you @patricksebastien and @galaxy4public , that worked. In Debian 12 (bookworm) this crash indeed occurs on directory creation events which makes incrond basically useless.
full spell to fix the problem on debian 12
apt-get install incron
cd /usr/local/src
git clone https://github.com/anzz1/incron.git
cd incron
make
service incron stop
cp incrond /usr/sbin/incrond
service incron start
edit: changed to my own branch which also includes a fix for GetSafePath
Activity
UnitedMarsupials-zz commentedon Nov 14, 2017
Could you build the daemon with
-O0 -gflags and reproduce the problem? The gdb stack should be much nicer then...galaxy4public commentedon Mar 3, 2018
This is a very consistent bug -- and @GSI provided exact steps to reproduce it. Unfortunately, an year later this issue is still open and is biting people who are trying to use incrond.
The bug is between lines usertable.cpp#L390 and usertable.cpp#L408 where incrond "forgets" and reloads itself, then tries to process an event it just forgot about :)
Fixed ar-#36 by relocating new directory logic lower
frayber commentedon Mar 8, 2019
I have 0.5.12 too on a centos 7, same behaviour,moreover sometimes a huge number of incrond processes appear which freezes the system (load1 up to 2000!), with a lot of messages like these:
auditd[766]: dispatch error reporting limit reached - ending report notification.
auditd[766]: dispatch err (pipe full) event lost
Thank you.
Nikoh77 commentedon Jan 3, 2021
hi guys, i am same problem, is incron stiil in development?
This bug is a big bug... can someone investigate and solve please?
I am on ubuntu server 20.04 and incron 5.12
patricksebastien commentedon Feb 15, 2023
Same problem, on verion 0.5.12. Anyone reading this and cannot wait for @ar- to work on this:
checkout this commit from @galaxy4public
galaxy4public@134900e
anzz1 commentedon Sep 6, 2025
thank you @patricksebastien and @galaxy4public , that worked. In Debian 12 (bookworm) this crash indeed occurs on directory creation events which makes incrond basically useless.
full spell to fix the problem on debian 12
edit: changed to my own branch which also includes a fix for GetSafePath
Fixed ar-#36 by relocating new directory logic lower