Menu

#409 Console2 crashes on Win7

open
nobody
None
3
2012-07-04
2012-04-15
pyramid
No

When launching Console.exe, the program crashes.

A window "Windows command processor has stopped working" is displayed with the options to close or debug the program.
One can see a tiny Console2 window.
After selectiong View>Console Window, another error window appears.

The debug message is:
Unhandled exception at 0x67dd141f in cmd.exe: 0xC0000005: Access violation.

Discussion

  • Kirill

    Kirill - 2012-06-26
    • priority: 5 --> 3
    • status: open --> pending
     
  • Kirill

    Kirill - 2012-06-26

    Have you tried running Console with the default console.xml? It should be next to console.exe and there should be no xml in %appdata%\console folder.

    Sounds like you're trying to run 64-bit shell in 32-bit Console.

    What's the version of Console2? 32-bit or 64-bit? Is OS 32-bit or 64-bit? Please, attach your console.xml file if it's not default.

     
  • pyramid

    pyramid - 2012-07-02

    I am running with default xml on 32 bit Win7 only: Microsoft Windows [Version 6.1.7601]
    There is also no Console2 folder in %appdata%.
    It didn't crash in previous Win7 versions, so maybe it is related to a Win library patch, or (wore) a local configuration (e.g. HOMEDRIVE=H:).

    If you google for "unhandled exception 0xC0000005: Access violation" there is some material that might help pinpointing the problem and if/how this error is related to the Console2 code.

     
  • pyramid

    pyramid - 2012-07-02
    • status: pending --> open
     
  • pyramid

    pyramid - 2012-07-02

    My C:\Programs\Console2\console.xml

     
  • Kirill

    Kirill - 2012-07-02

    I have unconventional HOMEDRIVE on my Win7 32-bit, and Console does not really care about environment variables (except COMSPEC). Thus, could you please provide the output of two commands:

    dir "%appdata%\console"

    echo %comspec%

    FYI: exception 5: access violation is so common that I'll spend the rest of my life searching Internet. If you stumbled upon that exception in connection with Console, could you please post the link?

     
  • Kirill

    Kirill - 2012-07-02
    • status: open --> pending
     
  • pyramid

    pyramid - 2012-07-04

    Here's the output:

    C:\>dir dir "%appdata%\console"
    Volume in drive C is SystemDisk
    Volume Serial Number is EAD5-390E

    Directory of C:\

    File Not Found

    Directory of C:\Users\pyramid\AppData\Roaming

    File Not Found

    C:\>echo %comspec%
    C:\Windows\system32\cmd.exe

    As for exception 5: You are right. It's a needly in a haystack.
    The only one I found is one with Console2 + Telnet:
    http://brianreiter.org/2010/12/14/workaround-console2-telnet-exe-on-windows-7-crashes-conhost-exe/

     
  • pyramid

    pyramid - 2012-07-04
    • status: pending --> open
     

Log in to post a comment.