Reply to the message of Friday December 12, 2003 18:36 +0100 ----------------------------------------------------------------- > >Every time the virus database is updated (by freshclam) > >clamd will abort with a segmentation fault. What I see in > >clamd.log is typically this:
>Thank you for the very good bug report. This is now fixed in CVS. Thanks for the fast response. I've downloaded and installed the latest CVS (from Dec 14th) Things are now working much better, but I am still seeing clamd abort with a segmentation fault. So far I've only seen it one time, but I'll keep my clamd up and running to see if I can provoke it again. >From the clamd debug output: LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = 3ebaf54c909410a2c1d2db61cb388cd7 LibClamAV debug: in cli_untgz() LibClamAV debug: Unpacking /tmp/58259f93c7ffa03c/COPYING LibClamAV debug: Unpacking /tmp/58259f93c7ffa03c/viruses.db2 LibClamAV debug: Loading databases from /tmp/58259f93c7ffa03c LibClamAV debug: Loading /tmp/58259f93c7ffa03c/viruses.db2 LibClamAV debug: Scanning /home/andersh/.bash_profile LibClamAV debug: Scanning /home/andersh/.bash_profile LibClamAV debug: Scanning /home/andersh/.bash_profile LibClamAV debug: Scanning /home/andersh/.bash_profile LibClamAV debug: Scanning /home/andersh/.bash_profile Segmentation fault And output from gdb on the core file: #0 0x4001d081 in cli_findpos ( buffer=0x401d5a89 "# ~/.bash_profile: executed by bash(1) for login shells.\ n# see /usr/share/doc/bash/examples/startup-files for examples.\n# the files are located in the bash-doc package.\n\n# the default umask is set in "..., offset=141528080, length=556, pattern=0x86f8c10) at matcher.c:257 257 if(pattern->pattern[i] != CLI_IGN && (char) pattern->pattern[i] != buffer[bufferpos]) (gdb) bt #0 0x4001d081 in cli_findpos ( buffer=0x401d5a89 "# ~/.bash_profile: executed by bash(1) for login shells.\ n# see /usr/share/doc/bash/examples/startup-files for examples.\n# the files are located in the bash-doc package.\n\n# the default umask is set in "..., offset=141528080, length=556, pattern=0x86f8c10) at matcher.c:257 #1 0x4001cf8d in cl_scanbuff ( buffer=0x401d5a89 "# ~/.bash_profile: executed by bash(1) for login shells.\ n# see /usr/share/doc/bash/examples/startup-files for examples.\n# the files are located in the bash-doc package.\n\n# the default umask is set in "..., length=556, virname=0xbf7ff960, root=0x805a170) at matcher.c:214 #2 0x40020372 in cli_scandesc (desc=11, virname=0xbf7ff960, scanned=0x0, root=0x805a170) at scanners.c:96 #3 0x400213e7 in cli_magic_scandesc (desc=11, virname=0xbf7ff960, scanned=0x0, root=0x805a170, limits=0xbffffba0, options=1, reclev=0xbf7ff8f4) at scanners.c:718 #4 0x40021630 in cl_scandesc (desc=141528080, virname=0x86f8c10, scanned=0x86f8c10, root=0x86f8c10, limits=0x86f8c10, options=141528080) at scanners.c:731 #5 0x400216b4 in cl_scanfile ( filename=0x80523d8 "/home/andersh/.bash_profile", virname=0x86f8c10, scanned=0x86f8c10, root=0x86f8c10, limits=0x86f8c10, options=141528080) at scanners.c:742 #6 0x0804ef18 in clamukoth (arg=0x80523d8) at clamuko.c:171 ---Type <return> to continue, or q <return> to quit--- #7 0x40055e31 in pthread_start_thread () from /lib/libpthread.so.0 (gdb) Anders ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users