btw, I should have done a 'thread apply all bt'; inline below.
I still have the core dump if there's anything you'd like me to poke
in there (sorry I don't have symbols). No special options; it was
just something along the lines of "ag blah /usr/src".
#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) thread apply all bt
Thread 4 (process 7821):
#0 0x0000014e31107e3a in _thread_sys___thrsleep () at <stdin>:2
#1 0x0000014e2eb2b928 in pthread_cond_wait (condp=0x14b391111f0,
mutexp=Variable "mutexp" is not available.
)
at /usr/src/lib/librthread/rthread_sync.c:501
#2 0x0000014b38d09c73 in search_file_worker () from /usr/local/bin/ag
#3 0x0000014e2eb2999e in _rthread_start (v=Variable "v" is not available.
)
at /usr/src/lib/librthread/rthread.c:145
#4 0x0000014e310e22fb in __tfork_thread ()
at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#5 0x0000000000000000 in ?? ()
Current language: auto; currently asm
Thread 3 (process 174):
#0 0x0000014e31107e3a in _thread_sys___thrsleep () at <stdin>:2
#1 0x0000014e2eb2b928 in pthread_cond_wait (condp=0x14b391111f0,
mutexp=Variable "mutexp" is not available.
)
at /usr/src/lib/librthread/rthread_sync.c:501
#2 0x0000014b38d09c73 in search_file_worker () from /usr/local/bin/ag
#3 0x0000014e2eb2999e in _rthread_start (v=Variable "v" is not available.
)
at /usr/src/lib/librthread/rthread.c:145
#4 0x0000014e310e22fb in __tfork_thread ()
at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#5 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
Thread 2 (process 15966):
#0 0x0000014e31107e3a in _thread_sys___thrsleep () at <stdin>:2
#1 0x0000014e2eb2b928 in pthread_cond_wait (condp=0x14b391111f0,
mutexp=Variable "mutexp" is not available.
)
at /usr/src/lib/librthread/rthread_sync.c:501
#2 0x0000014b38d09c73 in search_file_worker () from /usr/local/bin/ag
#3 0x0000014e2eb2999e in _rthread_start (v=Variable "v" is not available.
)
at /usr/src/lib/librthread/rthread.c:145
#4 0x0000014e310e22fb in __tfork_thread ()
at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#5 0x0000000000000000 in ?? ()
Thread 1 (process 1919):
#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
---Type <return> to continue, or q <return> to quit---
#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 ?? ()
Current language: auto; currently c