rjeczalik / notify

File system event notification library on steroids.
MIT License
900 stars 128 forks source link

fix crash on android emulator x86_64 #224

Open siddarthkay opened 10 months ago

siddarthkay commented 10 months ago

We discovered during our E2E tests that our android emulators (x86_64) were crashing with a syscal 232 stacktrace.

ref : https://github.com/status-im/status-mobile/issues/17265

we traced those syscalls to this library and this library works fine on all linux architectures ( android inclusive ) except for amd64.

This PR introduces a build flag that does not build the problematic syscall for amd64 architectures only and adds a poorly performing fallback for those cases.