develooper Front page | perl.perl5.porters | Postings from April 2014

[perl #121734]

Thread Next
From:
rurban @ cpanel . net
Date:
April 25, 2014 19:33
Subject:
[perl #121734]
Message ID:
rt-4.0.18-9711-1398454407-395.121734-75-0@perl.org
# New Ticket Created by  rurban@cpanel.net 
# Please include the string:  [perl #121734]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=121734 >


Subject: cygwin: setlocale(LC_ALL, "ja_JP.utf8") panic: strxfrm() gets absurd
Message-Id: <5.14.2_2132_1398453260@win>
Reply-To: rurban@cpanel.net
To: perlbug@perl.org
From: rurban@cpanel.net


This is a bug report for perl from rurban@x-ray.at,
generated with the help of perlbug 1.39 running under perl 5.14.2.


-----------------------------------------------------------------
cygwin 5.18.2

$ ./perl -MPOSIX -e'setlocale(LC_ALL, "ja_JP.utf8")'
panic: strxfrm() gets absurd - a => 100, ab => 100 at -e line 1.

all other locales before ja_JP.utf8 in lib/locale.t do work fine.
I haven't checked if that's the problem fixed in blead with setlocale by
kwh, or a cygwin bug.

-----------------------------------------------------------------
---
Flags:
    category=library
    severity=high
    module=POSIX
---
This perlbug was built using Perl 5.14.2 - Thu Jul 12 13:58:56 CDT 2012
It is being executed now by  Perl 5.14.2 - Mon Sep 17 12:58:11 CDT 2012.

Site configuration information for perl 5.14.2:

Configured by rurban at Mon Sep 17 12:58:11 CDT 2012.

Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
   
  Platform:
    osname=cygwin, osvers=1.7.17s(0.26253), archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 win 1.7.17s(0.26253) 20120801 11:02:01 i686 cygwin '
    config_args='-de -Dlibperl=cygperl5_14.dll -Dcc=gcc-4 -Dld=g++-4 -Darchname=i686-cygwin-threads-64int -Dmksymlinks -Dusethreads -Accflags=-g'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc-4', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.5.3', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++-4', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
    perllibs=-ldl -lcrypt
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_14.dll
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector'

Locally applied patches:
    Bug#55162 File::Spec::case_tolerant performance
    CYG07 $vendorarch/auto/.rebase
    CYG15 static Win32CORE
    CYG17 cyg-1.7 paths-utf8
    0c612ce82 Fix building static extensions on cygwin, -UUSEIMPORTLIB
    1bac5ecc1 Fix 64-bit threading sv.c: S_anonymise_cv_maybe
    Cygwin::sync_winenv added

---
@INC for perl 5.14.2:
    /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int
    /usr/lib/perl5/site_perl/5.14
    /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int
    /usr/lib/perl5/vendor_perl/5.14
    /usr/lib/perl5/5.14/i686-cygwin-threads-64int
    /usr/lib/perl5/5.14
    /usr/lib/perl5/site_perl/5.10
    /usr/lib/perl5/vendor_perl/5.10
    /usr/lib/perl5/site_perl/5.8
    .

---
Environment for perl 5.14.2:
    HOME=/home/rurban
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/bin:/usr/local/bin:/home/rurban/bin:/usr/sbin/:/usr/local/bin:/usr/bin:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/System32/Wbem:/bin:/home/rurban/bin:/usr/lib/lapack
    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Next


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