From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30457 invoked by alias); 26 Aug 2011 13:47:13 -0000 Received: (qmail 30445 invoked by uid 22791); 26 Aug 2011 13:47:12 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from cluster-a.mailcontrol.com (HELO cluster-a.mailcontrol.com) (85.115.52.190) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Aug 2011 13:46:57 +0000 Received: from rly12a.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly12a.srv.mailcontrol.com (MailControl) with ESMTP id p7QDksHb021325 for ; Fri, 26 Aug 2011 14:46:54 +0100 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by rly12a.srv.mailcontrol.com (MailControl) id p7QDk3oN013269 for ; Fri, 26 Aug 2011 14:46:03 +0100 Received: from mail1.neceur.com (mail1.neceur.com [195.47.207.3]) by rly12a-eth0.srv.mailcontrol.com (envelope-sender ) (MIMEDefang) with ESMTP id p7QDk2Y7013098; Fri, 26 Aug 2011 14:46:03 +0100 (BST) Received: from intmail2.copc.neceur.com (intmail2.copc.neceur.com [172.29.177.11]) by mail1.neceur.com (8.13.8/8.13.8) with ESMTP id p7QDk2An013269; Fri, 26 Aug 2011 14:46:02 +0100 Received: from av1.neceur.com (av1.neceur.com [172.29.14.21]) by intmail2.copc.neceur.com (8.13.8/8.13.8) with ESMTP id p7QDk1Oa008397; Fri, 26 Aug 2011 14:46:01 +0100 Received: from av1.neceur.com (unknown [127.0.0.1]) by IMSVA80 (Postfix) with ESMTP id 81989296B7A; Fri, 26 Aug 2011 14:46:01 +0100 (BST) Received: from EX10CAS02.EU.NEC.COM (unknown [172.29.155.134]) by av1.neceur.com (Postfix) with ESMTP id 74AE8296B74; Fri, 26 Aug 2011 14:46:01 +0100 (BST) Received: from EX10MBX02.EU.NEC.COM ([169.254.2.163]) by EX10CAS02.EU.NEC.COM ([172.29.155.134]) with mapi id 14.01.0289.001; Fri, 26 Aug 2011 14:46:01 +0100 From: David Aldrich To: Baurzhan Ismagulov , "gdb@sourceware.org" Subject: RE: Empty core dump file Date: Fri, 26 Aug 2011 13:47:00 -0000 Message-ID: <41302A7145AC054FA7A96CFD03835A0A047C50@EX10MBX02.EU.NEC.COM> References: <41302A7145AC054FA7A96CFD03835A0A047BD8@EX10MBX02.EU.NEC.COM> <20110826131657.GW25065@radix50.net> In-Reply-To: <20110826131657.GW25065@radix50.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00122.txt.bz2 > On Fri, Aug 26, 2011 at 12:35:59PM +0000, David Aldrich wrote: > > When my C++ program crashes with a segmentation fault I get an empty > > core dump file called core.13754. > ... > > ulimit -c unlimited >=20 > I wouldn't expect any problems if you don't get an error message after th= is > command, but I'd double-check ulimit -Sc and ulimit -Hc outputs. $ ulimit -Sc unlimited $ ulimit -Hc unlimited > > Why might the core dump be empty? >=20 > You do have space on the device, don't you? Yes, but I have just realised that I am working on a shared drive from a VM= . There may be some permissions problem. I will check. > Is this i386? It's a 64-bit Linux VM. Thanks for your help. David