On 4/4/2011 5:05 PM, David Alix wrote:

> I don't think the results are much ( they are below). We are running
> ClamAV installed from a package.  WIll I need to recompile clamd myself
> to use gdb?

Or get a newer gdb.

> Copyright (C) 2008 Free Software Foundation, Inc.
[snip]

You didn't show the version, but these messages (and the 2008 copyright):

> warning: Couldn't find general-purpose registers in core file.

mean that your clamd was compiled with gcc 4.5.x or even 4.6.0, and
those, by default, use a different debug format which needs gdb 7.0 or
above (current is 7.2).

With luck you may still be able to see where it crashed.

Did you try to use a core file, or just run the daemon inside gdb?

BTW, if it was running before, and started crashing recently, I don't
think using gdb is a good idea, the problem is something that changed: a
data base change, since freshclam doesn't allow loading defective
databases, its probably a 3rd party DB, and those should be installed
with a script that test them first.
-- 
René Berber


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to