Memory Leak in Item::send() - Exposed in MD5 test case
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Unassigned | ||
Dexter |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Been happening for a while now:
CURRENT_TEST: md5.md5
==8883== Memcheck, a memory error detector.
==8883== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==8883== Using LibVEX rev 1884, a library for dynamic binary translation.
==8883== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==8883== Using valgrind-
==8883== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==8883== For more details, rerun with: -v
==8883==
One can only use the --user switch if running as root
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins.
==8883== Warning: set address range perms: large range [0x7ae3000, 0xfdc3000) (defined)
100214 23:33:18 InnoDB: highest supported file format is Barracuda.
100214 23:33:19 InnoDB Plugin 1.0.4 started; log sequence number 109197056
Plugin 'md5' already existsListening on 0.0.0.0:8430
Listening on :::8430
Listening on 0.0.0.0:8380
Listening on :::8380
././drizzled/
././drizzled/
Version: '2010.02.1288' Source distribution (Drizzle-
././drizzled/
100214 23:33:24 InnoDB: Starting shutdown...
==8883== Warning: set address range perms: large range [0x7ae3000, 0xfdc3000) (noaccess)
100214 23:33:26 InnoDB: Shutdown completed; log sequence number 109199904
==8883==
==8883== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 406 from 4)
==8883== malloc/free: in use at exit: 15,906,979 bytes in 224 blocks.
==8883== malloc/free: 61,206 allocs, 60,982 frees, 55,559,562 bytes allocated.
==8883== For counts of detected errors, rerun with: -v
==8883== searching for pointers to 224 not-freed blocks.
==8883== checked 44,451,568 bytes.
==8883==
==8883== 520 (40 direct, 480 indirect) bytes in 1 blocks are definitely lost in loss record 13 of 20
==8883== at 0x4C278AE: malloc (vg_replace_
==8883== by 0x165B4A04: ???
==8883== by 0x165B4BD8: ???
==8883== by 0x165B938B: ???
==8883== by 0x165C3F3C: ???
==8883== by 0x165C446C: ???
==8883== by 0x165C49DA: ???
==8883== by 0x165C4AA9: ???
==8883== by 0x15EE7A06: ???
==8883== by 0x15CDBD58: ???
==8883== by 0x54FCC5: drizzled:
==8883== by 0x614FCF: drizzled:
==8883== by 0x594D40: drizzled:
==8883== by 0x618DA3: drizzled:
long, drizzled:
==8883== by 0x619657: drizzled:
==8883== by 0x612A10: drizzled:
==8883==
==8883==
==8883== 480 bytes in 12 blocks are indirectly lost in loss record 15 of 20
==8883== at 0x4C278AE: malloc (vg_replace_
==8883== by 0x165B4A04: ???
==8883== by 0x165B4BD8: ???
==8883== by 0x165B938B: ???
==8883== by 0x165C3F3C: ???
==8883== by 0x165C446C: ???
==8883== by 0x165C49DA: ???
==8883== by 0x165C4AA9: ???
==8883== by 0x15EE7A06: ???
==8883== by 0x15CDBD58: ???
==8883== by 0x54FCC5: drizzled:
==8883== by 0x614FCF: drizzled:
==8883== by 0x594D40: drizzled:
==8883== by 0x618DA3: drizzled:
long, drizzled:
==8883== by 0x619657: drizzled:
==8883== by 0x612A10: drizzled:
==8883==
==8883== LEAK SUMMARY:
==8883== definitely lost: 40 bytes in 1 blocks.
==8883== indirectly lost: 480 bytes in 12 blocks.
==8883== possibly lost: 0 bytes in 0 blocks.
==8883== still reachable: 0 bytes in 0 blocks.
==8883== suppressed: 15,906,459 bytes in 211 blocks.
Changed in drizzle: | |
assignee: | nobody → Lee Bieber (kalebral) |
No longer seeing this valgrind warning