Guest User

Untitled

a guest
Jul 19th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.67 KB | None | 0 0
  1. ==4392== Memcheck, a memory error detector
  2. ==4392== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  3. ==4392== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
  4. ==4392== Command: ./int
  5. ==4392==
  6. -50-50==4392==
  7. ==4392== HEAP SUMMARY:
  8. ==4392== in use at exit: 344 bytes in 29 blocks
  9. ==4392== total heap usage: 29 allocs, 0 frees, 344 bytes allocated
  10. ==4392==
  11. ==4392== 8 bytes in 1 blocks are definitely lost in loss record 11 of 29
  12. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  13. ==4392== by 0x8048A49: CBigInt::CBigInt() (CBigIntf.cpp:101)
  14. ==4392== by 0x8049E3A: main (CBigIntf.cpp:505)
  15. ==4392==
  16. ==4392== 8 bytes in 1 blocks are definitely lost in loss record 12 of 29
  17. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  18. ==4392== by 0x8048A49: CBigInt::CBigInt() (CBigIntf.cpp:101)
  19. ==4392== by 0x8049E46: main (CBigIntf.cpp:505)
  20. ==4392==
  21. ==4392== 8 bytes in 1 blocks are definitely lost in loss record 13 of 29
  22. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  23. ==4392== by 0x8048AB8: CBigInt::CBigInt(int) (CBigIntf.cpp:118)
  24. ==4392== by 0x8049E5A: main (CBigIntf.cpp:506)
  25. ==4392==
  26. ==4392== 8 bytes in 1 blocks are definitely lost in loss record 14 of 29
  27. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  28. ==4392== by 0x8048A49: CBigInt::CBigInt() (CBigIntf.cpp:101)
  29. ==4392== by 0x8049AAA: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:447)
  30. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  31. ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
  32. ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
  33. ==4392==
  34. ==4392== 8 bytes in 1 blocks are definitely lost in loss record 15 of 29
  35. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  36. ==4392== by 0x8048A49: CBigInt::CBigInt() (CBigIntf.cpp:101)
  37. ==4392== by 0x8049AAA: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:447)
  38. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  39. ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
  40. ==4392==
  41. ==4392== 16 bytes in 1 blocks are definitely lost in loss record 16 of 29
  42. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  43. ==4392== by 0x8049AE8: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:451)
  44. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  45. ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
  46. ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
  47. ==4392==
  48. ==4392== 16 bytes in 1 blocks are definitely lost in loss record 17 of 29
  49. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  50. ==4392== by 0x804951D: secti(CBigInt&, CBigInt&) (CBigIntf.cpp:337)
  51. ==4392== by 0x804928C: operator+(CBigInt&, CBigInt&) (CBigIntf.cpp:292)
  52. ==4392== by 0x8049774: operator+=(CBigInt&, CBigInt&) (CBigIntf.cpp:390)
  53. ==4392== by 0x8049B3A: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:453)
  54. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  55. ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
  56. ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
  57. ==4392==
  58. ==4392== 16 bytes in 1 blocks are definitely lost in loss record 18 of 29
  59. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  60. ==4392== by 0x8049AE8: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:451)
  61. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  62. ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
  63. ==4392==
  64. ==4392== 16 bytes in 1 blocks are definitely lost in loss record 19 of 29
  65. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  66. ==4392== by 0x804951D: secti(CBigInt&, CBigInt&) (CBigIntf.cpp:337)
  67. ==4392== by 0x804928C: operator+(CBigInt&, CBigInt&) (CBigIntf.cpp:292)
  68. ==4392== by 0x8049774: operator+=(CBigInt&, CBigInt&) (CBigIntf.cpp:390)
  69. ==4392== by 0x8049B3A: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:453)
  70. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  71. ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
  72. ==4392==
  73. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 20 of 29
  74. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  75. ==4392== by 0x80493BD: CBigInt::operator+(int) (CBigIntf.cpp:315)
  76. ==4392== by 0x80497AC: operator+=(CBigInt&, int) (CBigIntf.cpp:396)
  77. ==4392== by 0x8049E8E: main (CBigIntf.cpp:507)
  78. ==4392==
  79. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 21 of 29
  80. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  81. ==4392== by 0x804967D: odecti(CBigInt&, CBigInt&) (CBigIntf.cpp:366)
  82. ==4392== by 0x804937F: operator+(CBigInt&, CBigInt&) (CBigIntf.cpp:306)
  83. ==4392== by 0x80493E3: CBigInt::operator+(int) (CBigIntf.cpp:316)
  84. ==4392== by 0x80497AC: operator+=(CBigInt&, int) (CBigIntf.cpp:396)
  85. ==4392== by 0x8049E8E: main (CBigIntf.cpp:507)
  86. ==4392==
  87. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 29
  88. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  89. ==4392== by 0x8049C7F: CBigInt::operator*(int) (CBigIntf.cpp:477)
  90. ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
  91. ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
  92. ==4392==
  93. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 23 of 29
  94. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  95. ==4392== by 0x8049AA0: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:447)
  96. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  97. ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
  98. ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
  99. ==4392==
  100. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 29
  101. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  102. ==4392== by 0x80498FA: vynasob(CBigInt&, int) (CBigIntf.cpp:419)
  103. ==4392== by 0x8049ADA: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:451)
  104. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  105. ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
  106. ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
  107. ==4392==
  108. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 25 of 29
  109. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  110. ==4392== by 0x80493BD: CBigInt::operator+(int) (CBigIntf.cpp:315)
  111. ==4392== by 0x8049ECA: main (CBigIntf.cpp:510)
  112. ==4392==
  113. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 26 of 29
  114. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  115. ==4392== by 0x804967D: odecti(CBigInt&, CBigInt&) (CBigIntf.cpp:366)
  116. ==4392== by 0x804937F: operator+(CBigInt&, CBigInt&) (CBigIntf.cpp:306)
  117. ==4392== by 0x80493E3: CBigInt::operator+(int) (CBigIntf.cpp:316)
  118. ==4392== by 0x8049ECA: main (CBigIntf.cpp:510)
  119. ==4392==
  120. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 27 of 29
  121. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  122. ==4392== by 0x8049C7F: CBigInt::operator*(int) (CBigIntf.cpp:477)
  123. ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
  124. ==4392==
  125. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 28 of 29
  126. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  127. ==4392== by 0x8049AA0: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:447)
  128. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  129. ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
  130. ==4392==
  131. ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 29 of 29
  132. ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
  133. ==4392== by 0x80498FA: vynasob(CBigInt&, int) (CBigIntf.cpp:419)
  134. ==4392== by 0x8049ADA: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:451)
  135. ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
  136. ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
  137. ==4392==
  138. ==4392== LEAK SUMMARY:
  139. ==4392== definitely lost: 264 bytes in 19 blocks
  140. ==4392== indirectly lost: 80 bytes in 10 blocks
  141. ==4392== possibly lost: 0 bytes in 0 blocks
  142. ==4392== still reachable: 0 bytes in 0 blocks
  143. ==4392== suppressed: 0 bytes in 0 blocks
  144. ==4392==
  145. ==4392== For counts of detected and suppressed errors, rerun with: -v
  146. ==4392== ERROR SUMMARY: 19 errors from 19 contexts (suppressed: 17 from 6)
Add Comment
Please, Sign In to add comment