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
|
valgrind ./serveur
==6063== Memcheck, a memory error detector.
==6063== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==6063== Using LibVEX rev 1658, a library for dynamic binary translation.
==6063== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==6063== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==6063== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==6063== For more details, rerun with: -v
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x4009231: (within /lib/ld-2.3.6.so)
==6063== by 0x4002AE6: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x400981E: (within /lib/ld-2.3.6.so)
==6063== by 0x4002AE6: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x4009650: (within /lib/ld-2.3.6.so)
==6063== by 0x4002AE6: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x4009375: (within /lib/ld-2.3.6.so)
==6063== by 0x4002AE6: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x400939C: (within /lib/ld-2.3.6.so)
==6063== by 0x4002AE6: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x40099D3: (within /lib/ld-2.3.6.so)
==6063== by 0x4002AE6: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x4009231: (within /lib/ld-2.3.6.so)
==6063== by 0x4002B5C: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x4009274: (within /lib/ld-2.3.6.so)
==6063== by 0x4002B5C: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Conditional jump or move depends on uninitialised value(s)
==6063== at 0x400939C: (within /lib/ld-2.3.6.so)
==6063== by 0x4002B5C: (within /lib/ld-2.3.6.so)
==6063== by 0x400F709: (within /lib/ld-2.3.6.so)
==6063==
==6063== Invalid read of size 1
==6063== at 0x401E7EA: strcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==6063== by 0x8048B58: demon
==6063== by 0x8048FE4: main
==6063== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==6063==
==6063== Process terminating with default action of signal 11 (SIGSEGV)
==6063== Access not within mapped region at address 0x0
==6063== at 0x401E7EA: strcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==6063== by 0x8048B58: demon
==6063== by 0x8048FE4: main
==6063==
==6063== ERROR SUMMARY: 15 errors from 10 contexts (suppressed: 0 from 0)
==6063== malloc/free: in use at exit: 528 bytes in 2 blocks.
==6063== malloc/free: 2 allocs, 0 frees, 528 bytes allocated.
==6063== For counts of detected errors, rerun with: -v
==6063== searching for pointers to 2 not-freed blocks.
==6063== checked 56,992 bytes.
==6063==
==6063== LEAK SUMMARY:
==6063== definitely lost: 0 bytes in 0 blocks.
==6063== possibly lost: 0 bytes in 0 blocks.
==6063== still reachable: 528 bytes in 2 blocks.
==6063== suppressed: 0 bytes in 0 blocks.
==6063== Reachable blocks (those to which a pointer was found) are not shown.
==6063== To see them, rerun with: --show-reachable=yes
Segmentation fault |
Partager