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

Thread 6 killed on uncaught exception Failure("CFRunLoop.Observer.Activity.of_ullong unknown code") #8

Open
samoht opened this issue Nov 9, 2016 · 3 comments

Comments

@samoht
Copy link
Contributor

samoht commented Nov 9, 2016

I just got that funny error, I am not sure what I've did wrong.

How to reproduce:

$ git clone https://github.com/samoht/irmin-watcher.git
$ git checkout broken
$ opam install osx-fsevents
$ opam install irmin-watcher --deps
$ make test
...
Thread 3 killed on uncaught exception Lwt_stream.Closed
...
Thread 6 killed on uncaught exception Failure("CFRunLoop.Observer.Activity.of_ullong unknown code")
...
[and then the test never seem to finish, but this is maybe an issue with the test itself]
@samoht
Copy link
Contributor Author

samoht commented Nov 9, 2016

With OCAMLRUNPARAM=b:

Thread 3 killed on uncaught exception Lwt_stream.Closed
Raised at file "src/preemptive/lwt_preemptive.ml", line 276, characters 25-28
Called from file "lib/fsevents_bindings.ml", line 309, characters 8-55
Called from file "src/ctypes-foreign-base/ctypes_ffi.ml", line 144, characters 16-83
Called from file "lwt/cf_lwt.ml", line 44, characters 6-12
...
Thread 6 killed on uncaught exception Failure("CFRunLoop.Observer.Activity.of_ullong unknown code")
Raised at file "pervasives.ml", line 32, characters 22-33
Called from file "src/ctypes/ctypes_memory.ml", line 36, characters 23-36
Called from file "src/ctypes-foreign-base/ctypes_ffi.ml", line 144, characters 38-83
Called from file "lwt/cf_lwt.ml", line 44, characters 6-12
Called from file "thread.ml", line 39, characters 8-14

@dsheets
Copy link
Owner

dsheets commented Nov 9, 2016

Could you please post the output of grep -A 10 "CFOptionFlags, CFRunLoopActivity" /System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFRunLoop.h?

@samoht
Copy link
Contributor Author

samoht commented Nov 9, 2016

$ grep -A 10 "CFOptionFlags, CFRunLoopActivity" /System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFRunLoop.h
grep: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFRunLoop.h: No such file or directory
$ find /System/Library/Frameworks/CoreFoundation.framework/ -name CFRunLoop.h

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

2 participants