On Mon, May 15, 2017, at 18:39, Gavin Smith wrote: > On Mon, May 15, 2017 at 10:55:18AM +0200, Benno Schulenberg wrote: > > To reproduce: > > > > MALLOC_CHECK_=2 info/ginfo doc/info-stnd.info > > > > Then type: i x <Enter> i x <Enter> > > > > Aborted. > > I could find nothing wrong here at all. Do you have valgrind installed? > Maybe try running > > alias VAL='valgrind --log-file=val.log' > VAL info/ginfo doc/info-stnd.info
==5362== Invalid write of size 1 ==5362== at 0x4026107: strcpy (mc_replace_strmem.c:311) ==5362== by 0x805751D: replace_in_documentation (infodoc.c:816) ==5362== by 0x805068E: report_index_match (indices.c:437) ==5362== by 0x8050793: info_next_index_match (indices.c:485) ==5362== by 0x8050162: info_index_search (indices.c:264) ==5362== by 0x805EAA5: info_read_and_dispatch (session.c:253) ==5362== by 0x805EA01: info_session (session.c:221) ==5362== by 0x8055E25: main (info.c:1079) ==5362== Address 0x4b652cf is 0 bytes after a block of size 71 alloc'd ==5362== at 0x4024F20: malloc (vg_replace_malloc.c:236) ==5362== by 0x806CA84: xmalloc (xmalloc.c:41) ==5362== by 0x8056F5B: replace_in_documentation (infodoc.c:663) ==5362== by 0x805068E: report_index_match (indices.c:437) ==5362== by 0x8050793: info_next_index_match (indices.c:485) ==5362== by 0x8050162: info_index_search (indices.c:264) ==5362== by 0x805EAA5: info_read_and_dispatch (session.c:253) ==5362== by 0x805EA01: info_session (session.c:221) ==5362== by 0x8055E25: main (info.c:1079) ==5362== ==5362== Invalid read of size 1 ==5362== at 0x402752F: strchrnul (mc_replace_strmem.c:711) ==5362== by 0x40BCA3C: vfprintf (printf-parse.h:99) ==5362== by 0x40DFF5F: vsnprintf (vsnprintf.c:120) ==5362== by 0x8053D56: text_buffer_vprintf (info-utils.c:1896) ==5362== by 0x806B3CE: build_message_node (window.c:1063) ==5362== by 0x806B242: vwindow_message_in_echo_area (window.c:998) ==5362== by 0x806B28B: window_message_in_echo_area (window.c:1013) ==5362== by 0x80506AA: report_index_match (indices.c:441) ==5362== by 0x8050793: info_next_index_match (indices.c:485) ==5362== by 0x8050162: info_index_search (indices.c:264) ==5362== by 0x805EAA5: info_read_and_dispatch (session.c:253) ==5362== by 0x805EA01: info_session (session.c:221) ==5362== Address 0x4b652cf is 0 bytes after a block of size 71 alloc'd ==5362== at 0x4024F20: malloc (vg_replace_malloc.c:236) ==5362== by 0x806CA84: xmalloc (xmalloc.c:41) ==5362== by 0x8056F5B: replace_in_documentation (infodoc.c:663) ==5362== by 0x805068E: report_index_match (indices.c:437) ==5362== by 0x8050793: info_next_index_match (indices.c:485) ==5362== by 0x8050162: info_index_search (indices.c:264) ==5362== by 0x805EAA5: info_read_and_dispatch (session.c:253) ==5362== by 0x805EA01: info_session (session.c:221) ==5362== by 0x8055E25: main (info.c:1079) ==5362== ==5362== Invalid read of size 1 ==5362== at 0x40BCABF: vfprintf (vfprintf.c:1655) ==5362== by 0x40DFF5F: vsnprintf (vsnprintf.c:120) ==5362== by 0x8053D56: text_buffer_vprintf (info-utils.c:1896) ==5362== by 0x806B3CE: build_message_node (window.c:1063) ==5362== by 0x806B242: vwindow_message_in_echo_area (window.c:998) ==5362== by 0x806B28B: window_message_in_echo_area (window.c:1013) ==5362== by 0x80506AA: report_index_match (indices.c:441) ==5362== by 0x8050793: info_next_index_match (indices.c:485) ==5362== by 0x8050162: info_index_search (indices.c:264) ==5362== by 0x805EAA5: info_read_and_dispatch (session.c:253) ==5362== by 0x805EA01: info_session (session.c:221) ==5362== by 0x8055E25: main (info.c:1079) ==5362== Address 0x4b652cf is 0 bytes after a block of size 71 alloc'd ==5362== at 0x4024F20: malloc (vg_replace_malloc.c:236) ==5362== by 0x806CA84: xmalloc (xmalloc.c:41) ==5362== by 0x8056F5B: replace_in_documentation (infodoc.c:663) ==5362== by 0x805068E: report_index_match (indices.c:437) ==5362== by 0x8050793: info_next_index_match (indices.c:485) ==5362== by 0x8050162: info_index_search (indices.c:264) ==5362== by 0x805EAA5: info_read_and_dispatch (session.c:253) ==5362== by 0x805EA01: info_session (session.c:221) ==5362== by 0x8055E25: main (info.c:1079) This is on an old Atom, a 32-bit machine. Benno -- http://www.fastmail.com - Same, same, but different...
