[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sed] segfault when using hu_HU.UTF8 locale
From: |
Allan McRae |
Subject: |
[sed] segfault when using hu_HU.UTF8 locale |
Date: |
Sun, 17 Jul 2011 20:44:25 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110628 Thunderbird/5.0 |
Using sed-4.2.1 and the hu_HU.UTF8 locale on Arch Linux, I get a
segfault while building binutils. I have reduced the relevant files sed
is operating on from binutils to as minimal test case as I could
(attached). Replicate the crash using:
LANG="hu_HU.UTF-8" sed -f targmatch.sed < config.bfd
Note I am not 100% sure this is the fault of sed. glibc-2.14 gives a
segfault with:
*** glibc detected *** sed: malloc(): memory corruption: 0x0907ecd0 ***
while running with glibc-2.13 does not (although valgrind still reports
some interesting memory access only with that locale).
Unfortunately I have not had the time to trace this any further, but I
am interested to see if this is able to be replicated by others.
Thanks,
Allan
targmatch.sed
Description: Text document
config.bfd
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [sed] segfault when using hu_HU.UTF8 locale,
Allan McRae <=