#384 PSCX help crashes program

open
nobody
None
5
2011-06-27
2011-06-27
Alex R
No

Steps to repdouce:
1. Install PSCX for PowerShell (http://pscx.codeplex.com/).
2. Run the PowerShell shell in Console2.
3. Import the PSCX module. (Insure that this succeeded.)
4. Run the 'help' command.
5. Watch Console2 freeze and crash.

Stability is pretty good otherwise; this is the only crash I've experienced so far!

Discussion

  • Seconded. Have this on Win 7 x64.
    This probably have something to do with the way 'less' is implemented on pscx.

     
  • Alex R
    Alex R
    2011-10-01

    Good to know I'm not the only one... Indeed, it seems like the 'less' implementation PSCX uses does some fancy manipulation of the console buffer that Console2 does not like (perhaps). Hopefully Console2 can handle this situation nicely, but if not it woudl be nice it doesn't "hard-crass" at least.

     
  • Alex R
    Alex R
    2011-11-09

    Any news on this one, developers?

    Clearly it's a compatibility issue, but really Console2 should *never* crash due to some weird console buffer, and ideally it should handle it correctly.

    Still not fixed in latest release.

     
  • Kirill
    Kirill
    2011-11-10

    Disclaimer: not tested proposal ahead.

    I've been trying to find some time to test the following hotfix, found by Pat Thoyts from msysGit group, but haven't been successful:

    See
    http://support.microsoft.com/kb/2458000 for the knowledge base article
    and the hotfix link. I tried this out in a clean Windows 7 virtual
    machine and applying the hot-fix stops this 'git diff' crash.

    *** end of quote ***

    However, that git diff command was crashing the plain cmd. So, I'm not convinced that it would help in this particular case, but again I haven't tested it yet.

     
  • Alex R
    Alex R
    2011-11-10

    @akirill: Interesting find there. Do let us know if that KB article ends up being the exact cause of things.

     
  • I recently had similar issue with GNU Octave for Windows (http://www.gnu.org/software/octave/) and it's help command.
    When the help is invoked on the command with long help file, less function is in turn called and we have related problem - Console freezes (screenshot: http://goo.gl/Pd0op\).