From: Sebastian YEPES Date: 2010-03-25T18:46:36+09:00 Subject: [ruby-core:28978] [Bug #3005] Ruby core dump - [BUG] rb_sys_fail() - errno == 0 Issue #3005 has been updated by Sebastian YEPES. File sv.rb added Ok, I have made a reduced version of the script that always reproduces the core dumps. The problem must be related with the oci8, because if I comment out the lines 23 and 25 it does not generate cores. Hope some one can help me solve this issue. Environment: HP-UX B.11.31 U ia64 ruby-oci8-2.0.4 ruby 1.9.1p376 (2009-12-07 revision 26041) [ia64-hpux11.31] Oracle 11gR2 Reproduction: ruby sv.rb Send a HUP to the ruby process (kill -HUP -> Here comes the core ;-) ---- # ruby sv.rb cfgfile_load: LOADING CONFIGURATION DATA xml_listener: Processing XML xml_register_hup: RELOADING CONFIGURATION DATA cfgfile_load: LOADING CONFIGURATION DATA sv.rb:44: [BUG] rb_sys_fail() - errno == 0 ruby 1.9.1p376 (2009-12-07 revision 26041) [ia64-hpux11.31] -- control frame ---------- c:0005 p:---- s:0014 b:0014 l:000013 d:000013 CFUNC :gets c:0004 p:0098 s:0011 b:0011 l:000010 d:000010 METHOD sv.rb:44 c:0003 p:0131 s:0006 b:0006 l:0009b4 d:002524 EVAL sv.rb:60 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0009b4 d:0009b4 TOP --------------------------- -- Ruby level backtrace information----------------------------------------- sv.rb:44:in `gets' sv.rb:44:in `xml_listener' sv.rb:60:in `
' [NOTE] You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Abort(coredump) ------- ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3005 ---------------------------------------- http://redmine.ruby-lang.org