From: David Aldrich <David.Aldrich@EMEA.NEC.COM>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Cc: Baurzhan Ismagulov <ibr@radix50.net>
Subject: RE: Empty core dump file
Date: Fri, 02 Sep 2011 12:46:00 -0000 [thread overview]
Message-ID: <41302A7145AC054FA7A96CFD03835A0A049A74@EX10MBX02.EU.NEC.COM> (raw)
In-Reply-To: <20110826131657.GW25065@radix50.net>
Hi
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) folder 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 with a specific uid the core file is correctly saved. So I must use a mount command such as:
mount -t vboxsf -o rw,uid=1000,gid=1000 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 user, i.e. mount needs their uid.
Is there a better solution for this problem please?
Best regards
David
next prev parent reply other threads:[~2011-09-02 12:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-26 12:36 David Aldrich
2011-08-26 13:17 ` Baurzhan Ismagulov
2011-08-26 13:47 ` David Aldrich
2011-09-02 12:46 ` David Aldrich [this message]
2011-09-02 14:35 ` Worley, Dale R (Dale)
2011-09-06 10:47 ` David Aldrich
2011-09-06 11:14 ` Jan Kratochvil
2011-09-06 15:40 ` David Aldrich
2011-09-03 8:47 ` Baurzhan Ismagulov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41302A7145AC054FA7A96CFD03835A0A049A74@EX10MBX02.EU.NEC.COM \
--to=david.aldrich@emea.nec.com \
--cc=gdb@sourceware.org \
--cc=ibr@radix50.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox