Skip to content

Instantly share code, notes, and snippets.

@amiller
Created May 26, 2011 00:42
Show Gist options
  • Save amiller/992311 to your computer and use it in GitHub Desktop.
Save amiller/992311 to your computer and use it in GitHub Desktop.
(texaspete)amiller@li322-191:~/projects/imfeat/imfeat/_gist$ valgrind ./compute_gist large.ppm
==24638== Memcheck, a memory error detector
==24638== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==24638== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==24638== Command: ./compute_gist large.ppm
==24638==
==24638== Invalid write of size 4
==24638== at 0x804A054: create_gabor (gist.c:263)
==24638== by 0x804C8B1: color_gist_scaletab (gist.c:959)
==24638== by 0x8048F46: main (compute_gist.c:90)
==24638== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==24638==
==24638==
==24638== Process terminating with default action of signal 11 (SIGSEGV)
==24638== Access not within mapped region at address 0x0
==24638== at 0x804A054: create_gabor (gist.c:263)
==24638== by 0x804C8B1: color_gist_scaletab (gist.c:959)
==24638== by 0x8048F46: main (compute_gist.c:90)
==24638== If you believe this happened as a result of a stack
==24638== overflow in your program's main thread (unlikely but
==24638== possible), you can try to increase the size of the
==24638== main thread stack using the --main-stacksize= flag.
==24638== The main thread stack size used in this run was 8388608.
==24638==
==24638== HEAP SUMMARY:
==24638== in use at exit: 657,512,992 bytes in 80 blocks
==24638== total heap usage: 85 allocs, 4 frees, 767,098,628 bytes allocated
==24638==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment