I can confirm this bug. I already posted a question on stackoverflow a few weeks ago (stackoverflow.com/questions/14474691/wifstream-with-imbue-locale-produces-valgrind-errors) before I did deeper investigation. In my current project I work with wstring/wchar_t and also locale / imbue and valgrind reports errors as stated above.
$ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu EGLIBC 2.15-0ubuntu10.3) stable release version 2.15, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.3.
Compiled on a Linux 3.2.30 system on 2012-10-05.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
I can confirm this bug. I already posted a question on stackoverflow a few weeks ago (stackoverflow. com/questions/ 14474691/ wifstream- with-imbue- locale- produces- valgrind- errors) before I did deeper investigation. In my current project I work with wstring/wchar_t and also locale / imbue and valgrind reports errors as stated above.
Using Ubuntu 12.04 LTS
- libc6: mo.archive. ubuntu. com/ubuntu/ precise- updates/ main amd64 Packages dpkg/status 15-0ubuntu10. 2 0 security. ubuntu. com/ubuntu/ precise- security/ main amd64 Packages mo.archive. ubuntu. com/ubuntu/ precise/main amd64 Packages
Installed: 2.15-0ubuntu10.3
Candidate: 2.15-0ubuntu10.3
Version table:
*** 2.15-0ubuntu10.3 0
500 http://
100 /var/lib/
2.
500 http://
2.15-0ubuntu10 0
500 http://
$ /lib/x86_ 64-linux- gnu/libc. so.6 www.debian. org/Bugs/>.
GNU C Library (Ubuntu EGLIBC 2.15-0ubuntu10.3) stable release version 2.15, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.3.
Compiled on a Linux 3.2.30 system on 2012-10-05.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://