trog,

I could finally manage to get the backtrace you requested... clamd now fails
almost every 6 hours. here is what I got:

(gdb) bt
#0  0x40093b94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
#1  0x400939d8 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
#2  0x40093151 in pthread_create@@GLIBC_2.1 () from
/lib/i686/libpthread.so.0
#3  0x0804c3da in acceptloop (socketd=0, root=0x8055c60, copt=0x80537e0) at
server.c:596
#4  0x0804b017 in tcpserver (opt=0x80530e8, copt=0x80537e0, root=0x8066280)
at tcpserver.c:93
#5  0x0804ac29 in clamd (opt=0x80530e8) at clamd.c:201
#6  0x08049ec0 in main (argc=1, argv=0xbffff724) at options.c:109

(gdb) info threads
  3 Thread 16386 (LWP 28549)  0x40187fa6 in nanosleep () from
/lib/i686/libc.so.6
  2 Thread 32769 (LWP 28548)  0x401afb66 in poll () from /lib/i686/libc.so.6
  1 Thread 16384 (LWP 28547)  0x40093b94 in __pthread_sigsuspend () from
/lib/i686/libpthread.so.0

(gdb) thread 1
[Switching to thread 1 (Thread 16384 (LWP 28547))]#0  0x40093b94 in
__pthread_sigsuspend () from /lib/i686/libpthread.so.0
(gdb) bt
#0  0x40093b94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
#1  0x400939d8 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
#2  0x40093151 in pthread_create@@GLIBC_2.1 () from
/lib/i686/libpthread.so.0
#3  0x0804c3da in acceptloop (socketd=0, root=0x8055c60, copt=0x80537e0) at
server.c:596
#4  0x0804b017 in tcpserver (opt=0x80530e8, copt=0x80537e0, root=0x8066280)
at tcpserver.c:93
#5  0x0804ac29 in clamd (opt=0x80530e8) at clamd.c:201
#6  0x08049ec0 in main (argc=1, argv=0xbffff724) at options.c:109

(gdb) thread 2
[Switching to thread 2 (Thread 32769 (LWP 28548))]#0  0x401afb66 in poll ()
from /lib/i686/libc.so.6
(gdb) bt
#0  0x401afb66 in poll () from /lib/i686/libc.so.6
#1  0x40090a8e in __pthread_manager () from /lib/i686/libpthread.so.0
#2  0x401b8327 in clone () from /lib/i686/libc.so.6

(gdb) thread 3
[Switching to thread 3 (Thread 16386 (LWP 28549))]#0  0x40187fa6 in
nanosleep () from /lib/i686/libc.so.6
(gdb) bt
#0  0x40187fa6 in nanosleep () from /lib/i686/libc.so.6



I hope it is useful to you. I still don't know why there are actually 3 PIDs
for clamd. Could you explain this? I just took the first PID, when I quit
gdb it was asking me to detach from the process and from that point on the
other PIDs were not accessible by gdb anymore...

Regards,
Phil.



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to