[cfarm-users] sigsegv in std::locale::operator=(std::locale const&)

Jeffrey Walton noloader at gmail.com
Sat Aug 4 02:38:02 CEST 2018


I'm catching a crash in std::locale::operator=(std::locale const&):

0xd0a325e0 in std::locale::operator=(std::locale const&) ()
   from /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/7.2.0/libstdc++.a(libstdc++.so.6)
(gdb) bt
#0  0xd0a325e0 in std::locale::operator=(std::locale const&) ()
   from /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/7.2.0/libstdc++.a(libstdc++.so.6)
#1  0xd0a389fc in std::ios_base::_M_init() ()
   from /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/7.2.0/libstdc++.a(libstdc++.so.6)
#2  0xd0991d08 in std::basic_ios<char, std::char_traits<char> >::init ()
   from /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/7.2.0/libstdc++.a(libstdc++.so.6)
...

I believe the issue is the same one discussed at
https://stackoverflow.com/q/43490185/608639 , but there are no
answers. I've tried setting LC_ALL using several common locales but it
did not help.

This may be related, but it seems like a stretch:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59439 (maybe the wrong
locks in this instance?)

Does anyone have an idea?

Jeff


More information about the cfarm-users mailing list