Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 34fe5e5ff5dff9253403a097253cee66e0337cc3
Ticket: 994748ffffffffffffffffffffffffffffffffff
Tcl_RegisterChannel: duplicate channel names
User & Date: andreas_kupries on 2004-10-29 02:38:06
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Could it be that the generator for channel names wrapped
    around ?  I.e could it be that socket created a new channel,
    and the name it created for it was the name of an existing
    channel which had not been closed ? This would also imply
    that tkchat is leaking socket channel handles. 
    
    Looking deeper at the stack - It seems that some code tries
    to _create_ a new socket while the core is in the
    finalization (exit -> finalization -> destroy window ->
    event -> event handler = eval -> .... -> socket -> boom).
    
    Were you able to reproduce this, with a stack telling us
    more about the program state ?
    
    How long had you let tkchat run to get this ?
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"