Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: unknown event(831) / event(2125) in fsevents. #244

Closed
rockhouse opened this issue Oct 25, 2013 · 8 comments
Closed

Error: unknown event(831) / event(2125) in fsevents. #244

rockhouse opened this issue Oct 25, 2013 · 8 comments

Comments

@rockhouse
Copy link

My lsyncd keeps on crashing after initial sync with this error message:
Error: unknown event(831) in fsevents

Strange is that the initial scan works just fine and the moment when it is crashing varies also, so I do not know what is triggering it. Any ideas?

EDIT: It crashed now with the error code:
Error: unknown event(2125) in fsevents.

@rockhouse
Copy link
Author

The system I compiled lsyncd on is Lion 10.7.5

Quite strangly the last week not one crash. Anyone?

@axkibe
Copy link
Collaborator

axkibe commented Nov 11, 2013

I guess its the FS_EXCHANGE event that Apple seems to have introduced somewhen, that is two files are exchanged. I don't know yet how to handle this further down in the Lsyncd chain.

It should be reproducable with opening a watched file with some editors.

@rockhouse
Copy link
Author

Thanks axkibe, I will give it try to reproduce the error and see if it crashes again. Anything else I can provide you with?

@jsholmes
Copy link

jsholmes commented Apr 1, 2014

This is still happening to me right now.

@qris
Copy link

qris commented Jun 3, 2016

This just happened to me on Yosemite.

@axkibe
Copy link
Collaborator

axkibe commented Jun 3, 2016

Yes, the whole FsEvents part of Lsyncd should be rewritten. However, unless we find someone willing to do that I'm thinking of dropping fsevents from Lsyncd all together, the current implementation is buggy and uses non-documented interfaces.

@axkibe
Copy link
Collaborator

axkibe commented Dec 5, 2016

Duplicate of #204

@axkibe axkibe closed this as completed Dec 5, 2016
@PetrochukM
Copy link

Hey There! This issue is coming up again, and I am not sure how to debug it. I have been trying to use fs_usage to monitor the event but to no avail. This is preventing me from using lsyncd, it crashes right after the first sync on my Macbook, every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants