Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Cannot get programs to dump core for the life of me

Cannot get programs to dump core for the life of me
Thread Tools
Dedicated MacNNer
Join Date: Nov 2002
Status: Offline
Reply With Quote
Dec 16, 2003, 06:17 PM
 
There's an app I'm debugging that I want to use the core dump of in GDB. I followed some instructions to enable coredumps in /etc/hostconfig, where I changed:

COREDUMPS=-NO-

to:

COREDUMPS=-YES-

According to the check in /etc/rc.common:

Code:
## # Enable coredumps if requested. ## if [ "${COREDUMPS:=-NO-}" = "-YES-" ]; then ulimit -c unlimited fi
That should've enabled it!

After a reboot, I tried to give it a shot. NOPE. No core dumps. In fact, ulimit -a gives me:

core file size (blocks, -c) 0

Implying that it is still set as 0.

Likewise, even if I ulimit -c 65535 or some other value, and then try to run a program that crashes and dumps core, it still doesn't throw anything in /cores.

What is wrong with Panther?

Using 10.3.1,, latest dev tools.
I offer strictly b2b web-based server-side enterprise solutions for growing e-business trusted content providers ;]
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:18 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2