Child threads not exiting
Brought to you by:
bozho
I have noticed that if Console2 crashes it leaves the threads in the tabs running this means that when it does crash you have to manually kill all the child processes or end up with an ever growing process table.
Here is the specific example that made me notice this issue. I had a number of tabs open, each with bash running in cygwin. One of my tabs had an instance of weblogic running. After Console2 crashed I was unable to restart my instance of weblogic since resources where in use, when I checked the process table I found that the original weblogic instance was still running.
i've run into this as well. it's really bad because there's no way to get control of these "lost" children. i wrote a little bat (killcon.bat) to kill the old child processes and start a new console session. it uses pskill from systernals.
>>>
pskill console.exe 2>nul
pskill drwtsn32.exe 2>nul
pskill cmd.exe 2>nul
pskill ntvdm.exe 2>nul
pskill bash.exe 2>nul
"C:\Program Files\Console2\Console.exe"
>>>
Could you please try my custom build (http://kirill.ca) and report the results?
Marko,
this is supposed to be fixed by http://github.com/akirill/console/commit/cab8bd1f761e3be1ea377f4f33ef4e3fbf4c15ff
--
Kirill.