Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3dc09316925cdf147748f3e5f515562313d4518c
Ticket: 859820ffffffffffffffffffffffffffffffffff
tclsh84t crashes when opening pipe
User & Date: yahalom on 2003-12-14 12:54:25
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    tcl8.4.4
    thread 2.5.2
    win200
    
    when I open a pipe to an exe and another thread closes 
    a pipe to that exe tcl crashes.
    it does not happen all the time. it seems that this 
    actions need to happen at the same time exactly.
    I made locking around the open and close points and it 
    works fine.
    is the open/close pipe not thread safe?
    visual studio says:
    Application popup: tclsh84t.exe - Application Error : The 
    instruction at "0x100682fc" referenced memory 
    at "0x00000009". The memory could not be "read".
    
    unhandled exception in tclsh84t.exe (tcl84t.dll) 
    0xC0000005: Access Violation
    100682E6   call        1006BC20
    100682EB   mov         esi,dword ptr ds:[100896D4h]
    100682F1   add         esp,4
    100682F4   test        esi,esi
    100682F6   je          10068307
    100682F8   mov         eax,dword ptr [esp+8]
    
    ->100682FC   cmp         dword ptr [esi],eax
    100682FE   je          10068319
    10068300   mov         esi,dword ptr [esi+8]
    10068303   test        esi,esi
    10068305   jne         100682FC
    10068307   push        100896CCh
    1006830C   call        1006BC70
    10068311   add         esp,4
    10068314   or          eax,0FFFFFFFFh
    10068317   pop         esi
    10068318   ret
    10068319   push        100896CCh
    1006831E   call        1006BC70
    10068323   mov         eax,dword ptr [esi+4]
    10068326   add         esp,4
    10068329   pop         esi
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "yahalom"
  9. subsystem changed to: "None"
  10. title changed to: "tclsh84t crashes when opening pipe"
  11. type changed to: "Bug"