Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Cancelling a 'rogue' make

You might see this bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=178144

Try to remove the recommended code in ProcessClosure#terminate(). My
experience is that the Job will terminate OK but any child processes
that have frozen will still run.

Tim 

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of ext Derek Morris
Sent: Monday, April 02, 2007 12:40 PM
To: CDT General developers list.
Subject: [cdt-dev] Cancelling a 'rogue' make

Hi,

I managed to create a makefile that called itself recursively and so
entered an infinite loop. Doh.

However, I couldn't find a way through the Eclipse UI to kill the make.
Cancel does nothing... In fact I had to switch the whole machine off to
recover (machine became so unresponsive that even Windows taskmgr
wouldn't start).

So, my questions:
- Is there a way to 'kill' a rogue process when cancelling a progress
monitor?
- If not, shouldn't there be?

p.s. I know this is user error in creating a bad makefile, but it does
happen. I was investigating a user complaint where the compiler got
itself into an infinite loop, with similar consequences to above.

Thanks,

--
Derek
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top