Skip to content

Instantly share code, notes, and snippets.

@Nephos
Created July 2, 2015 23:56
Show Gist options
  • Save Nephos/302fb13e9c83d8998b16 to your computer and use it in GitHub Desktop.
Save Nephos/302fb13e9c83d8998b16 to your computer and use it in GitHub Desktop.
==25381== Invalid read of size 4
==25381== at 0x404FC2: mail_handle_forward (forward.c:26)
==25381== by 0x402BED: handle_client (manage_client.c:65)
==25381== by 0x40277C: call_handle_for_clients (loop_server.c:86)
==25381== by 0x4028F7: loop_server (loop_server.c:112)
==25381== by 0x40155A: sub_main (main.c:49)
==25381== by 0x4015D0: main (main.c:63)
==25381== Address 0x80040a418 is not stack'd, malloc'd or (recently) free'd
==25381==
==25381==
==25381== Process terminating with default action of signal 11 (SIGSEGV)
==25381== Access not within mapped region at address 0x80040A418
==25381== at 0x404FC2: mail_handle_forward (forward.c:26)
==25381== by 0x402BED: handle_client (manage_client.c:65)
==25381== by 0x40277C: call_handle_for_clients (loop_server.c:86)
==25381== by 0x4028F7: loop_server (loop_server.c:112)
==25381== by 0x40155A: sub_main (main.c:49)
==25381== by 0x4015D0: main (main.c:63)
==25381== If you believe this happened as a result of a stack
==25381== overflow in your program's main thread (unlikely but
==25381== possible), you can try to increase the size of the
==25381== main thread stack using the --main-stacksize= flag.
==25381== The main thread stack size used in this run was 8388608.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment