Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a script which intermittently returns a white screen of death in firefox and Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. chrome.

When I try to access the script using a PHP HTTP client (like Zend_Http_Client), intermittently I get an exception (sorry I don't have the exact message on me at the moment).

I suspect a segfault. This is further buttressed by the lines in my error log that look like this: [Thu Mar 18 16:03:02 2010] [notice] child pid 845 exit signal Segmentation fault (11)

Now, I'm running RedHat, and I know that RedHat doesn't generate core dumps out-of-the-box. I followed the instructions here, but I'm not seeing any core dumps.

How do I generate a core dump?

share|improve this question
Perhaps giving others an idea of the instructions you followed would be preferable, as the link you supplied requires login details for RedHat... – Zayne S Halsall Nov 18 '10 at 14:42

You need to recompile your programs with debugging symbols.

I have written a small how-to on this topic:; it's FreeBSD specific but might help you out.

share|improve this answer
(1) Recompiling with debugging symbols does not enable core dumps. (2) In RHEL you do not need to recompile anything. You merely install the the associated -debug package. – Mark Wagner Jun 21 '11 at 16:10
(1) I'm obviously aware of that, but getting a core dump is useless if you don't have proper debugging symbols loaded. (2) Unless he installed from source.(3) Thanks for adding absolutely nothing to the conversation. – Aleksey Korzun Jun 21 '11 at 20:59
@MarkWagner Although very fair points in their own right, I don not believe your objections would mean to downvote this answer since what it says is perfectly correct and actually more general and informative as to how one should proceed when a seg fault happens. – ashy_32bit Mar 4 '13 at 12:28
@AlekseyKorzun "Thanks for adding absolutely nothing to the conversation" I believe his comments are actually adding a lot to the conversation. I didn't know RefHat got debugging packages at hand but perhaps you would have to re-compile anyways ! – ashy_32bit Mar 4 '13 at 12:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.