On 27.10.2014 20:42, Stuart Henderson wrote:
On 2014/10/27 19:44, Florian Stinglmayr wrote:
Hi list,

attached is an update for the_silver_searcher to version 0.26.
It includes a bugfix regarding absolute paths, and also support
for markdown files in the file type parameter.

Regards,
Florian

First time I ran this to test, I hit this ...

Loaded symbols for /usr/libexec/ld.so
#0  0x0000014e31156454 in strlen (
     str=0x14d895449dd "ÐÐÐ", 'ß' <repeats 197 times>...)
     at /usr/src/lib/libc/string/strlen.c:39
39              for (s = str; *s; ++s)
(gdb) bt
#0  0x0000014e31156454 in strlen (
     str=0x14d895449dd "ÐÐÐ", 'ß' <repeats 197 times>...)
     at /usr/src/lib/libc/string/strlen.c:39
#1  0x0000014e31146738 in __vfprintf (fp=0x7f7ffffc4080,
     fmt0=0x14b38e0b963 "%s/%s", ap=Variable "ap" is not available.
) at /usr/src/lib/libc/stdio/vfprintf.c:880
#2  0x0000014e310e74ac in vasprintf (str=0x7f7ffffc4238,
     fmt=0x14b38e0b963 "%s/%s", ap=0x7f7ffffc4140)
     at /usr/src/lib/libc/stdio/vasprintf.c:40
#3  0x0000014b38d0a3f6 in search_file_worker () from /usr/local/bin/ag
#4  0x0000014b38d046e2 in ?? () from /usr/local/bin/ag
#5  0x0000014b38d04b8d in filename_filter () from /usr/local/bin/ag
#6  0x0000014b38d081e5 in filename_filter () from /usr/local/bin/ag
#7  0x0000014b38d09223 in filename_filter () from /usr/local/bin/ag
#8  0x0000014b38d0b749 in search_file_worker () from /usr/local/bin/ag
#9  0x0000014b38d04371 in ?? () from /usr/local/bin/ag
#10 0x0000000000000000 in ?? ()
(gdb) x/16x str
0x14d895449dd:  0xdfd0d0d0      0xdfdfdfdf      0xdfdfdfdf      0xdfdfdfdf
0x14d895449ed:  0xdfdfdfdf      0xdfdfdfdf      0xdfdfdfdf      0xdfdfdfdf
0x14d895449fd:  0xdfdfdfdf      0xdfdfdfdf      0xdfdfdfdf      0xdfdfdfdf
0x14d89544a0d:  0xdfdfdfdf      0xdfdfdfdf      0xdfdfdfdf      0xdfdfdfdf

0xd0, 0xdf - malloc junk. I think somebody else mentioned this before
too ... <checks backlog> ah yes it was doug@.

I didn't hit it on a retry. Looks like a race...


Thanks for the report, I will try to debug it tomorrow to see if I can find and fix it.

Regards,
Florian

Reply via email to