From: jzakiya Date: 2010-06-04T07:30:13+09:00 Subject: Re: Contribution wanted: test your code with 1.9.2-preview3 On Jun 3, 11:25 am, Graham Agnew wrote: > Yusuke ENDOH wrote: > > If your code does not run as expected, check NEWS [1], especially, > > "Language changes" and "Compatibility issues" sections.  And if you > > cannot find any spec change that seems to require you fix your code, > > please register a ticket to redmine [2] or send a mail to ruby-core > > [3]. > > I've been having reasonable success compiling 1.9.1 on HP-UX since > 1.9.1p0 came out (with patches as per redmine #1341 and #1342).  But > this new preview version of 1.9.2 seems quite broken for HP-UX.  The > test/ruby/test_autoload.rb blocks indefinitely, and other tests > seg-fault: > > I know that HP-UX is not officially supported, but is there an easy way > to debug this to see how I might fix it.  What are my chances here? > Should I raise a redmine ticket? > > This error happens after I press control-C a to stop it: > > test_autoload.rb ....EEbootstraptest.tmp.rb: [BUG] Bus Error > ruby 1.9.2dev (2010-05-31) [ia64-hpux11.23] > > -- control frame ---------- > c:0001 p:0000 s:0002 b:0002 l:002648 d:002648 TOP > --------------------------- > > After pressing control-C a couple more times, this happens: > > test_block.rb ..bootstraptest.tmp.rb: [BUG] Segmentation fault > ruby 1.9.2dev (2010-05-31) [ia64-hpux11.23] > > -- control frame ---------- > c:0001 p:0000 s:0002 b:0002 l:002648 d:002648 TOP > --------------------------- > > [NOTE] > You may have encountered a bug in the Ruby interpreter or extension > libraries. > Bug reports are welcome. > For details:http://www.ruby-lang.org/bugreport.html > > E...........................................E.......E > test_class.rb ./bootstraptest/runner.rb:138: [BUG] Segmentation fault > ruby 1.9.2dev (2010-05-31) [ia64-hpux11.23] > > -- control frame ---------- > c:0016 p:---- s:0052 b:0052 l:000051 d:000051 CFUNC  :load > c:0015 p:0059 s:0048 b:0048 l:000039 d:000047 BLOCK > /bootstraptest/runner.rb:138 > c:0014 p:---- s:0045 b:0045 l:000044 d:000044 FINISH > c:0013 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC  :each > c:0012 p:0039 s:0040 b:0040 l:000039 d:000039 METHOD > /bootstraptest/runner.rb:136 > c:0011 p:0012 s:0036 b:0036 l:000012 d:000035 BLOCK > /bootstraptest/runner.rb:127 > c:0010 p:0005 s:0034 b:0034 l:000016 d:000033 BLOCK > /bootstraptest/runner.rb:377 > c:0009 p:---- s:0032 b:0032 l:000031 d:000031 FINISH > c:0008 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC  :chdir > c:0007 p:0018 s:0026 b:0026 l:000016 d:000025 BLOCK > /bootstraptest/runner.rb:376 > c:0006 p:0052 s:0023 b:0023 l:000022 d:000022 METHOD > /nfs/home/gagnew/ruby-1.9.2-preview3/lib/tmpdir.rb:82 > c:0005 p:0066 s:0017 b:0017 l:000016 d:000016 METHOD > /bootstraptest/runner.rb:375 > c:0004 p:0438 s:0013 b:0013 l:000012 d:000012 METHOD > /bootstraptest/runner.rb:126 > c:0003 p:0443 s:0006 b:0006 l:002648 d:0025f8 EVAL > /bootstraptest/runner.rb:398 > c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH > c:0001 p:0000 s:0002 b:0002 l:002648 d:002648 TOP > --------------------------- > -- Ruby level backtrace information > ---------------------------------------- > /bootstraptest/runner.rb:398:in `
' > /bootstraptest/runner.rb:126:in `main' > /bootstraptest/runner.rb:375:in `in_temporary_working_directory' > /nfs/home/gagnew/ruby-1.9.2-preview3/lib/tmpdir.rb:82:in `mktmpdir' > /bootstraptest/runner.rb:376:in `block in > in_temporary_working_directory' > /bootstraptest/runner.rb:376:in `chdir' > /bootstraptest/runner.rb:377:in `block (2 levels) in > in_temporary_working_directory' > /bootstraptest/runner.rb:127:in `block in main' > /bootstraptest/runner.rb:136:in `exec_test' > /bootstraptest/runner.rb:136:in `each' > /bootstraptest/runner.rb:138:in `block in exec_test' > /bootstraptest/runner.rb:138:in `load' > > [NOTE] > You may have encountered a bug in the Ruby interpreter or extension > libraries. > Bug reports are welcome. > For details:http://www.ruby-lang.org/bugreport.html > > /bin/sh: 11436 Abort(coredump) > make: *** [yes-btest-ruby] Error 134 > -- > Posted viahttp://www.ruby-forum.com/ My system: Toshiba Satelite laptop, P4 2.8Ghz, 1GB, PCLOS 2010.1, 2.26.33.4, gcc 4.4.1, installed with rvm (Ruby Version Manager) Compared to 1.9.1-p378, also installed with rvm, 1.9.2-preview3 is SLOWER (1-5%) on reference benchmarks. Also, cannot do irb session command history via arrow keys, like in all other versions installed with rvm.