[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#5311: Perl sort doesn't like libc 5.4.7 + LC_CTYPE



-----BEGIN PGP SIGNED MESSAGE-----

Topi Miettinen <Topi.Miettinen@ml.tele.fi>, in an immanent manifestation of deity, wrote:
>This simple perl command line invocation segfaults:
>pop ~ > perl -e 'print sort("b\n", "a\n");'                                    

I just tried this on a system with 5.4.7-6 and I don't get a core dumpe,
even when trying the following:

>$ export LC_CTYPE=iso_8859_1
>$ perl -e 'print sort ("b\n", "a\n");'
>Segmentation fault (core dumped)

What version of libc5 are you using?

>gdb `which perl` core
>#0  0x4010d3eb in strxfrm ()

BTW, you do realize that it is actually the qsort routine calling
strxfrm, both in libc that is crashing and not Perl libraries, don't you?

Perl is at the mercy of libc routines at times.

Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Do you have your clothes on? I probably don't. Take yours off. Feel better. @
@ Sysadmin, webweaver, postmaster for hire.  C/Perl/CGI programmer and tutor. @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMoOIYY4wrq++1Ls5AQGMDAQAiIna8iaHyIxCFYVLmsdjg43VujZPqzEI
M4aVD0q6ZyHlAFXfaQBlBI4J1m0g515+V9Uy96oFdxkniFGDz7xIr/8N7MeOf+mJ
a6Aqu59l59mRpn2orCHBp8ELopObKd8snIwsyUSZUEry81NpU5ljWg34R/XEecPt
ED+NnhOXnXI=
=PZKf
-----END PGP SIGNATURE-----

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: