https://bugzilla.novell.com/show_bug.cgi?id=332917 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=332917#c30 --- Comment #30 from Andreas Schwab <schwab@novell.com> 2008-04-25 06:28:04 MST --- Created an attachment (id=210487) --> (https://bugzilla.novell.com/attachment.cgi?id=210487) Testcase $ make -s curl LDLIBS=-lcurl $ valgrind ./curl ==17049== Memcheck, a memory error detector. ==17049== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==17049== Using LibVEX rev 1732, a library for dynamic binary translation. ==17049== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==17049== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==17049== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==17049== For more details, rerun with: -v ==17049== 4d3a72da3f21761bf4f2866a6a3400d4ecf67365 refs/heads/master ==17049== Invalid read of size 4 ==17049== at 0xFF6B360: conn_free (url.c:1796) ==17049== by 0xFF6E040: Curl_rm_connc (url.c:487) ==17049== by 0xFF8143C: curl_multi_cleanup (multi.c:1557) ==17049== by 0x10001C6C: main (curl.c:46) ==17049== Address 0x450C57C is 332 bytes inside a block of size 34,176 free'd ==17049== at 0xFFB8A9C: free (vg_replace_malloc.c:233) ==17049== by 0xFF713B8: Curl_close (url.c:384) ==17049== by 0xFF7CE48: curl_easy_cleanup (easy.c:507) ==17049== by 0x10001C64: main (curl.c:45) ==17049== ==17049== Invalid write of size 4 ==17049== at 0xFF6B454: conn_free (url.c:1797) ==17049== by 0xFF6E040: Curl_rm_connc (url.c:487) ==17049== by 0xFF8143C: curl_multi_cleanup (multi.c:1557) ==17049== by 0x10001C6C: main (curl.c:46) ==17049== Address 0x450C57C is 332 bytes inside a block of size 34,176 free'd ==17049== at 0xFFB8A9C: free (vg_replace_malloc.c:233) ==17049== by 0xFF713B8: Curl_close (url.c:384) ==17049== by 0xFF7CE48: curl_easy_cleanup (easy.c:507) ==17049== by 0x10001C64: main (curl.c:45) ==17049== ==17049== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 5 from 2) ==17049== malloc/free: in use at exit: 756 bytes in 11 blocks. ==17049== malloc/free: 3,040 allocs, 3,029 frees, 96,621 bytes allocated. ==17049== For counts of detected errors, rerun with: -v ==17049== searching for pointers to 11 not-freed blocks. ==17049== checked 157,464 bytes. ==17049== ==17049== LEAK SUMMARY: ==17049== definitely lost: 0 bytes in 0 blocks. ==17049== possibly lost: 0 bytes in 0 blocks. ==17049== still reachable: 756 bytes in 11 blocks. ==17049== suppressed: 0 bytes in 0 blocks. ==17049== Rerun with --leak-check=full to see details of leaked memory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.