From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 21:05:11 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FD971065672 for ; Wed, 20 Jan 2010 21:05:11 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 076E28FC18 for ; Wed, 20 Jan 2010 21:05:10 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWK009LQD8LYY50@asmtp027.mac.com> for questions@freebsd.org; Wed, 20 Jan 2010 13:05:10 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001200187 From: Chuck Swiger X-Priority: 3 (Normal) In-reply-to: <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> Date: Wed, 20 Jan 2010 13:05:09 -0800 Message-id: References: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> To: Doug Poland X-Mailer: Apple Mail (2.1077) Cc: questions Questions Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 21:05:11 -0000 Hi-- On Jan 20, 2010, at 12:46 PM, Doug Poland wrote: > Thanks for the suggestion and the pointer to man 5 core. I > implemented your suggestions but still get no core dump. Very > strange... Check your default resource limits (shell startup files & /etc/login.conf) and see whether coredumpsize is set to 0, maybe? If you build and run: % cat crash.c #include main() { char *bad = NULL; bad[0] = '1'; } % cc -o crash crash.c % ./crash [1] 16550 segmentation fault (core dumped) ./crash % ls /cores crash.16550.core ...do you get this trivial program to dump core? Regards, -- -Chuck