On Mon, May 15, 2017, at 22:10, Gavin Smith wrote: > The first thing I notice is that it says there were 71 bytes allocated, > but the call in 'report_index_match' has fewer characters, about 61. So > you are not using English error messages. What locale settings are you > using? (I tried using LANG=de_DE.utf8 but didn't reproduce the error.)
$ locale LANG=eo.utf8 LANGUAGE=eo:nl LC_CTYPE="eo.utf8" LC_NUMERIC="eo.utf8" LC_TIME="eo.utf8" LC_COLLATE="eo.utf8" LC_MONETARY="eo.utf8" LC_MESSAGES="eo.utf8" LC_PAPER="eo.utf8" LC_NAME="eo.utf8" LC_ADDRESS="eo.utf8" LC_TELEPHONE="eo.utf8" LC_MEASUREMENT="eo.utf8" LC_IDENTIFICATION="eo.utf8" LC_ALL= But it aborts also with a Dutch locale and a C locale. LANG= LANGUAGE= LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=en_US.utf8 ==5532== Invalid write of size 1 ==5532== at 0x4026107: strcpy (mc_replace_strmem.c:311) ==5532== by 0x805751D: replace_in_documentation (infodoc.c:816) ==5532== by 0x805068E: report_index_match (indices.c:437) ==5532== by 0x8050793: info_next_index_match (indices.c:485) ==5532== by 0x8050162: info_index_search (indices.c:264) ==5532== by 0x805EAA5: info_read_and_dispatch (session.c:253) ==5532== by 0x805EA01: info_session (session.c:221) ==5532== by 0x8055E25: main (info.c:1079) ==5532== Address 0x4c5009e is 0 bytes after a block of size 62 alloc'd ==5532== at 0x4024F20: malloc (vg_replace_malloc.c:236) ==5532== by 0x806CA84: xmalloc (xmalloc.c:41) ==5532== by 0x8056F5B: replace_in_documentation (infodoc.c:663) ==5532== by 0x805068E: report_index_match (indices.c:437) ==5532== by 0x8050793: info_next_index_match (indices.c:485) ==5532== by 0x8050162: info_index_search (indices.c:264) ==5532== by 0x805EAA5: info_read_and_dispatch (session.c:253) ==5532== by 0x805EA01: info_session (session.c:221) ==5532== by 0x8055E25: main (info.c:1079) Benno -- http://www.fastmail.com - Choose from over 50 domains or use your own
