COMMIT IO#lines, etc. are now aliases for IO#each_line, etc. http://github.com/rubyspec/rubyspec/commit/823495efa206e9980e6d108da926475b789d9063 =================================================================== +++ 20100303T083037 @@ 11 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7 ?\227?\131?\170?\227?\131?\157?\227?\130?\184?\227?\131?\136?\227?\131?\170?\227?\129?\174?\227?\131?\171?\227?\131?\188?\227?\131?\136: http://svn.ruby-lang.org/repos/ruby ?\227?\131?\170?\227?\131?\157?\227?\130?\184?\227?\131?\136?\227?\131?\170 UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +?\227?\131?\170?\227?\131?\147?\227?\130?\184?\227?\131?\167?\227?\131?\179: 26799 ?\227?\131?\142?\227?\131?\188?\227?\131?\137?\231?\168?\174?\229?\136?\165: ?\227?\131?\135?\227?\130?\163?\227?\131?\172?\227?\130?\175?\227?\131?\136?\227?\131?\170 ?\230?\186?\150?\229?\130?\153?\228?\184?\173?\227?\129?\174?\229?\135?\166?\231?\144?\134: ?\231?\137?\185?\227?\129?\171?\227?\129?\170?\227?\129?\151 ?\230?\156?\128?\231?\181?\130?\229?\164?\137?\230?\155?\180?\232?\128?\133: shyouhei @@ 6163 @@ test_context_switch(TestMarshal): . test_exception(TestMarshal): . test_exception_subclass(TestMarshal): . +test_extend(TestMarshal): ruby(53033) malloc: *** error for object 0x80620358: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x20000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x1ed7e80: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x1a06570: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x80620358: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x20000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x2759be0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x2007b0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug . test_extend_string(TestMarshal): . @@ 6202 @@ test_marshal(TestMarshal): . test_nil(TestMarshal): . test_object(TestMarshal): . +test_object_extend(TestMarshal): ruby(53033) malloc: *** error for object 0x80620358: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x20000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x1ed7e80: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x21f030: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x80620358: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x20000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x274d5d0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x1d331f0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug . test_object_subclass(TestMarshal): . @@ 6235 @@ test_string_ivar(TestMarshal): . test_string_subclass(TestMarshal): . test_string_subclass_cycle(TestMarshal): . +test_string_subclass_extend(TestMarshal): ruby(53033) malloc: *** error for object 0x80620358: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug +ruby(53033) malloc: *** error for object 0x20000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug +./test/ruby/test_marshal.rb:23: [BUG] Bus Error ruby make: *** [test-all] Abort trap @@ 8370 @@ test_context_switch(TestMarshal): . test_exception(TestMarshal): . test_exception_subclass(TestMarshal): . +test_extend(TestMarshal): ruby(53802) malloc: *** error for object 0x80620358: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x20000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x2fb070: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x1f06f90: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x80620358: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x20000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x1f0b0b0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x2007b0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug . test_extend_string(TestMarshal): . @@ 8409 @@ test_marshal(TestMarshal): . test_nil(TestMarshal): . test_object(TestMarshal): . +test_object_extend(TestMarshal): ruby(53802) malloc: *** error for object 0x80620358: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x20000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x599130: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug +ruby(53802) malloc: *** error for object 0x1f070f0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug ./test/ruby/test_marshal.rb:23: [BUG] Segmentation fault ruby @@ 14857 @@ IO#lines - returns an Enumerator - returns a line when accessed +- yields each line to the passed block (FAILED - ) /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//rubyspec/core/io/new_spec.rb IO.new @@ 32088 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/bin/mspec-run:8 ) +IO#lines yields each line to the passed block FAILED +Expected [] +to equal ["Voici la ligne une.\n", + "Qui \303\250 la linea due.\n", + "\n", + "\n", + "Aqu\303\255 est\303\241 la l\303\255nea tres.\n", + "Ist hier Linie vier.\n", + "\n", + "Est\303\241 aqui a linha cinco.\n", + "Here is line six.\n"] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//rubyspec/core/io/lines_spec.rb:28 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:179:in `protect' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//rubyspec/core/io/lines_spec.rb:3:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:179:in `each' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:179:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 32115 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//rubyspec/core/io/lines_spec.rb:6 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/guards/version.rb:34:in `ruby_version_is' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//rubyspec/core/io/lines_spec.rb:5 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 32621 @@ ) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR +ThreadError: Thread#join: deadlock 0x13b1a4 - mutual join(0x18e4670) /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ 33567 @@ Finished in seconds +2936 files, 12154 examples, expectations, 32 failures, 34 errors exit 1 failed(rubyspec) == end #