Skip to content
Tcl Source Code History Of Ticket 3164655
Login

History Of Ticket 3164655

Artifacts Associated With Ticket 3164655

  1. Ticket change [8087cd40a8] (rid 116887) by fridolin on 2011-01-24 11:42:23:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      with Tcl/Tk HEAD we found random crashes only on HP-UX in a socket command. gdb shows
      this trace:
      
      #0  0xc019b4f0 in free+0x140 () from /usr/lib/libc.2
      #1  0xc0162218 in __getipnodebyname_r+0x9b8 () from /usr/lib/libc.2
      #2  0xc01617bc in getipnodebyname+0x94 () from /usr/lib/libc.2
      #3  0xc0160860 in getaddrinfo+0x288 () from /usr/lib/libc.2
      
      Guessing from the comments, I found a patch. At the first sight, it seems to fix the
      problem, but it is not very well tested. I'll add a comment, if the problem with this
      patch remains. It is simply:
      
      Index: tclIOSock.c
      ===================================================================
      RCS file: /cvsroot/tcl/tcl/generic/tclIOSock.c,v
      retrieving revision 1.15
      diff -w -s -r1.15 tclIOSock.c
      183c183
      < #if defined(AI_ADDRCONFIG) && !defined(_AIX)
      ---
      > #if defined(AI_ADDRCONFIG) && !defined(_AIX) && !defined(__hpux)
      
      
      
      
      
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "fridolin"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to: "socket: getaddrinfo() crashed on HP-UX "
    12. type initialized to: "Bug"
  2. Ticket change [d75616cce5] (rid 123966) by fridolin on 2011-01-25 16:09:24:

    1. icomment:
      Now we tested the patch a lot. No random crashes anymore. 
      
      
    2. login: "fridolin"
    3. mimetype: "text/plain"
    4. username: "fridolin"
  3. Ticket change [f6cfd100ba] (rid 130366) by andreas_kupries on 2011-01-25 23:29:01:

    1. assignee changed to: "rmax"
    2. icomment:
      Reassigned to Reinhard, IPv6 maintainer. This looks to be in that area.
      
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. username: "andreas_kupries"
  4. Ticket change [c774668495] (rid 121934) by rmax on 2011-06-07 19:54:02:

    1. icomment:
      Fix applied to rmax-ipv6-branch and will soon be merged to trunk.
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  5. Ticket change [2781d6b02a] (rid 88528) by rmax on 2011-06-07 19:54:04:

    1. closedate changed to: "2011-06-07T12:54:04"
    2. closer changed to: "rmax"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"