logo       

XML::LibXML-1.53: msg#00022

lang.perl.xml

Subject: XML::LibXML-1.53

Hi,

Maybe that has already been addressed, but anywayz:

I am using Matt's patch that fixes make test (Number.pm,LibXML.xs, etc,..)

however make test works in a sense that it outputs "all tests successful",
but actually segfaults when running t/10functions.t by hand:

[XML-LibXSLT-1.53][jmbdev]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl/5.6.1
-I/usr/share/perl/5.6.1 -e 'use Test::Harness qw(&runtests $verbose);
$verbose=0; runtests @ARGV;' t/*.t
t/01basic........ok
t/02dromeds......ok
t/03input........ok
t/04params.......ok
t/05quick........ok
t/06output.......ok
t/07blankdoc.....ok
t/08literal......ok
t/09exslt........ok
t/10functions....ok 6/14Use of uninitialized value in concatenation (.) or
string at t/10functions.t line 9.
t/10functions....ok 7/14Use of uninitialized value in concatenation (.) or
string at t/10functions.t line 9.
t/10functions....ok
All tests successful.
Files=10, Tests=94, 1 wallclock secs ( 0.84 cusr + 0.11 csys = 0.95 CPU)


[t][jmbdev]# perl ./10functions.t
1..14
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
Segmentation fault


[t][jmbdev]# gdb perl
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) set args 10functions.t
(gdb) run
Starting program: /usr/bin/perl 10functions.t
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...
1..14
(no debugging symbols found)...(no debugging symbols found)...[New Thread 1024
(LWP 31781)]
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 31781)]
0x080a3e1a in Perl_newSVpv ()
(gdb) bt
#0 0x080a3e1a in Perl_newSVpv ()
#1 0x402c585a in LibXSLT_generic_function () from
/usr/local/lib/perl/5.6.1/auto/XML/LibXSLT/LibXSLT.so
#2 0x402406af in xmlXPathCompOpEval (ctxt=0x82eb0a0, op=0x82e71e8) at
xpath.c:10218
#3 0x40240e89 in xmlXPathCompOpEval (ctxt=0x82eb0a0, op=0x82e7210) at
xpath.c:10503
#4 0x402411c9 in xmlXPathRunEval (ctxt=0x82eb0a0) at xpath.c:10621
#5 0x402414ec in xmlXPathCompiledEval (comp=0x82e3ec8, ctx=0x82e85d8) at
xpath.c:10789
#6 0x4032ce53 in xsltValueOf (ctxt=0x82e84b0, node=0x82e4038, inst=0x82e3f58,
comp=0x82e70c0) at transform.c:2830
#7 0x4032afa0 in xsltApplyOneTemplate (ctxt=0x82e84b0, node=0x82e4038,
list=0x82e4e58, templ=0x82e7ea0, params=0x0) at transform.c:1519
#8 0x4032ad75 in xsltProcessOneNode (ctxt=0x82e84b0, node=0x82e4038,
params=0x0) at transform.c:1358
#9 0x4032e51f in xsltApplyStylesheetInternal (style=0x82e60b0, doc=0x82e4038,
params=0xbffff2b0, output=0x0, profile=0x0, userCtxt=0x0) at transform.c:3919
#10 0x4032e87a in xsltApplyStylesheet (style=0x82e60b0, doc=0x82e4038,
params=0xbffff2b0) at transform.c:4058
#11 0x402c65b4 in XS_XML__LibXSLT__Stylesheet_transform () from
/usr/local/lib/perl/5.6.1/auto/XML/LibXSLT/LibXSLT.so
#12 0x0809c70c in Perl_pp_entersub ()
#13 0x08097090 in Perl_runops_standard ()
#14 0x0805c565 in S_run_body ()
#15 0x0805c2cb in perl_run ()
#16 0x08059ca0 in main ()
#17 0x4005e14f in __libc_start_main () from /lib/libc.so.6
(gdb)

I am running perl 5.6.1 (debian/woody)

-> Any ideas?

thx & best regards,
~/joachim

--
Phone: +49 (0) 89 15883875
Fax: +49 (0) 89 15883874
Mobile: +49 (0) 179 674 3611
Web: http://www.bauernberger.org/

_______________________________________________
Perl-XML mailing list
Perl-XML@xxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise