-
Notifications
You must be signed in to change notification settings - Fork 277
Open
Description
Hello.
Valgrind says:
==9657== Invalid free() / delete / delete[] / realloc()
==9657== at 0x483997B: free (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==9657== by 0x129DBC: Memory_free (lib_memory.c:79)
==9657== by 0x129A41: Socket_destroy (socket_linux.c:460)
==9657== by 0x128190: handleConnection (cs104_connection.c:817)
==9657== by 0x488E181: start_thread (pthread_create.c:486)
==9657== by 0x49C3B1E: clone (clone.S:95)
==9657== Address 0x4a96a20 is 0 bytes inside a block of size 8 free'd
==9657== at 0x483997B: free (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==9657== by 0x129DBC: Memory_free (lib_memory.c:79)
==9657== by 0x129A41: Socket_destroy (socket_linux.c:460)
==9657== by 0x128190: handleConnection (cs104_connection.c:817)
==9657== by 0x488E181: start_thread (pthread_create.c:486)
==9657== by 0x49C3B1E: clone (clone.S:95)
==9657== Block was alloc'd at
==9657== at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==9657== by 0x129D1C: Memory_malloc (lib_memory.c:44)
==9657== by 0x129343: TcpSocket_create (socket_linux.c:263)
==9657== by 0x127F22: handleConnection (cs104_connection.c:729)
==9657== by 0x488E181: start_thread (pthread_create.c:486)
==9657== by 0x49C3B1E: clone (clone.S:95)
==9657==
Looks like this problem occurs after timed out connection attempt.
Thank you.
ajimuralk
Metadata
Metadata
Assignees
Labels
No labels