confirmed on my machine, with locale zh_CN.UTF-8
[EMAIL PROTECTED]:~/tmp$ LANG=zh_CN.UTF-8 gcc -Wall bug.c 在函数‘main’中: 段错误 请提交一份完整的错误报告, 如有可能请附上经预处理后的源文件。 具体步骤请参见 <URL:http://gcc.gnu.org/bugs.html>。 For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>. [EMAIL PROTECTED]:~/tmp$ echo $LANG zh_CN.UTF-8 [EMAIL PROTECTED]:~/tmp$ In fact, I came cross this bug when I am testing a simple file with the following error: [EMAIL PROTECTED]:~/tmp$ g++ test.cc /usr/include/c++/4.2/ext/new_allocator.h:58:不能从先前的错误中恢复,退出 Preprocessed source stored into /tmp/ccRbNSpw.out file, please attach this to your bugreport. [EMAIL PROTECTED]:~/tmp$ Using "[EMAIL PROTECTED]:~/tmp$ LANG= g++ test.cc" output the correct error messages. Hope it helps. ** Attachment added: "test.cc" http://launchpadlibrarian.net/14196154/test.cc -- [hardy] gcc crash (segmental fault) in zh_CN locale https://bugs.launchpad.net/bugs/220231 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs