Bug#593139: ruby1.9.1: FTBFS on kfreebsd: test suite segfaults
found ruby1.9.1/1.9.3.0-2 thanks Hi, I found that debian/run-test-suites.bash sometimes passes all tests except for test_fork:12. But other tests like test_io and thest_thread fail/hang sometimes. Particularly: TestIO#test_copy_stream_socket TestIO#test_threaded_flush TestThread#test_thread_instance_variable I also came up with the attached BUG when running test_io on its own. Regards, -- Steven Chamberlain ste...@pyro.eu.org TestIO#test_dup_many = -e:4: [BUG] rb_update_max_fd: invalid fd (-1) given. ruby 1.9.3p0 (2011-10-30 revision 33570) [i486-kfreebsd-gnu] -- Control frame information --- c:0007 p: s:0019 b:0019 l:18 d:18 CFUNC :pipe c:0006 p:0018 s:0016 b:0015 l:00073c d:14 BLOCK -e:4 c:0005 p: s:0013 b:0013 l:12 d:12 FINISH c:0004 p: s:0011 b:0011 l:10 d:10 CFUNC :loop c:0003 p:0025 s:0008 b:0008 l:00073c d:0016dc EVAL -e:4 c:0002 p: s:0004 b:0004 l:03 d:03 FINISH c:0001 p: s:0002 b:0002 l:00073c d:00073c TOP -- Ruby level backtrace information -e:4:in `main' -e:4:in `loop' -e:4:in `block in main' -e:4:in `pipe' -- C level backtrace information --- /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x15ef0b) [0x281c7f0b] vm_dump.c:796 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x5037b) [0x280b937b] error.c:258 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(rb_bug+0x44) [0x280b9af4] error.c:277 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x71785) [0x280da785] io.c:159 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(rb_pipe+0x3b) [0x280e667b] io.c:4919 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x7d722) [0x280e6722] io.c:8133 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x149ca5) [0x281b2ca5] vm_insnhelper.c:317 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x15746d) [0x281c046d] vm_insnhelper.c:404 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x14d500) [0x281b6500] insns.def:1015 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x153c2b) [0x281bcc2b] vm.c:1220 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x158ace) [0x281c1ace] vm.c:624 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(rb_rescue2+0x171) [0x280bd881] eval.c:639 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x149ed2) [0x281b2ed2] vm_eval.c:826 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x149c8d) [0x281b2c8d] vm_insnhelper.c:320 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x15746d) [0x281c046d] vm_insnhelper.c:404 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x14d500) [0x281b6500] insns.def:1015 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x153c2b) [0x281bcc2b] vm.c:1220 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(rb_iseq_eval_main+0xb5) [0x281c4485] vm.c:1461 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(+0x5386c) [0x280bc86c] eval.c:204 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(ruby_exec_node+0x24) [0x280bd3a4] eval.c:251 /home/steven/ruby1.9.1-1.9.3.0/libruby-1.9.1.so.1.9(ruby_run_node+0x36) [0x280bed66] eval.c:244 /home/steven/ruby1.9.1-1.9.3.0/ruby1.9.1() [0x8048718] /lib/i386-kfreebsd-gnu/i686/cmov/libc.so.0.1(__libc_start_main+0xab) [0x283184fb] /home/steven/ruby1.9.1-1.9.3.0/ruby1.9.1() [0x8048741] -- Other runtime information --- * Loaded script: -e * Loaded features: 0 enumerator.so 1 /home/steven/ruby1.9.1-1.9.3.0/.ext/i486-kfreebsd-gnu/enc/encdb.so 2 /home/steven/ruby1.9.1-1.9.3.0/.ext/i486-kfreebsd-gnu/enc/trans/transdb.so 3 /home/steven/ruby1.9.1-1.9.3.0/lib/rubygems/defaults.rb 4 /home/steven/ruby1.9.1-1.9.3.0/rbconfig.rb 5 /home/steven/ruby1.9.1-1.9.3.0/lib/rubygems/deprecate.rb 6 /home/steven/ruby1.9.1-1.9.3.0/lib/rubygems/exceptions.rb 7 /home/steven/ruby1.9.1-1.9.3.0/lib/rubygems/custom_require.rb 8 /home/steven/ruby1.9.1-1.9.3.0/lib/rubygems.rb [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 0.08 s = F T
Processed: Re: Bug#593139: ruby1.9.1: FTBFS on kfreebsd: test suite segfaults
Processing commands for cont...@bugs.debian.org: found 593139 ruby1.9.1/1.9.3.0-2 Bug #593139 [src:ruby1.9.1] ruby1.9.1: FTBFS on kfreebsd: test suite segfaults Marked as found in versions ruby1.9.1/1.9.3.0-2. thanks Stopping processing here. Please contact me if you need assistance. -- 593139: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593139 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#593139: ruby1.9.1: FTBFS on kfreebsd: test suite segfaults
On 15/08/10 at 20:46 +0200, Lucas Nussbaum wrote: Source: ruby1.9.1 Version: 1.9.2~svn28788-1 Severity: serious Ruby's test suite fails on kfreebsd-i386 and kfreebsd-amd64, and then hangs. Hi, Quick follow-up on this: I looked at three problems and filed three bugs. Version tested: experimental (1.9.3~preview1+svn33077-1). http://redmine.ruby-lang.org/issues/5239 problem in a test (patch provided) http://redmine.ruby-lang.org/issues/5240 more severe problem when using threads+forks. bisected the commit that introduced the regression. http://redmine.ruby-lang.org/issues/5241 failure of test_massign.rb (Fiber-related). Lucas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#593139: ruby1.9.1: FTBFS on kfreebsd: test suite segfaults
Source: ruby1.9.1 Version: 1.9.2~svn28788-1 Severity: serious Ruby's test suite fails on kfreebsd-i386 and kfreebsd-amd64, and then hangs. i386: Loaded suite ./test/runner Started /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/lib/timeout.rb:50: [BUG] Segmentation fault ruby 1.9.2dev (2010-07-30) [i486-kfreebsd-gnu] -- control frame -- c:0004 p: s:0011 b:0011 l:10 d:10 CFUNC :sleep c:0003 p:0014 s:0007 b:0007 l:001950 d:06 BLOCK /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/lib/timeout.rb:50 c:0002 p: s:0004 b:0004 l:03 d:03 FINISH c:0001 p: s:0002 b:0002 l:01 d:01 TOP --- -- Ruby level backtrace information /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/lib/timeout.rb:50:in `block in timeout' /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/lib/timeout.rb:50:in `sleep' -- C level backtrace information --- /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(rb_vm_bugreport+0x72) [0x281c30e2] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x4fb41) [0x280beb41] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(rb_bug+0x3a) [0x280bebda] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0xee61c) [0x2815d61c] /lib/libpthread.so.0(+0xaaa7) [0x28243aa7] [0xbfbfffb4] /lib/libpthread.so.0(__pthread_mutex_unlock+0x9f) [0x2823f8af] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x15493a) [0x281c393a] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x156bcc) [0x281c5bcc] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x158214) [0x281c7214] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0xb89ed) [0x281279ed] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x13e948) [0x281ad948] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x14cb12) [0x281bbb12] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x1443f2) [0x281b33f2] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x14a528) [0x281b9528] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(rb_vm_invoke_proc+0x29c) [0x281bb5cc] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x1595bd) [0x281c85bd] /build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-i386-8LdWDu/ruby1.9.1-1.9.2~svn28788/libruby-1.9.1.so.1.9(+0x15961b) [0x281c861b] /lib/libpthread.so.0(+0x570c) [0x2823e70c] /lib/libc.so.0.1(+0xc6768) [0x28380768] amd64: Loaded suite ./test/runner Started Bus error make[1]: *** [yes-test-all] Error 138 . make[1]: Leaving directory `/build/buildd-ruby1.9.1_1.9.2~svn28788-1-kfreebsd-amd64-Etillu/ruby1.9.1-1.9.2~svn28788' make: [common-post-build-arch] Error 2 (ignored) Also, on both i386 and amd64, there are many new failures in the first test suite (ruby includes one called make test, the second one being make test-all): 49/922 tests failed on both i386 and amd64. (search for undefined method `signaled?' for nil:NilClass in the build log). Full build logs: https://buildd.debian.org/fetch.cgi?pkg=ruby1.9.1;ver=1.9.2~svn28788-1;arch=kfreebsd-i386;stamp=1280703210 https://buildd.debian.org/fetch.cgi?pkg=ruby1.9.1;ver=1.9.2~svn28788-1;arch=kfreebsd-amd64;stamp=1280661492 There's an history of kfreebsd problems with Ruby 1.9.* (#543805, #542927, #590002) but all are supposed to be fixed. Since it works fine on amd64, armel, i386, mips, mipsel, powerpc and s390, I believe this is an architecture-specific problem. Ruby's test suite is known to exercise threads in interesting ways. -- | Lucas Nussbaum | lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | | jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org