This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc hangs ! (version 4.1.2, Ubuntu 4.1.2-0ubuntu4)


Sunzir Deepur wrote:
On Feb 17, 2008 3:55 PM, Andrew Haley <aph@redhat.com> wrote:
Sunzir Deepur wrote:
followup:

After a considerabale amount of time (e.g. 15 seconds), something is suddenly
freed, and the compilation completes successfully. afterwards trying
to recompile
the file completes immediately (it is not a big file, so it takes
fraction of a second).
I don't know what is the cause of the hang.. I can tell that while it is hung,
the cpu is not working (gcc doesn't even show in top..).
It's waiting on I/O.  This delay is either network related or a disk is
going to die.  It almost certainly isn't a gcc bug.

Thank you. Any idea how can I further scrutinize this ?

You need to know whether it's waiting for disk or network; I can't help you with that. Then you need to think about smartd reporting or somesuch.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]