> pstack should be able to find the symbols if you compile and link with -g
Yes, and ./configure with --without-execstrip helps quite a bit too... :)
Now, pstack simply segfaults.
[root@morpheus root]# pstack 5922
5922: /usr/local/apache/bin/httpd
pstack signal received: Segmentation fault
Strace of pstack xxx ends like this:
...
read(3, "\1\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0@H\5\0\260\0\0\0\0\0\0"..., 40) = 40
close(3) = 0
--- SIGSEGV (Segmentation fault) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x8048c20, [SEGV], SA_RESTART|0x4000000}, 8) = 0
write(2, "pstack signal received: Segmenta"..., 43pstack signal received: Segmentation
fault
) = 43
ptrace(PTRACE_DETACH, 5922, 0, SIG_0) = 0
munmap(0x40018000, 4096) = 0
_exit(1) = ?
Any help would be greatly appreciated… ☺
Sincerely,
Steven Roussey
http://Network54.com/