Create a gist now

Instantly share code, notes, and snippets.

Memory leak report about GeoIP(https://github.com/kuno/GeoIP), by running 'valgrind --leak-check=full -v test/memory_leak.js', at commit https://github.com/kuno/GeoIP/commit/f96582669d53dd1f54baeba1ada217b2bccb77fe Update at: 2013/05/01
==8214== Memcheck, a memory error detector
==8214== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==8214== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==8214== Command: test/memory_leak.js
==8214==
--8214-- Valgrind options:
--8214-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--8214-- --leak-check=full
--8214-- -v
--8214-- Contents of /proc/version:
--8214-- 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
--8214-- Arch and hwcaps: AMD64, amd64-sse3
--8214-- Page sizes: currently 4096, max supported 4096
--8214-- Valgrind library directory: /usr/lib/valgrind
--8214-- Reading syms from /usr/bin/env (0x400000)
--8214-- Considering /usr/bin/env ..
--8214-- .. CRC mismatch (computed 78c6f574 wanted 2ad86c1c)
--8214-- object doesn't have a symbol table
--8214-- Reading syms from /lib/x86_64-linux-gnu/ld-2.15.so (0x4000000)
--8214-- Considering /lib/x86_64-linux-gnu/ld-2.15.so ..
--8214-- .. CRC mismatch (computed 269450ce wanted 94894502)
--8214-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.15.so ..
--8214-- .. CRC is valid
--8214-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
--8214-- Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--8214-- .. CRC mismatch (computed fd32bc40 wanted 1b1bde8c)
--8214-- object doesn't have a symbol table
--8214-- object doesn't have a dynamic symbol table
--8214-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--8214-- Reading suppressions file: /usr/lib/valgrind/default.supp
==8214== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-8214-by-vagrant-on-???
==8214== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-8214-by-vagrant-on-???
==8214== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-8214-by-vagrant-on-???
==8214==
==8214== TO CONTROL THIS PROCESS USING vgdb (which you probably
==8214== don't want to do, unless you know exactly what you're doing,
==8214== or are doing some strange experiment):
==8214== /usr/lib/valgrind/../../bin/vgdb --pid=8214 ...command...
==8214==
==8214== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==8214== /path/to/gdb test/memory_leak.js
==8214== and then give GDB the following command
==8214== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=8214
==8214== --pid is optional if only one valgrind process is running
==8214==
--8214-- REDIR: 0x40189e0 (strlen) redirected to 0x380625c7 (???)
--8214-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a25000)
--8214-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--8214-- .. CRC mismatch (computed 8f05ac98 wanted c6d0ab1a)
--8214-- object doesn't have a symbol table
--8214-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c27000)
--8214-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--8214-- .. CRC mismatch (computed fc059af4 wanted ffc668e8)
--8214-- object doesn't have a symbol table
--8214-- REDIR: 0x4018850 (index) redirected to 0x4c2bc60 (index)
--8214-- REDIR: 0x40188d0 (strcmp) redirected to 0x4c2cc20 (strcmp)
--8214-- Reading syms from /lib/x86_64-linux-gnu/libc-2.15.so (0x4e32000)
--8214-- Considering /lib/x86_64-linux-gnu/libc-2.15.so ..
--8214-- .. CRC mismatch (computed d1cc6f49 wanted 7994f9f0)
--8214-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.15.so ..
--8214-- .. CRC is valid
--8214-- REDIR: 0x4ebee40 (strcasecmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
--8214-- REDIR: 0x4ebb1e0 (strnlen) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
--8214-- REDIR: 0x4ec1110 (strncasecmp) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
--8214-- REDIR: 0x4ebcbd0 (__GI_strrchr) redirected to 0x4c2ba80 (__GI_strrchr)
--8214-- REDIR: 0x4ebcb90 (rindex) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
--8214-- REDIR: 0x4eb9600 (__GI_strcmp) redirected to 0x4c2cbc0 (__GI_strcmp)
--8214-- REDIR: 0x4ebb100 (__GI_strlen) redirected to 0x4c2bfc0 (__GI_strlen)
--8214-- REDIR: 0x4ebb300 (__GI_strncmp) redirected to 0x4c2c480 (__GI_strncmp)
--8214-- REDIR: 0x4eb9540 (__GI_strchr) redirected to 0x4c2bb60 (__GI_strchr)
--8214-- REDIR: 0x4eb4f50 (malloc) redirected to 0x4c2b660 (malloc)
--8214-- REDIR: 0x4eb5560 (free) redirected to 0x4c2a7c0 (free)
--8214-- REDIR: 0x4eb9500 (index) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
--8214-- REDIR: 0x4ec4d10 (strchrnul) redirected to 0x4c2e3b0 (strchrnul)
{ 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: 'AU',
country_code3: 'AUS',
country_name: 'Australia',
latitude: -27,
longitude: 133,
continent_code: 'OC' }
{ country_name: 'United States',
country_code: 'US',
country_code3: 'USA',
continent_code: 'NA' }
{ country_name: 'Australia',
country_code: 'AU',
country_code3: 'AUS',
continent_code: 'OC' }
Dailup
AS15169 Google Inc.
{ country_code: 'US', region: 'CO' }
{ 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: 'AU',
country_code3: 'AUS',
country_name: 'Australia',
latitude: -27,
longitude: 133,
continent_code: 'OC' }
{ country_name: 'United States',
country_code: 'US',
country_code3: 'USA',
continent_code: 'NA' }
{ country_name: 'Australia',
country_code: 'AU',
country_code3: 'AUS',
continent_code: 'OC' }
Uknown
AS15169 Google Inc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment