Menu

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

     
  • Kirill

    Kirill - 2010-02-06

    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.

     
  • Marko Bozikovic

    Marko Bozikovic - 2010-02-10
    • priority: 5 --> 8
     
  • Marko Bozikovic

    Marko Bozikovic - 2010-08-22
    • status: open --> closed-fixed
     

Log in to post a comment.