Ignore Segmentation fault?

When I run a cron, using whenever gem, the script is executed but I get
an error saying its a “[BUG] Segmentation fault” and I get a rather big
core file in my app each time. Can I ignore it? If yes I can just delete
any core files with another cron.

hm not realy, a “Segmentation fault” is a break, mostly an dereference
of a null pointer, into the program which cause it to close. you can not
catch it and you should not ignore it … when did it happen?

On Sat, Jul 16, 2011 at 10:43 AM, Paul B. [email protected]
wrote:

When I run a cron, using whenever gem, the script is executed but I get
an error saying its a “[BUG] Segmentation fault” and I get a rather big
core file in my app each time. Can I ignore it?

Can you? Yes. Should you? Probably not.

Kind of like continuing to drive a car with the “CHECK ENGINE” light
on the dashboard lit up and flashing… “Wait, what’s that smell?”
:slight_smile:

Stu wrote in post #1011265:

If your on BSD you can set kern.sugid_coredump to turn off core dumps.

On other platforms it might be

$ ulimit -c 0

You should investigate the problem though.

Certainly!

Cheers

If your on BSD you can set kern.sugid_coredump to turn off core dumps.

You should investigate the problem though.