Bug#747519: bibtool: "Symbol does not start with a letter" random errors with pipe
On 2015-03-02 13:34:30 +0100, Jerome BENOIT wrote:
> I can reproduce the issue on my laptop too,
> but the upstream could not reproduce it on his virtual box.
> Have you try your material on a virtual box ?
I have a virtual machine with Ubuntu 14.04, but I can't reproduce the
bug on it (the bibtool version is not the cause, since I can reproduce
the bug on a Debian 7.8 machine, which has the same bibtool version).
Note also that I can't reproduce the bug when bibtool is run under
valgrind (by adding "valgrind" in front of the bibtool line in my
testcase) on machines where I could reproduce the bug.
Perhaps the code runs too slowly on the virtual machine and under
valgrind.
BTW, valgrind signals a read error:
==4060== Invalid read of size 1
==4060== at 0x114836: ??? (in /usr/bin/bibtool)
==4060== by 0x115110: ??? (in /usr/bin/bibtool)
==4060== by 0x10B304: ??? (in /usr/bin/bibtool)
==4060== by 0x10B945: ??? (in /usr/bin/bibtool)
==4060== by 0x109FAE: ??? (in /usr/bin/bibtool)
==4060== by 0x506FB44: (below main) (libc-start.c:287)
==4060== Address 0x7f59f1c is 0 bytes after a block of size 60 alloc'd
==4060== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==4060== by 0x1196B6: ??? (in /usr/bin/bibtool)
==4060== by 0x1197E0: ??? (in /usr/bin/bibtool)
==4060== by 0x1135BB: ??? (in /usr/bin/bibtool)
==4060== by 0x113734: ??? (in /usr/bin/bibtool)
==4060== by 0x113DB9: ??? (in /usr/bin/bibtool)
==4060== by 0x10BEBB: ??? (in /usr/bin/bibtool)
==4060== by 0x109DE4: ??? (in /usr/bin/bibtool)
==4060== by 0x506FB44: (below main) (libc-start.c:287)
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: