FAQ
# New Ticket Created by xliosha@gmail.com
# Please include the string: [perl #82414]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=82414 >



This is a bug report for perl from xliosha@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.12.2.


-----------------------------------------------------------------

Hi!

I try to output unicode stream via ':encoding(cp1250)' layer.
Some symbols doesn't map to this encoding, so i get warnings:

"\x{0456}" does not map to cp1250 at C:\buf\osm\osm2mp.pl line 2637, <$_[...]> line 2460557.
"\x{043d}" does not map to cp1250 at C:\buf\osm\osm2mp.pl line 2637, <$_[...]> line 2460557.
"\x{043d}" does not map to cp1250 at C:\buf\osm\osm2mp.pl line 2637, <$_[...]> line 2460557.
"\x{0438}" does not map to cp1250 at C:\buf\osm\osm2mp.pl line 2637, <$_[...]> line 2460557.
"\x{0446}" does not map to cp1250 at C:\buf\osm\osm2mp.pl line 2637, <$_[...]> line 2460557.
and so on.

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?


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
This perlbug was built using Perl 5.12.0 - Sun Apr 11 11:18:23 2010
It is being executed now by Perl 5.12.2 - Sun Apr 11 11:18:23 2010.

Site configuration information for perl 5.12.2:

Configured by SYSTEM at Sun Apr 11 11:18:23 2010.

Summary of my perl5 (revision 5 version 12 subversion 0) configuration:

Platform:
osname=MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
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='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='..', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86'
libpth=\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl512.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86'

Locally applied patches:
ACTIVEPERL_LOCAL_PATCHES_ENTRY

---
@INC for perl 5.12.2:
C:/Perl/site/lib
C:/Perl/lib
.

---
Environment for perl 5.12.2:
HOME (unset)
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\PC Connectivity Solution\;c:\Program Files\NVIDIA Corporation\PhysX\Common;C:\tools\imagick;C:\Perl\site\bin;C:\Perl\bin;C:\WINXP\system32;C:\WINXP;C:\WINXP\System32\Wbem;c:\tools;c:\tools\my;C:\tools\apache-ant-1.7.1\bin;C:\Program Files\Mercurial;C:\WINXP\system32\WindowsPowerShell\v1.0;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\sperl\c\bin;C:\sperl\perl\site\bin;C:\sperl\perl\bin;C:\Program Files\Subversion\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live
PERL_BADLANG (unset)
SHELL (unset)

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedJan 18, '11 at 7:29p
activeJan 18, '11 at 7:29p
posts1
users1
websiteperl.org

1 user in discussion

Xliosha @ gmail . com: 1 post

People

Translate

site design / logo © 2022 Grokbase