1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Crash

Discussion in 'Support' started by vefatica, Jun 28, 2010.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    This gives 0xC0000005 at 0x1005E45E every time:

    file://e:\ma[Tab][Home]

    (I know it's malformed.) I first tried to complete a path ([Tab]). Then I wanted to go to the beginning to insert a space (still thinking of completion). I was actually trying to get to

    file://e:/mail/vefatica/YRWJYG0W.CNM
     
  2. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    0
    TCC 11.00.50 Windows 7 [Version 6.1.7600]
    TCC Build 50 Windows 7 Build 7600

    I can't reproduce this. It just tab completes for me.


    On Mon, Jun 28, 2010 at 7:49 AM, vefatica <> wrote:




    --
    Jim Cook
    2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
    Next year they're Monday.
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,032
    Likes Received:
    84
    Not reproducible here. Is this with no plugins or key aliases?

    Rex Conn
    JP Software
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    On Tue, 29 Jun 2010 08:06:07 -0400, rconn <>
    wrote:

    |---Quote---
    |> This gives 0xC0000005 at 0x1005E45E every time:
    |>
    |> file://e:\ma[Tab][Home]
    |>
    |> (I know it's malformed.) I first tried to complete a path ([Tab]).
    |> Then I wanted to go to the beginning to insert a space (still thinking
    |> of completion). I was actually trying to get to
    |>
    |> file://e:/mail/vefatica/YRWJYG0W.CNM
    |---End Quote---
    |Not reproducible here. Is this with no plugins or key aliases?

    Yes. I just tried it with no plugins and no aliases/functions at all
    ... still utterly reproducible.
     
  5. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    On Tue, 29 Jun 2010 08:06:07 -0400, rconn <>
    wrote:

    |---Quote---
    |> This gives 0xC0000005 at 0x1005E45E every time:
    |>
    |> file://e:\ma[Tab][Home]
    |>
    |> (I know it's malformed.) I first tried to complete a path ([Tab]).
    |> Then I wanted to go to the beginning to insert a space (still thinking
    |> of completion). I was actually trying to get to
    |>
    |> file://e:/mail/vefatica/YRWJYG0W.CNM
    |---End Quote---

    WinDbg shows:

    (384.8a4): Access violation - code c0000005 (!!! second chance !!!)
    eax=02160018 ebx=00d8c5c4 ecx=00d9f6cc edx=0000000a esi=00d9f6cc
    edi=02160018
    eip=1005e45e esp=00d8c568 ebp=00d9ff04 iopl=0 nv up ei pl nz
    na pe nc
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206
    TakeCmd!SetCodePage+0x915e:
    1005e45e 8b47fc mov eax,dword ptr [edi-4]
    ds:0023:02160014=????????


    WARNING: Stack unwind information not available. Following frames may
    be wrong.
    00000000 00007fff 00000007 TakeCmd!SetCodePage+0x915e
    00000003 00d9ff60 00007fff TakeCmd!GetLine+0x4a
    00000000 00000000 014b3a00 tcc+0x1731
    0239d7a8 00000018 7ffd9000 tcc+0x3d51
    00403da8 00000000 00905a4d kernel32!BaseProcessStart+0x23

    At 00d9ff60 is the command line text.
     
  6. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    On Tue, 29 Jun 2010 08:06:07 -0400, rconn <>
    wrote:

    |---Quote---
    |> This gives 0xC0000005 at 0x1005E45E every time:
    |>
    |> file://e:\ma[Tab][Home]
    |>
    |> (I know it's malformed.) I first tried to complete a path ([Tab]).
    |> Then I wanted to go to the beginning to insert a space (still thinking
    |> of completion). I was actually trying to get to
    |>
    |> file://e:/mail/vefatica/YRWJYG0W.CNM
    |---End Quote---

    You can shorten it to:
    Code:
    file://[Tab][Home]
     
  7. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    0
    The moment I press tab, a filename is completed. Pressing home moves to the
    left edge.

    TCC 11.00.50 Windows 7 [Version 6.1.7600]
    TCC Build 50 Windows 7 Build 7600


    Is there any chance that the current folder and/or contents are aiding in
    the failure? If you post a dir, I can try to reproduce contents more
    precisely.

    On Tue, Jun 29, 2010 at 7:36 AM, vefatica <> wrote:




    --
    Jim Cook
    2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
    Next year they're Monday.
     
  8. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    On Tue, 29 Jun 2010 11:20:23 -0400, Jim Cook <>
    wrote:

    |The moment I press tab, a filename is completed. Pressing home moves to the
    |left edge.
    |
    |TCC 11.00.50 Windows 7 [Version 6.1.7600]
    |TCC Build 50 Windows 7 Build 7600
    |
    |
    |Is there any chance that the current folder and/or contents are aiding in
    |the failure? If you post a dir, I can try to reproduce contents more
    |precisely.

    When I press [Tab] nothing happens, even in the original example where
    there exist completions.

    It happens in any directory.

    In OPTION, under "filename completion", the first three are checked;
    "search path" is not.
     
  9. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    On Tue, 29 Jun 2010 11:20:23 -0400, Jim Cook <>
    wrote:

    |> You can shorten it to:
    |>
    |> Code:
    |> ---------
    |> file://[Tab][Home]
    |> ---------

    It also happens in v10 and v10LE. It doesn't happen in v9.

    I never see any completion.
     
  10. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    On Tue, 29 Jun 2010 11:57:36 -0400, vefatica <>
    wrote:

    ||> You can shorten it to:
    ||>
    ||> Code:
    ||> ---------
    ||> file://[Tab][Home]
    ||> ---------
    |
    |It also happens in v10 and v10LE. It doesn't happen in v9.
    |
    |I never see any completion.

    This will do it too:

    Code:
    mailto://[Tab][Home]
    Probably unrelated and a little odd:

    Code:
    file://[Enter]
    opens MyComputer.
     
  11. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    0
    My option check boxes are the same as yours. I had a folder C:\RAM\Test with
    two files file1.txt and file2.txt. I keyed "file://" and then used procmon
    and filtered on the PID of TCC. I pressed TAB and then stopped procmon and
    saved the results as a CSV.

    The results are here:

    "Time of Day","Process Name","PID","Operation","Path","Result","Detail"
    "09:03:24.6800909","TCC.EXE","4164","CreateFile","C:\","SUCCESS","Desired
    Access: Synchronize, Disposition: Open, Options: Directory, Synchronous IO
    Non-Alert, Attributes: n/a, ShareMode: None, AllocationSize: n/a,
    OpenResult: Opened"
    "09:03:24.6801436","TCC.EXE","4164","QueryNameInformationFile","C:\","SUCCESS","Name:
    \"
    "09:03:24.6801583","TCC.EXE","4164","QueryAttributeInformationVolume","C:\","SUCCESS","FileSystemAttributes:
    Case Preserved, Case Sensitive, Unicode, ACLs, Compression, Named Streams,
    EFS, Object IDs, Reparse Points, Sparse Files, Quotas, Transactions,
    0x3c00000, MaximumComponentNameLength: 255, FileSystemName: NTFS"
    "09:03:24.6801687","TCC.EXE","4164","CloseFile","C:\","SUCCESS",""
    "09:03:24.6802707","TCC.EXE","4164","CreateFile","C:\RAM\test","SUCCESS","Desired
    Access: Read Data/List Directory, Synchronize, Disposition: Open, Options:
    Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read,
    Write, Delete, AllocationSize: n/a, OpenResult: Opened"
    "09:03:24.6803003","TCC.EXE","4164","QueryDirectory","C:\RAM\test\*","SUCCESS","Filter:
    *, 1: ."
    "09:03:24.6803223","TCC.EXE","4164","QueryDirectory","C:\RAM\test","SUCCESS","0:
    .., 1: file1.txt, 2: file2.txt"


    On Tue, Jun 29, 2010 at 8:57 AM, vefatica <> wrote:




    --
    Jim Cook
    2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
    Next year they're Monday.
     
  12. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,032
    Likes Received:
    84
    I've tried this on XP, Server 2008, and Windows 7, in 32 and 64-bit, and
    I've been unable to reproduce it anywhere.

    Anybody else able to reproduce this?

    Rex Conn
    JP Software
     
  13. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,032
    Likes Received:
    84
    The stack is impossible.

    Rex Conn
    JP Software
     
  14. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,358
    Likes Received:
    39
    I have not. Might the value of Vince's FileCompletion directive be relevant here?
     
  15. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    On Tue, 29 Jun 2010 18:50:39 -0400, rconn <>
    wrote:

    |> WARNING: Stack unwind information not available. Following frames may
    |> be wrong.
    |> 00000000 00007fff 00000007 TakeCmd!SetCodePage+0x915e
    |> 00000003 00d9ff60 00007fff TakeCmd!GetLine+0x4a
    |> 00000000 00000000 014b3a00 tcc+0x1731
    |> 0239d7a8 00000018 7ffd9000 tcc+0x3d51
    |> 00403da8 00000000 00905a4d kernel32!BaseProcessStart+0x23
    |>
    |> At 00d9ff60 is the command line text.
    |---End Quote---
    |The stack is impossible.

    Yes, I thought being 0x915E bytes into a function as small-sounding as
    SetCodePage was a little odd. But that's what WinDbg said.
     
  16. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,071
    Likes Received:
    30
    On Tue, 29 Jun 2010 18:54:05 -0400, Charles Dye
    <> wrote:

    |---Quote (Originally by rconn)---
    |I've tried this on XP, Server 2008, and Windows 7, in 32 and 64-bit, and I've been unable to reproduce it anywhere.
    |
    |Anybody else able to reproduce this?
    |---End Quote---
    |I have not. Might the value of Vince's FileCompletion directive be relevant here?

    The first 4 are the TCC ones. I don't have a "FileCompletion"
    directive.

    d:\tc11> grepp /i compl TCMD.INI
    CompleteHidden=Yes
    CompleteHiddenFiles=Yes
    CompleteHiddenDirs=Yes
    CompletePaths=No
    ServerCompletion=None
    CompleteHiddenFiles=No
    CompleteHiddenDirs=No
    CompletePaths=No
    ServerCompletion=None
     

Share This Page