-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Kojm Sent: Sunday, July 04, 2004 11:20 AM To: [EMAIL PROTECTED] Subject: Re: [Clamav-users] Upgraded kernel causing problems
On Sun, 4 Jul 2004 10:05:05 -0600 "Steve Lenti" <[EMAIL PROTECTED]> wrote: > I have started clamd in TCP mode and connected to it using telnet, but > as soon as I get connected clamd seg faults. Could this be a > threading issue? Should I try the latest CVS version? I don't know. Please enable Debug and Foreground in clamav.conf and run clamd in the debug mode (clamd --debug) - this will allow clamd to drop a core file (or even a few files) in its current working directory. Then try running gdb on those files and post bactraces here. [EMAIL PROTECTED] clamav-0.74]# clamd --debug LibClamAV debug: Loading databases from /usr/local/share/clamav LibClamAV debug: Loading /usr/local/share/clamav/daily.cvd LibClamAV debug: /usr/local/share/clamav/daily.cvd: CVD file detected LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = 23df7fdeae3057b2caf652dfb6c71369 LibClamAV debug: Decoded signature: 23df7fdeae3057b2caf652dfb6c71369 LibClamAV debug: Digital signature is correct. LibClamAV debug: in cli_untgz() LibClamAV debug: Unpacking /tmp/clamav-43fa045d13a579ed/COPYING LibClamAV debug: Unpacking /tmp/clamav-43fa045d13a579ed/viruses.db2 LibClamAV debug: Loading databases from /tmp/clamav-43fa045d13a579ed LibClamAV debug: Loading /tmp/clamav-43fa045d13a579ed/viruses.db2 LibClamAV debug: Initializing trie. LibClamAV debug: Loading /usr/local/share/clamav/main.cvd LibClamAV debug: /usr/local/share/clamav/main.cvd: CVD file detected LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = 2afa38b2ececc44e99e396f97e94adef LibClamAV debug: Decoded signature: 2afa38b2ececc44e99e396f97e94adef LibClamAV debug: Digital signature is correct. LibClamAV debug: in cli_untgz() LibClamAV debug: Unpacking /tmp/clamav-4393f8fed6c12dae/COPYING LibClamAV debug: Unpacking /tmp/clamav-4393f8fed6c12dae/viruses.db LibClamAV debug: Loading databases from /tmp/clamav-4393f8fed6c12dae LibClamAV debug: Loading /tmp/clamav-4393f8fed6c12dae/viruses.db Segmentation fault [EMAIL PROTECTED] clamav-0.74]# gdb clamd core.29871 Core was generated by `clamd --debug'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libclamav.so.1...done. Loaded symbols for /usr/local/lib/libclamav.so.1 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/libbz2.so.1...done. Loaded symbols for /usr/lib/libbz2.so.1 Reading symbols from /usr/lib/libgmp.so.3...done. Loaded symbols for /usr/lib/libgmp.so.3 Reading symbols from /lib/tls/libpthread.so.0...done. Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x40092dec in start_thread () from /lib/tls/libpthread.so.0 #2 0x4017ae8a in clone () from /lib/tls/libc.so.6 I hope this helps. -- STEVE [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
