Skip Menu |

This queue is for tickets about the XML-LibXSLT CPAN distribution.

Report information
The Basics
Id: 35781
Status: resolved
Priority: 0/
Queue: XML-LibXSLT

People
Owner: Nobody in particular
Requestors: SHLOMIF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.66
Fixed in: (no value)



Subject: Stack Smash on Mandriva Cooker with perl-5.10.0-13mdv2008.1
The link http://xrl.us/bke4t points to an svn directory which contains a Module-Build-based module which uses XML-LibXSLT. On Mandriva Cooker I'm getting the following problem: <<<<<<<<<<<<<<<<< shlomi:$module$ perl t/to-xhtml.t 1..1 *** stack smashing detected ***: perl terminated ======= Backtrace: ========= /lib/i686/libc.so.6(__fortify_fail+0x48)[0xb7d66658] /lib/i686/libc.so.6(__fortify_fail+0x0)[0xb7d66610] /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/LibXML/LibXML.so[0xb78b5504] /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/LibXML/LibXML.so[0xb78ac79b] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 08:21 67278791 /usr/bin/perl5.10.0 08049000-0804a000 rw-p 00000000 08:21 67278791 /usr/bin/perl5.10.0 08c2c000-08e7f000 rw-p 08c2c000 00:00 0 [heap] b7781000-b77ed000 r-xp 00000000 08:21 84116114 /usr/lib/libgcrypt.so.11.4.3 b77ed000-b77ef000 rw-p 0006c000 08:21 84116114 /usr/lib/libgcrypt.so.11.4.3 b77ef000-b7825000 r-xp 00000000 08:21 83902299 /usr/lib/libxslt.so.1.1.23 b7825000-b7826000 rw-p 00036000 08:21 83902299 /usr/lib/libxslt.so.1.1.23 b7857000-b78c5000 r-xp 00000000 08:21 219357664 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/LibXML/LibXML.so b78c5000-b78c6000 rw-p 0006d000 08:21 219357664 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/LibXML/LibXML.so b78c6000-b79f7000 r-xp 00000000 08:21 83925346 /usr/lib/libxml2.so.2.6.32 b79f7000-b79fc000 rw-p 00130000 08:21 83925346 /usr/lib/libxml2.so.2.6.32 b79fc000-b79fd000 rw-p b79fc000 00:00 0 b79ff000-b7a0a000 r-xp 00000000 08:21 50331902 /lib/libgcc_s-4.2.3.so.1 b7a0a000-b7a0b000 rw-p 0000a000 08:21 50331902 /lib/libgcc_s-4.2.3.so.1 b7a0b000-b7a1c000 r-xp 00000000 08:21 83894295 /usr/lib/libexslt.so.0.8.13 b7a1c000-b7a1d000 rw-p 00011000 08:21 83894295 /usr/lib/libexslt.so.0.8.13 b7a1d000-b7a2d000 r-xp 00000000 08:21 789791 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/LibXSLT/LibXSLT.so b7a2d000-b7a2e000 rw-p 0000f000 08:21 789791 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/LibXSLT/LibXSLT.so b7a2e000-b7a31000 r-xp 00000000 08:21 235052047 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/LibXML/Common/Common.so b7a31000-b7a32000 rw-p 00002000 08:21 235052047 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/LibXML/Common/Common.so b7a32000-b7a71000 r--p 00000000 08:21 234881165 /usr/share/locale/UTF-8/LC_CTYPE b7a71000-b7b55000 r--p 00000000 08:21 235074083 /usr/share/locale/UTF-8/LC_COLLATE b7b55000-b7c7e000 r--p 00000000 08:21 117464249 /usr/share/locale/locale-archive b7c7e000-b7c7f000 rw-p b7c7e000 00:00 0 b7c7f000-b7dbd000 r-xp 00000000 08:21 151350386 /lib/i686/libc-2.7.so b7dbd000-b7dbf000 r--p 0013e000 08:21 151350386 /lib/i686/libc-2.7.so b7dbf000-b7dc0000 rw-p 00140000 08:21 151350386 /lib/i686/libc-2.7.so b7dc0000-b7dc3000 rw-p b7dc0000 00:00 0 b7dc3000-b7dd6000 r-xp 00000000 08:21 151353196 /lib/i686/libpthread-2.7.so b7dd6000-b7dd7000 r--p 00012000 08:21 151353196 /lib/i686/libpthread-2.7.so b7dd7000-b7dd8000 rw-p 00013000 08:21 151353196 /lib/i686/libpthread-2.7.so b7dd8000-b7dda000 rw-p b7dd8000 00:00 0 b7dda000-b7ddc000 r-xp 00000000 08:21 51325540 /lib/libutil-2.7.so b7ddc000-b7ddd000 r--p 00001000 08:21 51325540 /lib/libutil-2.7.so b7ddd000-b7dde000 rw-p 00002000 08:21 51325540 /lib/libutil-2.7.so b7dde000-b7ddf000 rw-p b7dde000 00:00 0 b7ddf000-b7ded000 r-xp 00000000 08:21 50535517 /lib/libcrypt-2.7.so b7ded000-b7dee000 r--p 0000d000 08:21 50535517 /lib/libcrypt-2.7.so b7dee000-b7df0000 rw-p 0000e000 08:21 50535517 /lib/libcrypt-2.7.so b7df0000-b7e28000 rw-p b7df0000 00:00 0 b7e28000-b7e4b000 r-xp 00000000 08:21 151350415 /lib/i686/libm-2.7.so b7e4b000-b7e4c000 r--p 00023000 08:21 151350415 /lib/i686/libm-2.7.so b7e4c000-b7e4d000 rw-p 00024000 08:21 151350415 /lib/i686/libm-2.7.so b7e4d000-b7e4f000 r-xp 00000000 08:21 51323472 /lib/libdl-2.7.so b7e4f000-b7e50000 r--p 00001000 08:21 51323472 /lib/libdl-2.7.so b7e50000-b7e51000 rw-p 00002000 08:21 51323472 /lib/libdl-2.7.so b7e51000-b7e64000 r-xp 00000000 08:21 51323477 /lib/libnsl-2.7.so b7e64000-b7e65000 r--p 00012000 08:21 51323477 /lib/libnsl-2.7.so b7e65000-b7e66000 rw-p 00013000 08:21 51323477 /lib/libnsl-2.7.so b7e66000-b7e68000 rw-p b7e66000 00:00 0 b7e6b000-b7e70000 r-xp 00000000 08:21 84156550 /usr/lib/libgdbm.so.3.0.0 b7e70000-b7e71000 rw-p 00004000 08:21 84156550 /usr/lib/libgdbm.so.3.0.0 b7e71000-b7e74000 r-xp 00000000 08:21 83949026 /usr/lib/libgpg-error.so.0.4.0 b7e74000-b7e75000 rw-p 00002000 08:21 83949026 /usr/lib/libgpg-error.so.0.4.0 b7e75000-b7e79000 r-xp 00000000 08:21 68740689 /usr/lib/perl5/5.10.0/i386-linux-thread-multi/auto/IO/IO.so b7e79000-b7e7a000 rw-p 00003000 08:21 68740689 /usr/lib/perl5/5.10.0/i386-linux-thread-multi/auto/IO/IO.so b7e7a000-b7e8c000 r-xp 00000000 08:21 50412569 /lib/libz.so.1.2.3 b7e8c000-b7e8d000 rw-p 00012000 08:21 50412569 /lib/libz.so.1.2.3 b7e8d000-b7e8e000 r--p 00000000 08:21 136409979 /usr/share/locale/en_US.UTF-8/LC_MONETARY b7e8e000-b7e8f000 r--p 00000000 08:21 150995096 /usr/share/locale/en_US.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES b7e8f000-b7e90000 r--p 00000000 08:21 134299716 /usr/share/locale/en_US.UTF-8/LC_PAPER b7e90000-b7e91000 r--p 00000000 08:21 136409982 /usr/share/locale/en_US.UTF-8/LC_ADDRESS b7e91000-b7e98000 r--s 00000000 08:21 184772860 /usr/lib/gconv/gconv-modules.cache b7e98000-b7e99000 r--p 00000000 08:21 136409978 /usr/share/locale/en_US.UTF-8/LC_TELEPHONE b7e99000-b7fec000 r-xp 00000000 08:21 117519642 /usrAborted shlomi:$module$ Show quoted text
>>>>>>>>>>>>>>>>>
versions: <<<<<<<<<<<< shlomi:$module$ rpm -q perl-XML-LibXSLT perl-XML-LibXSLT-1.66-1mdv2008.1 shlomi:$module$ rpm -q perl perl-5.10.0-13mdv2008.1 shlomi:$module$ rpm -q perl-XML-LibXML perl-XML-LibXML-1.66-1mdv2008.1 Show quoted text
>>>>>>>>>>>>
Regards, Shlomi Fish
Is there any progress on this bug? It seems to occur with a vanilla perl-5.10.0 too. And it stalls the release of this module https://svn.berlios.de/svnroot/repos/web-cpan/XML-Grammar-Fortune/ and heavily complicates my home-site's build process. Whatever happens, Perl should not segfault. Regards, Shlomi Fish
Hi Shlomi, I cannot provide any support for rpm packages, that's problem for the distributors. Did you try compiling CPAN versions of XML-LibXML/XSLT-1.66? If you say you tried vanilla perl-5.10, did you recompile the XML-LibX* packages? Can you run valgrind on your test: valgrind perl -Mblib t/to-xhtml.t and post the output? You should also post the output of perl -V, and indicate the versions of libxml2 and libxslt used (and maybe also try vanilla ones from xmlsoft.org). I tried your test with CPAN 1.66-versions on openSUSE 11 (also perl-5.10), and got no segfault at all; also, no error was reported by valgrind. This does not prove anything, since many things may be different between my and your configuration, but it's up to you to do some more testing. I'll try a vanilla perl-5.10, since so far I used vendor's, which says Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Instead of a segfault, I got a usual failure, probably because your test is not correct. t/to-xhtml........NOK 1/1 # Failed test 'Testing for Good XSLTing of 'irc-conversation-4-several-convos'' # at t/to-xhtml.t line 52. Wide character in print at /usr/lib/perl5/5.10.0/Test/Builder.pm line 1275. # got: '<?xml version="1.0" encoding="UTF-8"?> # <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> # <html> # <head> # <title>Fortunes</title> # </head> # <body> # <div class="fortune"> # <h3 id="Im-not-an-asshole">I'm not an Asshole…</h3> # <table class="irc-conversation"> # <tbody> # <tr class="joins"> # <td class="who">←mofino</td> # <td class="text">has joined #perlcafe</td> # </tr> # <tr class="saying"> # <td class="who">mofino</td> # <td class="text">I'm not an asshole. I just play one # on T.V.</td> # </tr> # <tr class="leaves"> # <td class="who">→mofino</td> # <td class="text">has left #perlcafe</td> # </tr> # </tbody> # </table> # </div> # <div class="fortune"> # <h3 id="the-only-language">"The Only Language"</h3> # <table class="irc-conversation"> # <tbody> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">This reminds me of a fun # discussion I had with my co-worker.</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">He had a Firefox window open with an # ActiveState page and I read "Perl, PHP, Python, # Tcl, XSLT".</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">So he said: "Heresy! C is the only # language."</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">So I thought for a moment and # said "Intercal is the only language."</td> # </tr> # <tr class="saying"> # <td class="who">nanonyme</td> # <td class="text">lol</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">And then "Real men write in Intercal."</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">"COME FROM" anyone?</td> # </tr> # </tbody> # </table> # </div> # <div class="fortune"> # <h3 id="let-me-wikipedia-it">(Human) Language Fun on Freenode's #perl</h3> # <table class="irc-conversation"> # <tbody> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">Let me wikipedia it.</td> # </tr> # <tr class="saying"> # <td class="who">f00li5h</td> # <td class="text">so now wikipedia is a verb?</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">f00li5h: it's gonna enter the OED.</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">f00li5h: in English every verb can # be nounified and every noun can be verbed</td> # </tr> # </tbody> # </table> # </div> # </body> # </html> # ' # expected: '<?xml version="1.0" encoding="UTF-8"?> # <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> # <html> # <head> # <title>Fortunes</title> # </head> # <body> # <div class="fortune"> # <h3 id="Im-not-an-asshole">I'm not an Asshole…</h3> # <table class="irc-conversation"> # <tbody> # <tr class="joins"> # <td class="who">←mofino</td> # <td class="text">has joined #perlcafe</td> # </tr> # <tr class="saying"> # <td class="who">mofino</td> # <td class="text">I'm not an asshole. I just play one # on T.V.</td> # </tr> # <tr class="leaves"> # <td class="who">→mofino</td> # <td class="text">has left #perlcafe</td> # </tr> # </tbody> # </table> # </div> # <div class="fortune"> # <h3 id="the-only-language">"The Only Language"</h3> # <table class="irc-conversation"> # <tbody> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">This reminds me of a fun # discussion I had with my co-worker.</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">He had a Firefox window open with an # ActiveState page and I read "Perl, PHP, Python, # Tcl, XSLT".</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">So he said: "Heresy! C is the only # language."</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">So I thought for a moment and # said "Intercal is the only language."</td> # </tr> # <tr class="saying"> # <td class="who">nanonyme</td> # <td class="text">lol</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">And then "Real men write in Intercal."</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">"COME FROM" anyone?</td> # </tr> # </tbody> # </table> # </div> # <div class="fortune"> # <h3 id="let-me-wikipedia-it">(Human) Language Fun on Freenode's #perl</h3> # <table class="irc-conversation"> # <tbody> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">Let me wikipedia it.</td> # </tr> # <tr class="saying"> # <td class="who">f00li5h</td> # <td class="text">so now wikipedia is a verb?</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">f00li5h: it's gonna enter the OED.</td> # </tr> # <tr class="saying"> # <td class="who">rindolf</td> # <td class="text">f00li5h: in English every verb can # be nounified and every noun can be verbed</td> # </tr> # </tbody> # </table> # </div> # </body> # </html> # ' # Looks like you failed 1 test of 1. t/to-xhtml........dubious
Hi PAJAS! Thanks for the quick and informative response. On Tue Jul 08 16:49:07 2008, PAJAS wrote: Show quoted text
> Hi Shlomi, > > I cannot provide any support for rpm packages, that's problem for
the Show quoted text
> distributors. Did you try compiling CPAN versions of > XML-LibXML/XSLT-1.66? If you say you tried vanilla perl-5.10, did
you Show quoted text
> recompile the XML-LibX* packages?
OK! Vanilla perl-5.10.0 (installed under a different prefix) with a self-compiled version of XML-LibXSLT works perfectly fine. I guess it's a problem with Mandriva somewhere. Show quoted text
> Can you run valgrind on your test: > > valgrind perl -Mblib t/to-xhtml.t > > and post the output? >
Here you go: {{{{{{{{{{{{{{{{ ==8324== Memcheck, a memory error detector. ==8324== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==8324== Using LibVEX rev 1854, a library for dynamic binary translation. ==8324== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==8324== Using valgrind-3.3.1, a dynamic binary instrumentation framework. ==8324== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==8324== For more details, rerun with: -v ==8324== ==8324== My PID = 8324, parent PID = 17559. Prog and args are: ==8324== perl ==8324== -Mblib ==8324== t/to-xhtml.t ==8324== ==8324== Conditional jump or move depends on uninitialised value(s) ==8324== at 0x4099150: Perl_re_compile (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4099B3D: Perl_pregcomp (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x407ADD9: Perl_pmruntime (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x406DDE0: Perl_yyparse (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40FDE4C: (within /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4100562: Perl_pp_require (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C5980: Perl_runops_standard (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C2E61: Perl_call_sv (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C3304: Perl_call_list (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4070541: (within /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x407F9E1: Perl_newATTRSUB (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x407E820: Perl_utilize (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== ==8324== Conditional jump or move depends on uninitialised value(s) ==8324== at 0x4099150: Perl_re_compile (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4099B3D: Perl_pregcomp (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x410A071: Perl_pp_regcomp (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C5980: Perl_runops_standard (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C2E61: Perl_call_sv (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C3304: Perl_call_list (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4070541: (within /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x407F9E1: Perl_newATTRSUB (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x407E820: Perl_utilize (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x406F1A1: Perl_yyparse (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40FDE4C: (within /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4100562: Perl_pp_require (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== ==8324== Conditional jump or move depends on uninitialised value(s) ==8324== at 0x4099150: Perl_re_compile (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4099B3D: Perl_pregcomp (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x407ADD9: Perl_pmruntime (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x407B316: Perl_ck_split (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x407B639: Perl_convert (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x406ED84: Perl_yyparse (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40FDE4C: (within /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4100562: Perl_pp_require (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C5980: Perl_runops_standard (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C2E61: Perl_call_sv (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x40C3304: Perl_call_list (in /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== by 0x4070541: (within /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so) ==8324== ==8324== ERROR SUMMARY: 19 errors from 3 contexts (suppressed: 51 from 1) ==8324== malloc/free: in use at exit: 2,722,855 bytes in 59,936 blocks. ==8324== malloc/free: 98,002 allocs, 38,066 frees, 4,852,294 bytes allocated. ==8324== For counts of detected errors, rerun with: -v ==8324== searching for pointers to 59,936 not-freed blocks. ==8324== checked 3,014,624 bytes. ==8324== ==8324== LEAK SUMMARY: ==8324== definitely lost: 5,746 bytes in 98 blocks. ==8324== possibly lost: 0 bytes in 0 blocks. ==8324== still reachable: 2,717,109 bytes in 59,838 blocks. ==8324== suppressed: 0 bytes in 0 blocks. ==8324== Rerun with --leak-check=full to see details of leaked memory. }}}}}}}}}}}}}} Show quoted text
> You should also post the output of perl -V,
{{{{{{{{{{{{{{{{ Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.22.18-server-1mdv, archname=i386-linux-thread-multi uname='linux n3.mandriva.com 2.6.22.18-server-1mdv #1 smp mon feb 11 16:46:24 est 2008 i686 intel(r) xeon(tm) cpu 2.80ghz gnulinux ' config_args='-des -Dinc_version_list=5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DDEBUGGING=-g -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=root@localhost -Dd_dosuid -Ud_csh -Duseshrplib -Duseithreads -Di_db -Di_ndbm -Di_gdbm' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.3.1', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.8.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.8' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: Mandriva Linux patches Built under linux Compiled at Jun 11 2008 10:44:04 %ENV: PERL5LIB="/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.10.0:/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8:/home/shlomi/apps/perl/modules/lib/perl5/5.10.0:/home/shlomi/apps/perl/modules/lib/perl5/5.8.8" @INC: /home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.10.0 /home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8 /home/shlomi/apps/perl/modules/lib/perl5/5.10.0/i386-linux-thread-multi /home/shlomi/apps/perl/modules/lib/perl5/5.10.0 /home/shlomi/apps/perl/modules/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl . }}}}}}}}}}}}}}}} Show quoted text
> and indicate the versions > of libxml2 and libxslt used (and maybe also try vanilla ones from > xmlsoft.org).
It seems the problem is in the perl stuff, because vanilla works fine. Thanks, anyway! I'll try to see where the problem lies in MDV Cooker. Regards, Shlomi Fish Show quoted text
> > I tried your test with CPAN 1.66-versions on openSUSE 11 (also > perl-5.10), and got no segfault at all; also, no error was reported
by Show quoted text
> valgrind. This does not prove anything, since many things may be > different between my and your configuration, but it's up to you to
do Show quoted text
> some more testing. I'll try a vanilla perl-5.10, since so far I used > vendor's, which says > > Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV > PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP > PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV > USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS > USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API > > Instead of a segfault, I got a usual failure, probably because your > test is not correct.
Yes, it was fixed in the trunk since then.
since this was Mandriva only problem, I'm closing the bug for now.