Guest User

valgrind memory dump using PHP readfile()

a guest
Apr 30th, 2012
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. ==19571== Conditional jump or move depends on uninitialised value(s)
  2. ==19571== at 0xE4EDDB5: zm_deactivate_vld (vld.c:168)
  3. ==19571== by 0x816D5F: zend_deactivate_modules (zend_API.c:2325)
  4. ==19571== by 0x7A16D7: php_request_shutdown (main.c:1755)
  5. ==19571== by 0x8C8D44: do_cli (php_cli.c:1169)
  6. ==19571== by 0x43D313: main (php_cli.c:1356)
  7. ==19571==
  8. ==19571==
  9. ==19571== HEAP SUMMARY:
  10. ==19571== in use at exit: 79,562 bytes in 2,498 blocks
  11. ==19571== total heap usage: 36,521 allocs, 34,023 frees, 4,299,029 bytes allocated
  12. ==19571==
  13. ==19571== 6 bytes in 1 blocks are definitely lost in loss record 1 of 95
  14. ==19571== at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
  15. ==19571== by 0x93B8091: strdup (strdup.c:43)
  16. ==19571== by 0x59E6FC: zm_startup_intl (php_intl.c:661)
  17. ==19571== by 0x8112B1: zend_startup_module_ex (zend_API.c:1653)
  18. ==19571== by 0x81DC69: zend_hash_apply (zend_hash.c:716)
  19. ==19571== by 0x8153BF: zend_startup_modules (zend_API.c:1780)
  20. ==19571== by 0x7A2242: php_module_startup (main.c:2191)
  21. ==19571== by 0x8C88BC: php_cli_startup (php_cli.c:414)
  22. ==19571== by 0x43CF56: main (php_cli.c:1336)
  23. ==19571==
  24. ==19571== 16 bytes in 1 blocks are definitely lost in loss record 6 of 95
  25. ==19571== at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
  26. ==19571== by 0x101CC3D8: ???
  27. ==19571== by 0x101CC415: ???
  28. ==19571== by 0x101CC207: ???
  29. ==19571== by 0x101CDC22: ???
  30. ==19571== by 0xF1C1EB3: ???
  31. ==19571== by 0xF1C248C: ???
  32. ==19571== by 0xF1BE334: ???
  33. ==19571== by 0xEB90779: ???
  34. ==19571== by 0x8112B1: zend_startup_module_ex (zend_API.c:1653)
  35. ==19571== by 0x81DC69: zend_hash_apply (zend_hash.c:716)
  36. ==19571== by 0x8153BF: zend_startup_modules (zend_API.c:1780)
  37. ==19571==
  38. ==19571== 104 (16 direct, 88 indirect) bytes in 1 blocks are definitely lost in loss record 34 of 95
  39. ==19571== at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
  40. ==19571== by 0x101CFDFD: ???
  41. ==19571== by 0x101CC584: ???
  42. ==19571== by 0x101CDB48: ???
  43. ==19571== by 0x101CC311: ???
  44. ==19571== by 0xF1C1EB3: ???
  45. ==19571== by 0xF1C248C: ???
  46. ==19571== by 0xF1BE334: ???
  47. ==19571== by 0xEB90779: ???
  48. ==19571== by 0x8112B1: zend_startup_module_ex (zend_API.c:1653)
  49. ==19571== by 0x81DC69: zend_hash_apply (zend_hash.c:716)
  50. ==19571== by 0x8153BF: zend_startup_modules (zend_API.c:1780)
  51. ==19571==
  52. ==19571== 176 (88 direct, 88 indirect) bytes in 1 blocks are definitely lost in loss record 42 of 95
  53. ==19571== at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
  54. ==19571== by 0x101CC3D8: ???
  55. ==19571== by 0x101CC415: ???
  56. ==19571== by 0x101CEAEB: ???
  57. ==19571== by 0x101CEE73: ???
  58. ==19571== by 0x101CC305: ???
  59. ==19571== by 0xF1C1EB3: ???
  60. ==19571== by 0xF1C248C: ???
  61. ==19571== by 0xF1BE334: ???
  62. ==19571== by 0xEB90779: ???
  63. ==19571== by 0x8112B1: zend_startup_module_ex (zend_API.c:1653)
  64. ==19571== by 0x81DC69: zend_hash_apply (zend_hash.c:716)
  65. ==19571==
  66. ==19571== LEAK SUMMARY:
  67. ==19571== definitely lost: 126 bytes in 4 blocks
  68. ==19571== indirectly lost: 176 bytes in 5 blocks
  69. ==19571== possibly lost: 0 bytes in 0 blocks
  70. ==19571== still reachable: 79,260 bytes in 2,489 blocks
  71. ==19571== suppressed: 0 bytes in 0 blocks
  72. ==19571== Reachable blocks (those to which a pointer was found) are not shown.
  73. ==19571== To see them, rerun with: --leak-check=full --show-reachable=yes
  74. ==19571==
  75. ==19571== For counts of detected and suppressed errors, rerun with: -v
  76. ==19571== Use --track-origins=yes to see where uninitialised values come from
  77. ==19571== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 14 from 6)
Advertisement
Add Comment
Please, Sign In to add comment