https://bugs.winehq.org/show_bug.cgi?id=36662
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com --- (In reply to Nikolay Sivov from comment #7)
Could you retest if it still crashes?
With valgrind-3.13.0.SVN-16204-vex-3299 and wine-2.1, I get: ==15711== Invalid free() / delete / delete[] / realloc() ==15711== at 0x7BC5084A: notify_realloc (heap.c:270) ==15711== by 0x7BC551A0: RtlReAllocateHeap (heap.c:1860) ==15711== by 0x4D24CDD: WS_get_local_ips (socket.c:6306) ==15711== by 0x4D24FFC: WS_gethostbyname (socket.c:6389) ==15711== by 0x4BC8192: test_getsockname (sock.c:4455) ==15711== by 0x4BE6468: func_sock (sock.c:10120) ==15711== by 0x4BE72C1: run_test (test.h:589) ==15711== by 0x4BE76ED: main (test.h:671) ==15711== Address 0x6082a98 is 0 bytes after a recently re-allocated block of size 0 alloc'd ==15711== at 0x7BC50754: notify_alloc (heap.c:254) ==15711== by 0x7BC54BD5: RtlAllocateHeap (heap.c:1716) ==15711== by 0x4D24B3E: WS_get_local_ips (socket.c:6272) ==15711== by 0x4D24FFC: WS_gethostbyname (socket.c:6389) ==15711== by 0x4BC8192: test_getsockname (sock.c:4455) ==15711== by 0x4BE6468: func_sock (sock.c:10120) ==15711== by 0x4BE72C1: run_test (test.h:589) ==15711== by 0x4BE76ED: main (test.h:671) ==15711==
==15711== Invalid free() / delete / delete[] / realloc() ==15711== at 0x7BC5084A: notify_realloc (heap.c:270) ==15711== by 0x7BC552CE: RtlReAllocateHeap (heap.c:1896) ==15711== by 0x4D24CDD: WS_get_local_ips (socket.c:6306) ==15711== by 0x4D24FFC: WS_gethostbyname (socket.c:6389) ==15711== by 0x4BC873B: test_gethostbyname (sock.c:4558) ==15711== by 0x4BE6481: func_sock (sock.c:10125) ==15711== by 0x4BE72C1: run_test (test.h:589) ==15711== by 0x4BE76ED: main (test.h:671) ==15711== Address 0x48d62f8 is 0 bytes after a recently re-allocated block of size 0 alloc'd ==15711== at 0x7BC50754: notify_alloc (heap.c:254) ==15711== by 0x7BC54BD5: RtlAllocateHeap (heap.c:1716) ==15711== by 0x4D24B3E: WS_get_local_ips (socket.c:6272) ==15711== by 0x4D24FFC: WS_gethostbyname (socket.c:6389) ==15711== by 0x4BC873B: test_gethostbyname (sock.c:4558) ==15711== by 0x4BE6481: func_sock (sock.c:10125) ==15711== by 0x4BE72C1: run_test (test.h:589) ==15711== by 0x4BE76ED: main (test.h:671) ==15711==
but no crash. And the original leaks aren't present, marking fixed.