Bugs item #28553, was opened at 2010-09-09 11:49
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1971&aid=28553&group_id=494

Category: General
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: David Martinez (hackerdude)
>Assigned to: Charlie Savage (cfis)
Summary: OSX, MacPorts libxml2 2.7.7, libxml-ruby 1.1.4 & 1.1.3, gem check -t 
fails with respond_to?' called on terminated object

Initial Comment:
See attached results, essentially nothing works, with things like:

This is with the 2.7.7 macports compile which works fine on the macports side.

Production machines that work fine are Linux and using 2.6.26 Libxml2 and 
libxml-ruby 1.1.4. Haven't tried 2.7.7 on linux


------ gem check -t results ------


Error: Undefined namespace prefix.
xmlXPathEval: evaluation failed
Failure:
test_enabled_thread(TestXml) [./test/tc_xml.rb:176]:
<true> expected but was
<false>.
Node#child_add is deprecated.  Use Node#<< instead.
Error: Element 'invalid': This element is not expected. Expected is ( item )..
Failure:
test_noexistent_file(TestSaxParser) [./test/tc_sax_parser.rb:137]:
<"Warning: failed to load external entity \i_dont_exist.xml\."> expected but was
<"Error: Element 'invalid': This element is not expected. Expected is ( item 
)..">.
Failure:
test_parse_error(TestSaxParser) [./test/tc_sax_parser.rb:244]:
<LibXML::XML::Error> exception expected but was
Class: <NotImplementedError>
Message: <"method `on_error' called on terminated object (0x7fff70c6f230)">
---Backtrace---
./test/tc_sax_parser.rb:245:in `parse'
./test/tc_sax_parser.rb:245:in `test_parse_error'
./test/tc_sax_parser.rb:244:in `test_parse_error'
---------------
Failure:
test_parse_warning(TestSaxParser) [./test/tc_sax_parser.rb:228]:
<"error: Warning: xmlParsePITarget: invalid name prefix 'xml' at :2."> expected 
but was
<"pi: xml-invalid ">.
Node#child_add is deprecated.  Use Node#<< instead.
Error: Did not expect element invalid there.
set_error_handler is deprecated.  Use Error.set_handler instead
Failure:
test_deprecated_error_handler(TestReader) [./test/tc_reader.rb:112]:
<LibXML::XML::Error> exception expected but was
Class: <NotImplementedError>
Message: <"method `respond_to?' called on terminated object (0x7fff70c6f230)">
---Backtrace---
./test/tc_reader.rb:113:in `read'
./test/tc_reader.rb:113:in `test_deprecated_error_handler'
./test/tc_reader.rb:112:in `test_deprecated_error_handler'
---------------
set_error_handler is deprecated.  Use Error.set_handler instead
reset_error_handler is deprecated.  Use Error.reset_handler instead
Failure:
test_deprecated_reset_error_handler(TestReader) [./test/tc_reader.rb:127]:
<LibXML::XML::Error> exception expected but was
Class: <NotImplementedError>
Message: <"method `respond_to?' called on terminated object (0x7fff70c6f230)">
---Backtrace---
./test/tc_reader.rb:128:in `read'
./test/tc_reader.rb:128:in `test_deprecated_reset_error_handler'
./test/tc_reader.rb:127:in `test_deprecated_reset_error_handler'
---------------
Failure:
test_error(TestReader) [./test/tc_reader.rb:99]:
<LibXML::XML::Error> exception expected but was
Class: <NotImplementedError>
Message: <"method `respond_to?' called on terminated object (0x7fff70c6f230)">
---Backtrace---
./test/tc_reader.rb:100:in `read'
./test/tc_reader.rb:100:in `test_error'
./test/tc_reader.rb:99:in `test_error'
---------------
ruby(7638) malloc: *** error for object 0x1007bfae0: pointer being freed was 
not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap


----------------------------------------------------------------------

>Comment By: Charlie Savage (cfis)
Date: 2011-04-18 12:33

Message:
Thanks for the report.  This should be fixed in the latest release.

Charlie

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1971&aid=28553&group_id=494
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to