pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51903: textproc/p5-XML-Sablotron has significant segfault issues



>Number:         51903
>Category:       pkg
>Synopsis:       textproc/p5-XML-Sablotron has significant segfault issues
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 22 08:15:00 +0000 2017
>Originator:     David H. Gutteridge
>Release:        current
>Organization:
>Environment:
NetBSD arcus-v3.nonus-porta.net 7.99.40 NetBSD 7.99.40 (GENERIC.201610250000Z) amd64
>Description:
I was running some Perl code that uses textproc/p5-XML-Sablotron which
was consistently segfaulting, so I tried running "make test" on that
package, and found each test script generates segfaults as well, e.g.
sablot.t results in:

Core was generated by `perl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000079a2b2ed422b in Perl_pp_entersub ()
   from /usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi/CORE/libperl.so
(gdb) bt
#0  0x000079a2b2ed422b in Perl_pp_entersub ()
   from /usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#1  0x000079a2b2e4f730 in Perl_call_sv ()
   from /usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#2  0x000079a2b1a0b7eb in SchemeHandlerGetStub ()
   from /usr/pkg/lib/perl5/vendor_perl/5.24.0/x86_64-netbsd-thread-multi/auto/XML/Sablotron/Sablotron.so
#3  0x000079a2b16742f4 in DataLine::get(Situation&, char*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#4  0x000079a2b165b15b in TreeConstructer::feedDocumentToParser(Situation&, void*) () from /usr/pkg/lib/libsablot.so.0
#5  0x000079a2b165b375 in TreeConstructer::parseDataLineUsingGivenExpat(Situation&, Tree*, DataLine*, XML_ParserStruct*) () from /usr/pkg/lib/libsablot.so.0
#6  0x000079a2b165b539 in TreeConstructer::parseDataLineUsingExpat(Situation&, Tree*, DataLine*, char*) () from /usr/pkg/lib/libsablot.so.0
#7  0x000079a2b166e9bc in Tree::parse(Situation&, DataLine*) ()
   from /usr/pkg/lib/libsablot.so.0
#8  0x000079a2b165d461 in Processor::addLineParse(Situation&, Tree*&, Str&, int, int) () from /usr/pkg/lib/libsablot.so.0
#9  0x000079a2b165f031 in Processor::readTreeFromURI(Situation&, Tree*&, Str const&, Str const&, int, int) () from /usr/pkg/lib/libsablot.so.0
#10 0x000079a2b164639c in Expression::getDocument_(Situation&, void*&, Str const&, Str const&, Processor*) () from /usr/pkg/lib/libsablot.so.0
#11 0x000079a2b1649272 in Expression::callFunc(Situation&, Expression&, PList<Expression*>&, Context*) () from /usr/pkg/lib/libsablot.so.0
#12 0x000079a2b164ec25 in Expression::eval(Situation&, Expression&, Context*, int) () from /usr/pkg/lib/libsablot.so.0
#13 0x000079a2b164dde5 in Expression::createContext(Situation&, Context*&, int)
    () from /usr/pkg/lib/libsablot.so.0
#14 0x000079a2b164d905 in Expression::createContext(Situation&, Context*&, int)
    () from /usr/pkg/lib/libsablot.so.0
#15 0x000079a2b167e002 in XSLElement::execute(Situation&, Context*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#16 0x000079a2b1677539 in VertexList::execute(Situation&, Context*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#17 0x000079a2b1677573 in Daddy::execute(Situation&, Context*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#18 0x000079a2b167c919 in XSLElement::execute(Situation&, Context*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#19 0x000079a2b165ea17 in Processor::execApplyTemplates(Situation&, Context*, int) () from /usr/pkg/lib/libsablot.so.0
#20 0x000079a2b165eae1 in Processor::execute(Situation&, Vertex*, Context*&, int) () from /usr/pkg/lib/libsablot.so.0
#21 0x000079a2b167dc4f in XSLElement::execute(Situation&, Context*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#22 0x000079a2b1677539 in VertexList::execute(Situation&, Context*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#23 0x000079a2b1677573 in Daddy::execute(Situation&, Context*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#24 0x000079a2b1677589 in RootNode::execute(Situation&, Context*, int) ()
   from /usr/pkg/lib/libsablot.so.0
#25 0x000079a2b1660e80 in Processor::run(Situation&, char const*, void*) ()
   from /usr/pkg/lib/libsablot.so.0
#26 0x000079a2b1662058 in SablotRunProcessor ()
   from /usr/pkg/lib/libsablot.so.0
#27 0x000079a2b1a18fac in XS_XML__Sablotron__Processor_RunProcessor ()
   from /usr/pkg/lib/perl5/vendor_perl/5.24.0/x86_64-netbsd-thread-multi/auto/XML/Sablotron/Sablotron.so
#28 0x000079a2b2ed458c in Perl_pp_entersub ()
   from /usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#29 0x000079a2b2ecd0e6 in Perl_runops_standard ()
   from /usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#30 0x000079a2b2e56ee3 in perl_run ()
   from /usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#31 0x0000000000401092 in main ()

I don't know if this is NetBSD-specific, or a more general issue.

>How-To-Repeat:
Try "make test".
>Fix:
Not known at present.



Home | Main Index | Thread Index | Old Index