Created
December 20, 2012 14:45
-
-
Save kuno/4345669 to your computer and use it in GitHub Desktop.
compare meory leak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==3963== Memcheck, a memory error detector | |
==3963== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. | |
==3963== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info | |
==3963== Command: node test/memory_leak.js | |
==3963== | |
--3963-- Valgrind options: | |
--3963-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp | |
--3963-- --leak-check=full | |
--3963-- -v | |
--3963-- Contents of /proc/version: | |
--3963-- Linux version 3.2.0-23-generic (buildd@crested) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 | |
--3963-- Arch and hwcaps: AMD64, amd64-sse3 | |
--3963-- Page sizes: currently 4096, max supported 4096 | |
--3963-- Valgrind library directory: /usr/lib/valgrind | |
--3963-- Reading syms from /usr/bin/nodejs (0x400000) | |
--3963-- Considering /usr/bin/nodejs .. | |
--3963-- .. CRC mismatch (computed dd505ca7 wanted ba4fc22a) | |
--3963-- object doesn't have a symbol table | |
--3963-- Reading syms from /lib/x86_64-linux-gnu/ld-2.15.so (0x4000000) | |
--3963-- Considering /lib/x86_64-linux-gnu/ld-2.15.so .. | |
--3963-- .. CRC mismatch (computed eabdc7b7 wanted 3ee54b4e) | |
--3963-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.15.so .. | |
--3963-- .. CRC is valid | |
--3963-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000) | |
--3963-- Considering /usr/lib/valgrind/memcheck-amd64-linux .. | |
--3963-- .. CRC mismatch (computed b9a585cc wanted 749d1a67) | |
--3963-- object doesn't have a symbol table | |
--3963-- object doesn't have a dynamic symbol table | |
--3963-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp | |
--3963-- Reading suppressions file: /usr/lib/valgrind/default.supp | |
==3963== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-3963-by-vagrant-on-??? | |
==3963== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-3963-by-vagrant-on-??? | |
==3963== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-3963-by-vagrant-on-??? | |
==3963== | |
==3963== TO CONTROL THIS PROCESS USING vgdb (which you probably | |
==3963== don't want to do, unless you know exactly what you're doing, | |
==3963== or are doing some strange experiment): | |
==3963== /usr/lib/valgrind/../../bin/vgdb --pid=3963 ...command... | |
==3963== | |
==3963== TO DEBUG THIS PROCESS USING GDB: start GDB like this | |
==3963== /path/to/gdb node | |
==3963== and then give GDB the following command | |
==3963== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=3963 | |
==3963== --pid is optional if only one valgrind process is running | |
==3963== | |
--3963-- REDIR: 0x40189e0 (strlen) redirected to 0x380625c7 (???) | |
--3963-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a25000) | |
--3963-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so .. | |
--3963-- .. CRC mismatch (computed c82927cb wanted 1861273b) | |
--3963-- object doesn't have a symbol table | |
--3963-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c27000) | |
--3963-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so .. | |
--3963-- .. CRC mismatch (computed 72e29ec9 wanted f3ad49da) | |
--3963-- object doesn't have a symbol table | |
--3963-- REDIR: 0x4018850 (index) redirected to 0x4c2bc60 (index) | |
--3963-- REDIR: 0x40188d0 (strcmp) redirected to 0x4c2cc20 (strcmp) | |
--3963-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.15.so (0x4e32000) | |
--3963-- Considering /lib/x86_64-linux-gnu/libdl-2.15.so .. | |
--3963-- .. CRC mismatch (computed 1e39c2e0 wanted 5d14a047) | |
--3963-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.15.so .. | |
--3963-- .. CRC is valid | |
--3963-- Reading syms from /lib/x86_64-linux-gnu/librt-2.15.so (0x5036000) | |
--3963-- Considering /lib/x86_64-linux-gnu/librt-2.15.so .. | |
--3963-- .. CRC mismatch (computed aca1815f wanted f26cc34e) | |
--3963-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.15.so .. | |
--3963-- .. CRC is valid | |
--3963-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 (0x523e000) | |
--3963-- Considering /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 .. | |
--3963-- .. CRC mismatch (computed ef748751 wanted e44c0328) | |
--3963-- object doesn't have a symbol table | |
--3963-- Reading syms from /lib/x86_64-linux-gnu/libm-2.15.so (0x553e000) | |
--3963-- Considering /lib/x86_64-linux-gnu/libm-2.15.so .. | |
--3963-- .. CRC mismatch (computed e81d4037 wanted fad28d48) | |
--3963-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.15.so .. | |
--3963-- .. CRC is valid | |
--3963-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x583a000) | |
--3963-- Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 .. | |
--3963-- .. CRC mismatch (computed c8e4b229 wanted 098e39f6) | |
--3963-- object doesn't have a symbol table | |
--3963-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.15.so (0x5a50000) | |
--3963-- Considering /lib/x86_64-linux-gnu/libpthread-2.15.so .. | |
--3963-- .. CRC mismatch (computed 8e430e5b wanted e619a829) | |
--3963-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.15.so .. | |
--3963-- .. CRC is valid | |
--3963-- Reading syms from /lib/x86_64-linux-gnu/libc-2.15.so (0x5c6d000) | |
--3963-- Considering /lib/x86_64-linux-gnu/libc-2.15.so .. | |
--3963-- .. CRC mismatch (computed 3af7ebbf wanted 50fc58fa) | |
--3963-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.15.so .. | |
--3963-- .. CRC is valid | |
--3963-- REDIR: 0x5cf9e30 (strcasecmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cf61d0 (strnlen) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cfc100 (strncasecmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cf7bc0 (__GI_strrchr) redirected to 0x4c2ba80 (__GI_strrchr) | |
--3963-- REDIR: 0x5cf60f0 (__GI_strlen) redirected to 0x4c2bfc0 (__GI_strlen) | |
--3963-- REDIR: 0x52f3dd0 (operator new(unsigned long)) redirected to 0x4c2b160 (operator new(unsigned long)) | |
--3963-- REDIR: 0x5cf8c10 (memset) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5d03610 (__memset_x86_64) redirected to 0x4c2e080 (memset) | |
--3963-- REDIR: 0x5cf45b0 (strcmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cf45f0 (__GI_strcmp) redirected to 0x4c2cbc0 (__GI_strcmp) | |
--3963-- REDIR: 0x5cf60a0 (strlen) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5ceff40 (malloc) redirected to 0x4c2b660 (malloc) | |
--3963-- REDIR: 0x5cfe7e0 (memcpy@@GLIBC_2.14) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cfe830 (__GI_memcpy) redirected to 0x4c2cf30 (memcpy@@GLIBC_2.14) | |
--3963-- REDIR: 0x5d0d3b0 (strstr) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5d0d040 (__GI_strstr) redirected to 0x4c2e7a0 (strstr) | |
--3963-- REDIR: 0xffffffffff600000 (???) redirected to 0x380625b3 (???) | |
--3963-- REDIR: 0x5cf0680 (realloc) redirected to 0x4c2b730 (realloc) | |
--3963-- REDIR: 0x52f2150 (operator delete(void*)) redirected to 0x4c2a450 (operator delete(void*)) | |
--3963-- REDIR: 0x5cf0580 (free) redirected to 0x4c2a7c0 (free) | |
--3963-- REDIR: 0x52f3f00 (operator new[](unsigned long)) redirected to 0x4c2abc0 (operator new[](unsigned long)) | |
==3963== Warning: set address range perms: large range [0x22920098b000, 0x22922098b000) (noaccess) | |
--3963-- REDIR: 0x5cf8bc0 (memcpy@GLIBC_2.2.5) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cf8a30 (__GI_memmove) redirected to 0x4c2cd20 (memcpy@GLIBC_2.2.5) | |
--3963-- REDIR: 0x52f2190 (operator delete[](void*)) redirected to 0x4c2a030 (operator delete[](void*)) | |
--3963-- REDIR: 0x5cf7b40 (strncpy) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5d034b0 (__GI_strncpy) redirected to 0x4c2c2c0 (__GI_strncpy) | |
--3963-- REDIR: 0x5cf12a0 (calloc) redirected to 0x4c29cf0 (calloc) | |
--3963-- REDIR: 0x5cffd00 (strchrnul) redirected to 0x4c2e3b0 (strchrnul) | |
--3963-- memcheck GC: 1024 nodes, 1024 survivors (100.0%) | |
--3963-- memcheck GC: increase table size to 2048 | |
--3963-- REDIR: 0x5cf44f0 (index) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cf4530 (__GI_strchr) redirected to 0x4c2bb60 (__GI_strchr) | |
--3963-- memcheck GC: 2048 nodes, 2048 survivors (100.0%) | |
--3963-- memcheck GC: increase table size to 4096 | |
--3963-- REDIR: 0x5cf82a0 (memchr) redirected to 0x4c2cce0 (memchr) | |
--3963-- REDIR: 0x5cf62f0 (__GI_strncmp) redirected to 0x4c2c480 (__GI_strncmp) | |
--3963-- memcheck GC: 4096 nodes, 3479 survivors ( 84.9%) | |
--3963-- memcheck GC: increase table size to 8192 | |
--3963-- Reading syms from /vagrant_data/GeoIP/build/Release/geoip.node (0x702c000) | |
--3963-- Reading syms from /usr/lib/libGeoIP.so.1.4.8 (0x723c000) | |
--3963-- Considering /usr/lib/libGeoIP.so.1.4.8 .. | |
--3963-- .. CRC mismatch (computed 28b2ab55 wanted 3d6da740) | |
--3963-- object doesn't have a symbol table | |
--3963-- REDIR: 0x5cf7b80 (rindex) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cf85f0 (bcmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper) | |
--3963-- REDIR: 0x5cf8630 (__GI_memcmp) redirected to 0x4c2dca0 (bcmp) | |
/vagrant_data/GeoIP/database/GeoLiteCity.dat | |
==3963== Mismatched free() / delete / delete [] | |
==3963== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x7033638: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== by 0x229200A67721: ??? | |
==3963== by 0x229200A6966A: ??? | |
==3963== Address 0x6ca0550 is 0 bytes inside a block of size 45 alloc'd | |
==3963== at 0x4C2AC27: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x6BD7F8: char* v8::internal::NewArray<char>(unsigned long) (in /usr/bin/nodejs) | |
==3963== by 0x6BC6D5: v8::String::Utf8Value::Utf8Value(v8::Handle<v8::Value>) (in /usr/bin/nodejs) | |
==3963== by 0x70335F5: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== | |
==3963== Invalid free() / delete / delete[] / realloc() | |
==3963== at 0x4C2A09C: operator delete[](void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x70336D5: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== by 0x229200A67721: ??? | |
==3963== by 0x229200A6966A: ??? | |
==3963== Address 0x6ca0550 is 0 bytes inside a block of size 45 free'd | |
==3963== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x7033638: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== by 0x229200A67721: ??? | |
==3963== by 0x229200A6966A: ??? | |
==3963== | |
{ country_code: 'US', | |
country_code3: 'USA', | |
country_name: 'United States', | |
region: 'CA', | |
city: 'Mountain View', | |
postal_code: '94043', | |
latitude: 37.4192008972168, | |
longitude: -122.05740356445312, | |
metro_code: 807, | |
dma_code: 807, | |
area_code: 650, | |
continent_code: 'NA', | |
time_zone: 'America/Los_Angeles' } | |
{ country_code: 'US', | |
country_code3: 'USA', | |
country_name: 'United States', | |
region: 'CA', | |
city: 'Mountain View', | |
postal_code: '94043', | |
latitude: 37.4192008972168, | |
longitude: -122.05740356445312, | |
metro_code: 807, | |
dma_code: 807, | |
area_code: 650, | |
continent_code: 'NA', | |
time_zone: 'America/Los_Angeles' } | |
==3963== Warning: set address range perms: large range [0x22920098b000, 0x22922098b000) (noaccess) | |
==3963== | |
==3963== HEAP SUMMARY: | |
==3963== in use at exit: 16,652 bytes in 73 blocks | |
==3963== total heap usage: 2,556 allocs, 2,484 frees, 13,000,952 bytes allocated | |
==3963== | |
==3963== Searching for pointers to 73 not-freed blocks | |
==3963== Checked 611,224 bytes | |
==3963== | |
==3963== 14 bytes in 1 blocks are definitely lost in loss record 8 of 37 | |
==3963== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x724248D: _GeoIP_iso_8859_1__utf8 (in /usr/lib/libGeoIP.so.1.4.8) | |
==3963== by 0x703322C: geoip::City::EIO_AfterCity(uv_work_s*) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x5CCEDD: ??? (in /usr/bin/nodejs) | |
==3963== by 0x5C3061: ??? (in /usr/bin/nodejs) | |
==3963== by 0x5C4974: eio_poll (in /usr/bin/nodejs) | |
==3963== by 0x5D4997: ??? (in /usr/bin/nodejs) | |
==3963== by 0x5C1E50: ??? (in /usr/bin/nodejs) | |
==3963== by 0x5C65C1: ev_invoke_pending (in /usr/bin/nodejs) | |
==3963== by 0x5C24DE: ??? (in /usr/bin/nodejs) | |
==3963== by 0x5C275F: uv_run (in /usr/bin/nodejs) | |
==3963== by 0x57D9F6: node::Start(int, char**) (in /usr/bin/nodejs) | |
==3963== | |
==3963== 24 bytes in 1 blocks are definitely lost in loss record 13 of 37 | |
==3963== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x58F22D: node::ImmutableAsciiSource::CreateFromLiteral(char const*, unsigned long) (in /usr/bin/nodejs) | |
==3963== by 0x57C5DB: node::Load(v8::Handle<v8::Object>) (in /usr/bin/nodejs) | |
==3963== by 0x57D9E9: node::Start(int, char**) (in /usr/bin/nodejs) | |
==3963== by 0x5C8E76C: (below main) (libc-start.c:226) | |
==3963== | |
==3963== 24 bytes in 1 blocks are definitely lost in loss record 14 of 37 | |
==3963== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x58F22D: node::ImmutableAsciiSource::CreateFromLiteral(char const*, unsigned long) (in /usr/bin/nodejs) | |
==3963== by 0x58C382: node::MainSource() (in /usr/bin/nodejs) | |
==3963== by 0x57C5E3: node::Load(v8::Handle<v8::Object>) (in /usr/bin/nodejs) | |
==3963== by 0x57D9E9: node::Start(int, char**) (in /usr/bin/nodejs) | |
==3963== by 0x5C8E76C: (below main) (libc-start.c:226) | |
==3963== | |
==3963== 111 (88 direct, 23 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 37 | |
==3963== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x7244960: ??? (in /usr/lib/libGeoIP.so.1.4.8) | |
==3963== by 0x7033583: geoip::City::EIO_City(uv_work_s*) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x5C442B: ??? (in /usr/bin/nodejs) | |
==3963== by 0x5A57E99: start_thread (pthread_create.c:308) | |
==3963== by 0x5D60CBC: clone (clone.S:112) | |
==3963== | |
==3963== 201 (40 direct, 161 indirect) bytes in 1 blocks are definitely lost in loss record 27 of 37 | |
==3963== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x70335AC: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== by 0x229200A67721: ??? | |
==3963== by 0x229200A6966A: ??? | |
==3963== | |
==3963== 288 bytes in 1 blocks are possibly lost in loss record 29 of 37 | |
==3963== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x4012074: _dl_allocate_tls (dl-tls.c:297) | |
==3963== by 0x5A58ABC: pthread_create@@GLIBC_2.2.5 (allocatestack.c:571) | |
==3963== by 0x574643: ??? (in /usr/bin/nodejs) | |
==3963== by 0x5C44EB: ??? (in /usr/bin/nodejs) | |
==3963== by 0x5C6337: eio_custom (in /usr/bin/nodejs) | |
==3963== by 0x5CE96A: uv_queue_work (in /usr/bin/nodejs) | |
==3963== by 0x703397F: geoip::City::lookup(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CE7AA: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A8E2DF: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== | |
==3963== 864 bytes in 36 blocks are definitely lost in loss record 32 of 37 | |
==3963== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x58F22D: node::ImmutableAsciiSource::CreateFromLiteral(char const*, unsigned long) (in /usr/bin/nodejs) | |
==3963== by 0x58C3D4: node::DefineJavaScript(v8::Handle<v8::Object>) (in /usr/bin/nodejs) | |
==3963== by 0x579ED7: ??? (in /usr/bin/nodejs) | |
==3963== by 0x6CE7AA: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A33AC9: ??? | |
==3963== by 0x229200A0C8A6: ??? | |
==3963== by 0x229200A06115: ??? | |
==3963== by 0x6EF742: ??? (in /usr/bin/nodejs) | |
==3963== by 0x6F0F2A: v8::internal::Execution::Call(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, bool*, bool) (in /usr/bin/nodejs) | |
==3963== by 0x6B1EFA: v8::Function::Call(v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) (in /usr/bin/nodejs) | |
==3963== | |
==3963== 2,339 bytes in 1 blocks are definitely lost in loss record 35 of 37 | |
==3963== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x5D522B: uv_setup_args (in /usr/bin/nodejs) | |
==3963== by 0x57D8A8: node::Start(int, char**) (in /usr/bin/nodejs) | |
==3963== by 0x5C8E76C: (below main) (libc-start.c:226) | |
==3963== | |
==3963== 8,248 (56 direct, 8,192 indirect) bytes in 1 blocks are definitely lost in loss record 37 of 37 | |
==3963== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x57EFE5: node::Buffer::New(v8::Arguments const&) (in /usr/bin/nodejs) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A3E169: ??? | |
==3963== by 0x229200A3DB70: ??? | |
==3963== by 0x229200A0C0ED: ??? | |
==3963== by 0x229200A0C583: ??? | |
==3963== by 0x229200A73D40: ??? | |
==3963== by 0x229200A691B8: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== | |
==3963== LEAK SUMMARY: | |
==3963== definitely lost: 3,449 bytes in 43 blocks | |
==3963== indirectly lost: 8,376 bytes in 7 blocks | |
==3963== possibly lost: 288 bytes in 1 blocks | |
==3963== still reachable: 4,539 bytes in 22 blocks | |
==3963== suppressed: 0 bytes in 0 blocks | |
==3963== Reachable blocks (those to which a pointer was found) are not shown. | |
==3963== To see them, rerun with: --leak-check=full --show-reachable=yes | |
==3963== | |
==3963== ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 2 from 2) | |
==3963== | |
==3963== 1 errors in context 1 of 11: | |
==3963== Invalid free() / delete / delete[] / realloc() | |
==3963== at 0x4C2A09C: operator delete[](void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x70336D5: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== by 0x229200A67721: ??? | |
==3963== by 0x229200A6966A: ??? | |
==3963== Address 0x6ca0550 is 0 bytes inside a block of size 45 free'd | |
==3963== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x7033638: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== by 0x229200A67721: ??? | |
==3963== by 0x229200A6966A: ??? | |
==3963== | |
==3963== | |
==3963== 1 errors in context 2 of 11: | |
==3963== Mismatched free() / delete / delete [] | |
==3963== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x7033638: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== by 0x229200A67721: ??? | |
==3963== by 0x229200A6966A: ??? | |
==3963== Address 0x6ca0550 is 0 bytes inside a block of size 45 alloc'd | |
==3963== at 0x4C2AC27: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==3963== by 0x6BD7F8: char* v8::internal::NewArray<char>(unsigned long) (in /usr/bin/nodejs) | |
==3963== by 0x6BC6D5: v8::String::Utf8Value::Utf8Value(v8::Handle<v8::Value>) (in /usr/bin/nodejs) | |
==3963== by 0x70335F5: geoip::City::New(v8::Arguments const&) (in /vagrant_data/GeoIP/build/Release/geoip.node) | |
==3963== by 0x6CB766: ??? (in /usr/bin/nodejs) | |
==3963== by 0x229200A06361: ??? | |
==3963== by 0x229200A0C792: ??? | |
==3963== by 0x229200A8E261: ??? | |
==3963== by 0x229200A10C1D: ??? | |
==3963== by 0x229200A690E1: ??? | |
==3963== by 0x229200A69204: ??? | |
==3963== by 0x229200A67DBB: ??? | |
==3963== | |
--3963-- | |
--3963-- used_suppression: 2 dl-hack3-cond-1 | |
==3963== | |
==3963== ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 2 from 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment