develooper Front page | perl.perl5.porters | Postings from January 2017

[perl #130639] Bleadperl v5.25.9-10-g3a0fe090c1 breaksSPROUT/JE-0.066.tar.gz

Thread Previous
From:
Karl Williamson via RT
Date:
January 26, 2017 00:01
Subject:
[perl #130639] Bleadperl v5.25.9-10-g3a0fe090c1 breaksSPROUT/JE-0.066.tar.gz
Message ID:
rt-4.0.24-1224-1485388878-268.130639-15-0@perl.org
On Wed, 25 Jan 2017 13:31:26 -0800, zefram@fysh.org wrote:
> >Subject: [perl #130639] Bleadperl v5.25.9-10-g3a0fe090c1 breaks
> > SPROUT/JE-0.066.tar.gz
> 
> In my own tests, JE-0.066 fails both before and after the commit, in
> identical fashion.  There's a lot of
> 
>     perl: utf8.c:1418: Perl_utf8n_to_uvchr_error: Assertion `0' failed.
> 
> So I'm dubious about the identification of the breaking commit.
> 
> -zefram
> 

Those asserts are to catch in DEBUGGING builds violations of the changed API.  It is now illegal to call Perl_utf8n_to_uvchr with input length 0.  If you have nothing to decode, don't try to decode.
-- 
Karl Williamson

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=130639

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About