------- Comment #5 from rleigh at debian dot org 2006-06-16 13:57 ------- $ g++ --version g++ (GCC) 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)
$ g++ -o wide wide.cc $ time ./wide wide: ../iconv/loop.c:425: utf8_internal_loop_single: Assertion `inptr - bytebuf > (state->__count & 7)' failed. Aborted real 0m12.545s user 0m12.416s sys 0m0.016s All that run time is spent in __gconv_transform_utf8_internal, before it blows up. $ locale LANG=en_GB.UTF8 LANGUAGE=en_GB:en_US:en LC_CTYPE="en_GB.UTF8" LC_NUMERIC="en_GB.UTF8" LC_TIME="en_GB.UTF8" LC_COLLATE="en_GB.UTF8" LC_MONETARY="en_GB.UTF8" LC_MESSAGES="en_GB.UTF8" LC_PAPER="en_GB.UTF8" LC_NAME="en_GB.UTF8" LC_ADDRESS="en_GB.UTF8" LC_TELEPHONE="en_GB.UTF8" LC_MEASUREMENT="en_GB.UTF8" LC_IDENTIFICATION="en_GB.UTF8" LC_ALL= -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28059