From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7598 invoked by alias); 2 Sep 2011 12:46:49 -0000 Received: (qmail 7589 invoked by uid 22791); 2 Sep 2011 12:46:48 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,TW_XS 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, 02 Sep 2011 12:46:32 +0000 Received: from rly21a.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly21a.srv.mailcontrol.com (MailControl) with ESMTP id p82Cjw2u008125 for ; Fri, 2 Sep 2011 13:46:26 +0100 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by rly21a.srv.mailcontrol.com (MailControl) id p82CjEnQ030483 for ; Fri, 2 Sep 2011 13:45:14 +0100 Received: from mail2.neceur.com (mail2.neceur.com [195.47.207.4]) by rly21a-eth0.srv.mailcontrol.com (envelope-sender ) (MIMEDefang) with ESMTP id p82Cj4YH028634; Fri, 02 Sep 2011 13:45:14 +0100 (BST) Received: from intmail1.nenh.neceur.com (intmail1.nenh.neceur.com [172.29.14.11]) by mail2.neceur.com (8.13.8/8.13.8) with ESMTP id p82Cj02P006242; Fri, 2 Sep 2011 13:45:00 +0100 Received: from av2.neceur.com (av2.neceur.com [172.29.177.7]) by intmail1.nenh.neceur.com (8.13.8/8.13.8) with ESMTP id p82Cixn9010956; Fri, 2 Sep 2011 13:44:59 +0100 Received: from av2.neceur.com (unknown [127.0.0.1]) by IMSVA80 (Postfix) with ESMTP id 8FA5B226F0F; Fri, 2 Sep 2011 13:44:59 +0100 (BST) Received: from EX10CAS02.EU.NEC.COM (unknown [172.29.155.134]) by av2.neceur.com (Postfix) with ESMTP id 801E5226EF4; Fri, 2 Sep 2011 13:44:59 +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, 2 Sep 2011 13:44:59 +0100 From: David Aldrich To: "gdb@sourceware.org" CC: Baurzhan Ismagulov Subject: RE: Empty core dump file Date: Fri, 02 Sep 2011 12:46:00 -0000 Message-ID: <41302A7145AC054FA7A96CFD03835A0A049A74@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-09/txt/msg00008.txt.bz2 Hi=20 I would like to revisit this problem please. To recap, I am debugging a program hosted by a Centos 5.5 virtual machine (= using VirtualBox). When the program is built on a shared (with Windows) fo= lder I find that any resulting core file is of zero length. I have run: ulimit -c unlimited This is a file permissions problem because if I mount the shared folder wit= h a specific uid the core file is correctly saved. So I must use a mount c= ommand such as: mount -t vboxsf -o rw,uid=3D1000,gid=3D1000 SVNProj /media/SVNProj which I store in /etc/rc.local If I omit uid the core file becomes empty. The problem with this is that I must customise the mount command for each u= ser, i.e. mount needs their uid. Is there a better solution for this problem please? Best regards David