# Help diagnosing/reporting a crash from CFUNC wait2 (via Process.wait2)

**URL:** <https://www.ruby-forum.com/t/help-diagnosing-reporting-a-crash-from-cfunc-wait2-via-process-wait2/176052>\
**Category:** Ruby\
**Created:** [September 24, 2009, 3:57am UTC](https://www.ruby-forum.com/t/help-diagnosing-reporting-a-crash-from-cfunc-wait2-via-process-wait2/176052 "2009-09-24T03:57:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Gold](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@Jonathan\_Gold](https://www.ruby-forum.com/u/Jonathan_Gold)\
**Post date:** [September 24, 2009, 3:57am UTC](https://www.ruby-forum.com/t/help-diagnosing-reporting-a-crash-from-cfunc-wait2-via-process-wait2/176052/1 "2009-09-24T03:57:35Z")

</div>

For reasons I can’t quite understand, code which used to work is not  
failing from within wait2. I’m still working on how to concisely repro  
it (not easy), but the ruby stack trace suggests that I contact a  
bugreport page ([http://www.ruby-lang.org/bugreport.html](http://www.ruby-lang.org/bugreport.html)) which now  
just redirects me to redmine. Am I supposed to file this as a bug?

The few snippets from the control frame:

11: [BUG] rb\_sys\_fail() - errno == 0  
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.6.0]

– control frame ----------  
c:0020 p:---- s:0092 b:0092 l:000091 d:000091 CFUNC :wait2

Note that I’ve actually tried this with 1.9.1p243 as well as with  
1.9.2-preview1, and all consistently fail in the same way.

jon
