All pastes #512502 Raw Edit

nornagon

public text v1 · immutable
#512502 ·published 2007-05-26 22:17 UTC
rendered paste body
==9046== 
==9046== Invalid write of size 4
==9046==    at 0x40EDD1B: lua_pushlstring (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE42B: lua_pushstring (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B341: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAF0 is 8 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid write of size 4
==9046==    at 0x40EDD22: lua_pushlstring (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE42B: lua_pushstring (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B341: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAE8 is 0 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid read of size 4
==9046==    at 0x40F9EC7: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FBA13: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE6BD: lua_gettable (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B357: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAF0 is 8 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid read of size 4
==9046==    at 0x40F9F4B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FBA13: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE6BD: lua_gettable (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B357: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAE8 is 0 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid write of size 4
==9046==    at 0x40FBA5A: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE6BD: lua_gettable (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B357: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAEC is 4 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid write of size 4
==9046==    at 0x40FBA60: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE6BD: lua_gettable (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B357: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAE8 is 0 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid write of size 4
==9046==    at 0x40FBA65: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE6BD: lua_gettable (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B357: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAF0 is 8 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid read of size 4
==9046==    at 0x40ED5BB: lua_type (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B36D: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAF0 is 8 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid write of size 4
==9046==    at 0x40ED579: lua_pushvalue (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B38C: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAF4 is 12 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid write of size 4
==9046==    at 0x40ED57B: lua_pushvalue (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B38C: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAF8 is not stack'd, malloc'd or (recently) free'd
==9046== 
==9046== Invalid write of size 4
==9046==    at 0x40ED57E: lua_pushvalue (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B38C: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAFC is not stack'd, malloc'd or (recently) free'd
hi: update
==9046== 
==9046== Invalid read of size 4
==9046==    at 0x40F2517: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B3BD: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAF0 is 8 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid read of size 4
==9046==    at 0x40F25E1: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B3BD: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x5B2AAE8 is 0 bytes after a block of size 1,152 alloc'd
==9046==    at 0x40235AB: realloc (vg_replace_malloc.c:306)
==9046==    by 0x40FDA87: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F594B: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1CAD: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F1D80: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F26C5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2AC5: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40FCE3F: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804BD70: Map::Map(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A28B: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Use of uninitialised value of size 4
==9046==    at 0x40FC00D: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B3BD: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046== 
==9046== Invalid read of size 4
==9046==    at 0x40FC00D: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40F2B00: (within /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x40EE202: lua_call (in /usr/lib/liblua5.1.so.0.0.0)
==9046==    by 0x804B3BD: Map::Object::callback(char const*) (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804B3F4: Map::Object::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804C61B: Map::update() (in /home/nornagon/src/redmetal/ball)
==9046==    by 0x804A341: main (in /home/nornagon/src/redmetal/ball)
==9046==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
==9046== 
==9046== ERROR SUMMARY: 241 errors from 38 contexts (suppressed: 61 from 1)
==9046== malloc/free: in use at exit: 902,616 bytes in 5,199 blocks.
==9046== malloc/free: 15,839 allocs, 10,640 frees, 3,014,332 bytes allocated.
==9046== For counts of detected errors, rerun with: -v
==9046== searching for pointers to 5,199 not-freed blocks.
==9046== checked 1,896,008 bytes.
==9046== 
==9046== LEAK SUMMARY:
==9046==    definitely lost: 782 bytes in 26 blocks.
==9046==      possibly lost: 26,760 bytes in 746 blocks.
==9046==    still reachable: 875,074 bytes in 4,427 blocks.
==9046==         suppressed: 0 bytes in 0 blocks.
==9046== Rerun with --leak-check=full to see details of leaked memory.
[1]    9046 segmentation fault  valgrind ./ball