#324 Child threads not exiting

closed-fixed
nobody
None
8
2010-08-22
2009-10-29
Anonymous
No

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.

Discussion

  • Richard Beels
    Richard Beels
    2010-01-02

    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"
    >>>

     
    • priority: 5 --> 8
     
    • status: open --> closed-fixed