public
Last active

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

  • Download Gist
memory_leak.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
==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.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.