NetBSD-Bugs archive

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

Re: toolchain/54411: std::locale broken



The following reply was made to PR toolchain/54411; it has been noted by GNATS.

From: Ryo ONODERA <ryo%tetera.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/54411: std::locale broken
Date: Mon, 29 Jul 2019 11:47:58 +0900

 Hi,
 
 Ryo ONODERA <ryo%tetera.org@localhost> writes:
 
 > Hi,
 >
 > The combination of
 > http://www.netbsd.org/~christos/g++locale.diff and latest src
 > fixes my problems in editors/poedit under LANG=ja_JP.UTF-8.
 > And wiz@'s test program in C++ emits as follows without errors:
 >
 > Thousands separator for en_US is ','
 > Thousands separator for de_DE.UTF-8 is ','
 > Thousands separator for fr_FR.UTF-8 is ','
 >
 > Thank you.
 
 However editors/poedit gets segfault when quitting.
 gdb backtrace is as follows:
 
 Core was generated by `poedit'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0x0000723d31919beb in free () from /usr/lib/libc.so.12
 [Current thread is 1 (process 1)]
 (gdb) bt
 #0  0x0000723d31919beb in free () from /usr/lib/libc.so.12
 #1  0x0000723d32ce6b34 in std::__timepunct<char>::~__timepunct() ()
    from /usr/lib/libstdc++.so.9
 #2  0x0000723d32ce6b4b in std::__timepunct<char>::~__timepunct() ()
    from /usr/lib/libstdc++.so.9
 #3  0x0000723d32cb1311 in std::locale::_Impl::~_Impl() ()
    from /usr/lib/libstdc++.so.9
 #4  0x0000723d32cb166e in std::locale::~locale() ()
    from /usr/lib/libstdc++.so.9
 #5  0x0000723d31956db1 in __cxa_finalize () from /usr/lib/libc.so.12
 #6  0x0000723d31956953 in exit () from /usr/lib/libc.so.12
 #7  0x00000000004497d4 in ?? ()
 #8  0x00007f7e1b80e978 in ?? () from /usr/libexec/ld.elf_so
 #9  0x0000000000000001 in ?? ()
 #10 0x00007f7fff540838 in ?? ()
 #11 0x0000000000000000 in ?? ()
 
 Could you take a look at this too?
 
 Thank you.
 
 -- 
 Ryo ONODERA // ryo%tetera.org@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 


Home | Main Index | Thread Index | Old Index