Skip Menu |

This queue is for tickets about the SWISH-3 CPAN distribution.

Report information
The Basics
Id: 118263
Status: open
Priority: 0/
Queue: SWISH-3

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

Bug Information
Severity: (no value)
Broken in: 1.000014
Fixed in: (no value)



Subject: Assertion failure in t/01slurp.t
t/01slurp.t may fail with an assertion failure: Assertion failed: (ptr[len] == '\0'), function Perl_sv_usepvn_flags, file sv.c, line 5089. t/01slurp.t ........... Failed 4/6 subtests I've seen this on a freebsd 9.2 system with perl 5.22.1 This can happen also on linux systems. Here's a report with perl 5.24.1-RC3: http://www.cpantesters.org/cpan/report/08f896fa-69f8-11e6-b997-d5a958b9f28c Both perls are configured with -DDEBUGGING --- probably a prerequisite to get assertion failures at all. The gdb backtrace on the freebsd system: #0 0x000000080138c23c in thr_kill () from /lib/libc.so.7 #1 0x000000080143063b in abort () from /lib/libc.so.7 #2 0x0000000801413d35 in __assert () from /lib/libc.so.7 #3 0x00000000005236d9 in Perl_sv_usepvn_flags (sv=0x801b31fd8, ptr=0x8018e9600 "<html>\n <head>\n <title>This is the title of the test.html doc</title>\n <meta name=\"foo\" content=\"metaname foo\" />\n <meta name=\"bar\" content=\"metaname bar\" />\n </head>\n <body>\n <p>some words</p>\n "..., len=236, flags=384) at sv.c:5089 #4 0x000000080241e92a in XS_SWISH__3_slurp (cv=<value optimized out>) at 3.xs:186 #5 0x0000000000509e26 in Perl_pp_entersub () at pp_hot.c:3270 #6 0x00000000004d4e52 in Perl_runops_debug () at dump.c:2234 #7 0x00000000004500c6 in perl_run (my_perl=<value optimized out>) at perl.c:2448 #8 0x0000000000422f05 in main (argc=3, argv=0x7fffffffd268, env=0x7fffffffd288) at perlmain.c:116
Thanks. I hope I've fixed this with https://github.com/karpet/libswish3/commit/6c16004b265503b4b843420377c7fe9c66ee1fa3#diff-0e8e19a0f4061c5d1c12668db4b58726R185 which I have just uploaded as version 1.000015 to PAUSE. Will leave this ticket open to see if that particular error recurs.