New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: sv_setpvn called with negative strlen #11048
Comments
From xliosha@gmail.comCreated by xliosha@gmail.comThis is a bug report for perl from xliosha@gmail.com, ----------------------------------------------------------------- Hi! I try to output unicode stream via ':encoding(cp1250)' layer. "\x{0456}" does not map to cp1250 at C:\buf\osm\osm2mp.pl line 2637, <$_[...]> line 2460557. And _sometimes_ after few such warnings perl crashes with message: panic: sv_setpvn called with negative strlen at C:\buf\osm\osm2mp.pl line 2375, <$_[...]> line 4001961. Maybe there are problems with octet counting in such cases? Perl Info
|
From @smpeters
Thanks for your report. Unfortunately, without some sample code and Steve |
The RT System itself - Status changed from 'new' to 'open' |
From xliosha@gmail.comHello. This code causes such crash in a few seconds: use 5.010;
-- |
From @ikegamiOn Sat, Feb 5, 2011 at 6:19 AM, liosha <xliosha@gmail.com> wrote:
Reproduced with blead @g76cc22e #0 Perl_sv_setpvn (sv=0x8320068, ptr=0x83388e1 "", len=4294967295) at Deterministic test case: binmode STDOUT, ':encoding(cp1250)'; - Eric |
From @ikegamiHi, This appears to be a bug in Encode, and Encode is maintained separately https://rt.cpan.org/Ticket/Display.html?id=65541 Thanks, |
From [Unknown Contact. See original ticket]Hi, This appears to be a bug in Encode, and Encode is maintained separately https://rt.cpan.org/Ticket/Display.html?id=65541 Thanks, |
@ikegami - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#82414 (status was 'rejected')
Searchable as RT82414$
The text was updated successfully, but these errors were encountered: