-
Notifications
You must be signed in to change notification settings - Fork 117
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
Segmentation fault #52
Comments
Cross-posting from paulmillr/chokidar#219:
|
Actually I may need to test that out again. At the time I may have fallen into the trap of forgetting to It's likely that the segfault is easily reproducible on any node/io version following the above procedure. |
Using the procedure at the top of this issue, I just had it happen 9 out of 10 times in io.js 1.0.4. If I split apart the commands, it appears to never have an issue with the |
Thank you for taking a look at this! This happens often for me using Gaze or Chokidar watchers when using gulp. At the end of the gulp series of tasks, the watch task is launched, and ~30% of the time it ends in a segfault (and I have to relaunch the ~40s long build process). |
Reopening issue as it was auto-closed by a commit that provides partial resolution. |
I appear to still be getting this:
|
It was observed from the core dump file that the crash occurred at Therefore we store pointers in a plain vector to solve this problem. |
Use vector instead of CFMutableArray; fix #52
I used jquery's repo as the example because it has enough deps to trigger the issue reliably, none of which compile anything with gyp - ruling that out as being related to the cause. That said, YMMV, it may take more than one attempt to trigger the segfault.
Adding https://www.npmjs.com/package/segfault-handler to the test script yields the following stack trace:
cc/ @bajtos @bnoordhuis
paulmillr/chokidar#219
The text was updated successfully, but these errors were encountered: