Skip Menu |

This queue is for tickets about the HTML-Template-Pro CPAN distribution.

Report information
The Basics
Id: 50016
Status: resolved
Priority: 0/
Queue: HTML-Template-Pro

People
Owner: vlasenko [...] imath.kiev.ua
Requestors: frequency [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.91
Fixed in: 0.91



Subject: Regression between 0.90 and 0.91

Message body is not shown because it is too large.

Птн. Сен. 25 08:46:57 2009, FREQUENCY писал: thank you for the report! The bug seems to appear on recent perl. Unfortunately, I am on vacation until Tuesday, so I have no access to development mashine. Could you build a debug version (without -O2) and look with readelf into Pro.so to desipher what function hidden by the address[0x5576297b] calls that realloc? Show quoted text
> *** glibc detected *** /usr/bin/perl: corrupted double-linked list: > 0x099fc798 *** > ======= Backtrace: ========= > /lib/i686/cmov/libc.so.6[0x5562b8f4] > /lib/i686/cmov/libc.so.6[0x5562f5a4] > /lib/i686/cmov/libc.so.6(realloc+0x106)[0x556301f6] > /build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl- > 0.91/blib/arch/auto/HTML/Template/Pro/Pro.so[0x5576297b] > /build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl- > 0.91/blib/arch/auto/HTML/Template/Pro/Pro.so[0x55765ca5] > /build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl- > 0.91/blib/arch/auto/HTML/Template/Pro/Pro.so[0x55766047] > /build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl- >
0.91/blib/arch/auto/HTML/Template/Pro/Pro.so(tmplpro_exec_tmpl+0x2ce)[0x5576634e] Show quoted text
> /build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl- >
0.91/blib/arch/auto/HTML/Template/Pro/Pro.so(XS_HTML__Template__Pro_exec_tmpl_string+0x103)[0x5575e7a3] Show quoted text
> /usr/bin/perl(Perl_pp_entersub+0x552)[0x80b25b2] > /usr/bin/perl(Perl_runops_standard+0x19)[0x80b0bb9] > /usr/bin/perl(perl_run+0x2e0)[0x80aba90] > /usr/bin/perl(main+0xed)[0x8063dfd] > /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x555d37a5] > /usr/bin/perl[0x8063c71] > ======= Memory map: ======== > 08048000-08175000 r-xp 00000000 fe:10 247002 > /usr/bin/perl > 08175000-08177000 rw-p 0012d000 fe:10 247002 > /usr/bin/perl > 09917000-09abd000 rw-p 00000000 00:00 0 > [heap] > 55555000-55571000 r-xp 00000000 fe:10 188499 > /lib/ld-2.9.so > 55571000-55572000 r--p 0001b000 fe:10 188499 > /lib/ld-2.9.so > 55572000-55573000 rw-p 0001c000 fe:10 188499 > /lib/ld-2.9.so > 55573000-55574000 r-xp 00000000 00:00 0 > [vdso] > 55574000-55576000 rw-p 00000000 00:00 0 > 55576000-55577000 r--s 00000000 fe:10 278666 > /build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl-0.91/templates/escape.tmpl > 55579000-5557b000 r-xp 00000000 fe:10 188527 > /lib/i686/cmov/libdl-2.9.so > 5557b000-5557c000 r--p 00001000 fe:10 188527 > /lib/i686/cmov/libdl-2.9.so > 5557c000-5557d000 rw-p 00002000 fe:10 188527 > /lib/i686/cmov/libdl-2.9.so > 5557d000-555a1000 r-xp 00000000 fe:10 188510 > /lib/i686/cmov/libm-2.9.so > 555a1000-555a2000 r--p 00023000 fe:10 188510 > /lib/i686/cmov/libm-2.9.so > 555a2000-555a3000 rw-p 00024000 fe:10 188510 > /lib/i686/cmov/libm-2.9.so > 555a3000-555a4000 rw-p 00000000 00:00 0 > 555a4000-555b9000 r-xp 00000000 fe:10 188525 > /lib/i686/cmov/libpthread-2.9.so > 555b9000-555ba000 r--p 00014000 fe:10 188525 > /lib/i686/cmov/libpthread-2.9.so > 555ba000-555bb000 rw-p 00015000 fe:10 188525 > /lib/i686/cmov/libpthread-2.9.so > 555bb000-555bd000 rw-p 00000000 00:00 0 > 555bd000-55715000 r-xp 00000000 fe:10 188506 > /lib/i686/cmov/libc-2.9.so > 55715000-55716000 ---p 00158000 fe:10 188506 > /lib/i686/cmov/libc-2.9.so > 55716000-55718000 r--p 00158000 fe:10 188506 > /lib/i686/cmov/libc-2.9.so > 55718000-55719000 rw-p 0015a000 fe:10 188506 > /lib/i686/cmov/libc-2.9.so > 55719000-5571c000 rw-p 00000000 00:00 0 > 5571c000-55725000 r-xp 00000000 fe:10 188526 > /lib/i686/cmov/libcrypt-2.9.so > 55725000-55726000 r--p 00008000 fe:10 188526 > /lib/i686/cmov/libcrypt-2.9.so > 55726000-55727000 rw-p 00009000 fe:10 188526 > /lib/i686/cmov/libcrypt-2.9.so > 55727000-5574f000 rw-p 00000000 00:00 0 > 5574f000-55757000 r-xp 00000000 fe:10 254817 > /usr/lib/perl/5.10.0/auto/List/Util/Util.so > 55757000-55758000 rw-p 00007000 fe:10 254817 > /usr/lib/perl/5.10.0/auto/List/Util/Util.so > 55758000-5576a000 r-xp 00000000 fe:10 278830 > /build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl-0.91/blib/arch/auto/HTML/Template/Pro/Pro.so > 5576a000-5576b000 rw-p 00011000 fe:10 278830 > /build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl-0.91/blib/arch/auto/HTML/Template/Pro/Pro.so > 5576b000-5579b000 r-xp 00000000 fe:10 249103 > /usr/lib/libpcre.so.3.12.1 > 5579b000-5579c000 rw-p 0002f000 fe:10 249103 > /usr/lib/libpcre.so.3.12.1 > 5579f000-557c9000 r-xp 00000000 fe:10 188487 > /lib/libgcc_s.so.1 > 557c9000-557ca000 rw-p 00029000 fe:10 188487 > /lib/libgcc_s.so.1 > 55800000-55821000 rw-p 00000000 00:00 0 > 55821000-55900000 ---p 00000000 00:00 0 > ff9d8000-ff9ed000 rw-p 00000000 00:00 0 > [stack] > t/HTML-Template.................dubious > Test returned status 0 (wstat 6, 0x6) > t/magic.........................ok > t/pod...........................ok > t/realloc.......................ok > Failed Test Stat Wstat Total Fail List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/01coderefs.t 0 6 ?? ?? ?? > t/HTML-Template.t 0 6 ?? ?? ?? > Failed 2/12 test scripts. -16/400 subtests failed. > Files=12, Tests=400, 0 wallclock secs ( 0.38 cusr + 0.12 csys = > 0.50 CPU) > Failed 2/12 test programs. -16/400 subtests failed. > make[1]: *** [test_dynamic] Error 255 > dh_auto_test: make returned exit code 2 > make: *** [build] Error 1 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > make[1]: Leaving directory > `/build/jon-libhtml-template-pro-perl_0.91-1-i386-8XlcAR/libhtml- > template-pro-perl-0.91' >
-------------------------------------------------------------------------------- Show quoted text
> Build finished at 20090925-0843
should be fixed in 0.92.
Hi: I don't know how you fixed it without additional information, but I'm glad you were able to reproduce it. I've upgraded it and the issue is solved, so the new version will be uploaded to Debian shortly. Thanks for tracking this down and fixing it :) Marking this bug as resolved now, as it's done. Cheers, Jonathan
Втр. Сен. 29 23:23:52 2009, FREQUENCY писал: Show quoted text
> I don't know how you fixed it without additional information
valgrind :)