Home > Archive > Fortran > December 2004 > g77 core dump
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Joel Mosher 2004-12-23, 9:03 pm |
| I use g77 with FreeBSD 4.9 and sometimes I get core dumps which I don't
want. With big programs it takes 10s of seconds to complete the dump.
I've tried recompiling without -g, but that doesn't seem to prevent the
dumps.
Is there an easy way to prevent dumps?
| |
| Steven G. Kargl 2004-12-23, 9:03 pm |
| In article <6lHyd.2304$wZ2.2016@newssvr13.news.prodigy.com>,
Joel Mosher <kb6rxe@pacbell.net> writes:
> I use g77 with FreeBSD 4.9 and sometimes I get core dumps which I don't
> want. With big programs it takes 10s of seconds to complete the dump.
> I've tried recompiling without -g, but that doesn't seem to prevent the
> dumps.
>
> Is there an easy way to prevent dumps?
Yes.
man login.conf
--
Steve
http://troutmask.apl.washington.edu/~kargl/
| |
|
|
Joel Mosher wrote:
> I use g77 with FreeBSD 4.9 and sometimes I get core dumps which I
don't
> want. With big programs it takes 10s of seconds to complete the dump.
> I've tried recompiling without -g, but that doesn't seem to prevent
the
> dumps.
>
> Is there an easy way to prevent dumps?
The best way is to fix the bug which is causing them. Since you have
the
core dump, use gdb to find the line of code which is causing the
problem:
--bud
| |
| Gerry Thomas 2004-12-23, 9:03 pm |
|
"Joel Mosher" <kb6rxe@pacbell.net> wrote in message
news:6lHyd.2304$wZ2.2016@newssvr13.news.prodigy.com...
> I use g77 with FreeBSD 4.9 and sometimes I get core dumps which I don't
> want. With big programs it takes 10s of seconds to complete the dump.
> I've tried recompiling without -g, but that doesn't seem to prevent the
> dumps.
>
> Is there an easy way to prevent dumps?
So now you want to write costive code (OTOH, you've hit the jackpot in
landing head first in c.l.f., whose most vocal and vacuous utter from the
imprimatur of the potty while playing with their standard issue)? Like your
Mom presumably taught you, you have clean up your own mess.
--
You're Welcome,
Gerry T.
______
"There's man all over for you, blaming on his boots the fault of his
feet." -- Samuel Beckett.
|
|
|
|
|