Artifacts Associated With Ticket 3164655fffffffffffffffffffffffffffffffff
Ticket change [8087cd40a8] (rid 116887) by fridolin on 2011-01-24 11:42:23:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- 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)
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "fridolin"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "socket: getaddrinfo() crashed on HP-UX "
- type initialized to: "Bug"
Ticket change [d75616cce5] (rid 123966) by fridolin on 2011-01-25 16:09:24:
- icomment:
Now we tested the patch a lot. No random crashes anymore.
- login: "fridolin"
- mimetype: "text/plain"
- username: "fridolin"
- icomment:
Ticket change [f6cfd100ba] (rid 130366) by andreas_kupries on 2011-01-25 23:29:01:
- assignee changed to: "rmax"
- icomment:
Reassigned to Reinhard, IPv6 maintainer. This looks to be in that area.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
Ticket change [c774668495] (rid 121934) by rmax on 2011-06-07 19:54:02:
- icomment:
Fix applied to rmax-ipv6-branch and will soon be merged to trunk.
- login: "rmax"
- mimetype: "text/plain"
- username: "rmax"
- icomment:
Ticket change [2781d6b02a] (rid 88528) by rmax on 2011-06-07 19:54:04:
- closedate changed to: "2011-06-07T12:54:04"
- closer changed to: "rmax"
- resolution changed to: "Fixed"
- status changed to: "Closed"