Advertisement
chrisasl

valgrind output_NUM_AM=25

Jan 12th, 2012
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.05 KB | None | 0 0
  1. ==2948== Memcheck, a memory error detector
  2. ==2948== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  3. ==2948== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
  4. ==2948== Command: ./out
  5. ==2948==
  6. ==2948== Conditional jump or move depends on uninitialised value(s)
  7. ==2948== at 0x400D28: random_products::search_AM(int const&, int const&) (in /home/chris/OOP/Assignment_2/version1/out)
  8. ==2948== by 0x400BE5: random_products::random_products() (in /home/chris/OOP/Assignment_2/version1/out)
  9. ==2948== by 0x400A99: main (in /home/chris/OOP/Assignment_2/version1/out)
  10. ==2948== Uninitialised value was created by a stack allocation
  11. ==2948== at 0x400A77: main (in /home/chris/OOP/Assignment_2/version1/out)
  12. ==2948==
  13. ==2948== Invalid write of size 1
  14. ==2948== at 0x400E7C: Student::Student(random_products&) (in /home/chris/OOP/Assignment_2/version1/out)
  15. ==2948== by 0x400AC1: main (in /home/chris/OOP/Assignment_2/version1/out)
  16. ==2948== Address 0x596f050 is 0 bytes after a block of size 16 alloc'd
  17. ==2948== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
  18. ==2948== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
  19. ==2948==
  20. To AM tou foithth einai: 1115201000025
  21. Den exei kanei thn 1h ergasia!
  22. Exei kanei thn 2h ergasia!
  23. Den exei kanei thn 3h ergasia!
  24. Den exei kanei to project!
  25.  
  26. To AM tou foithth einai: 1115201000013
  27. Exei kanei thn 1h ergasia!
  28. Den exei kanei thn 2h ergasia!
  29. Den exei kanei thn 3h ergasia!
  30. Exei kanei to project me ton -1!
  31.  
  32. To AM tou foithth einai: 1115201000015
  33. Exei kanei thn 1h ergasia!
  34. Den exei kanei thn 2h ergasia!
  35. Den exei kanei thn 3h ergasia!
  36. Den exei kanei to project!
  37.  
  38. To AM tou foithth einai: 1115201000024
  39. Den exei kanei thn 1h ergasia!
  40. Exei kanei thn 2h ergasia!
  41. Exei kanei thn 3h ergasia!
  42. Exei kanei to project me ton -1!
  43.  
  44. To AM tou foithth einai: 1115201000016
  45. Exei kanei thn 1h ergasia!
  46. Exei kanei thn 2h ergasia!
  47. Exei kanei thn 3h ergasia!
  48. Den exei kanei to project!
  49.  
  50. To AM tou foithth einai: 1115201000010
  51. Den exei kanei thn 1h ergasia!
  52. Den exei kanei thn 2h ergasia!
  53. Exei kanei thn 3h ergasia!
  54. Den exei kanei to project!
  55.  
  56. To AM tou foithth einai: 1115201000003
  57. Exei kanei thn 1h ergasia!
  58. Exei kanei thn 2h ergasia!
  59. Exei kanei thn 3h ergasia!
  60. Exei kanei to project me ton -1!
  61.  
  62. To AM tou foithth einai: 1115201000022
  63. Den exei kanei thn 1h ergasia!
  64. Den exei kanei thn 2h ergasia!
  65. Exei kanei thn 3h ergasia!
  66. Exei kanei to project me ton -1!
  67.  
  68. To AM tou foithth einai: 1115201000023
  69. Exei kanei thn 1h ergasia!
  70. Exei kanei thn 2h ergasia!
  71. Exei kanei thn 3h ergasia!
  72. Den exei kanei to project!
  73.  
  74. To AM tou foithth einai: 1115201000018
  75. Den exei kanei thn 1h ergasia!
  76. Exei kanei thn 2h ergasia!
  77. Den exei kanei thn 3h ergasia!
  78. Den exei kanei to project!
  79.  
  80. To AM tou foithth einai: 1115201000008
  81. Den exei kanei thn 1h ergasia!
  82. Den exei kanei thn 2h ergasia!
  83. Den exei kanei thn 3h ergasia!
  84. Exei kanei to project me ton -1!
  85.  
  86. To AM tou foithth einai: 1115201000006
  87. Exei kanei thn 1h ergasia!
  88. Exei kanei thn 2h ergasia!
  89. Exei kanei thn 3h ergasia!
  90. Exei kanei to project me ton -1!
  91.  
  92. To AM tou foithth einai: 1115201000007
  93. Den exei kanei thn 1h ergasia!
  94. Exei kanei thn 2h ergasia!
  95. Den exei kanei thn 3h ergasia!
  96. Exei kanei to project me ton -1!
  97.  
  98. To AM tou foithth einai: 1115201000021
  99. Den exei kanei thn 1h ergasia!
  100. Exei kanei thn 2h ergasia!
  101. Den exei kanei thn 3h ergasia!
  102. Exei kanei to project me ton -1!
  103.  
  104. To AM tou foithth einai: 1115201000012
  105. Den exei kanei thn 1h ergasia!
  106. Den exei kanei thn 2h ergasia!
  107. Exei kanei thn 3h ergasia!
  108. Exei kanei to project me ton -1!
  109.  
  110. To AM tou foithth einai: 1115201000014
  111. Den exei kanei thn 1h ergasia!
  112. Den exei kanei thn 2h ergasia!
  113. Exei kanei thn 3h ergasia!
  114. Exei kanei to project me ton -1!
  115.  
  116. To AM tou foithth einai: 1115201000001
  117. Den exei kanei thn 1h ergasia!
  118. Exei kanei thn 2h ergasia!
  119. Den exei kanei thn 3h ergasia!
  120. Den exei kanei to project!
  121.  
  122. To AM tou foithth einai: 1115201000017
  123. Den exei kanei thn 1h ergasia!
  124. Exei kanei thn 2h ergasia!
  125. Den exei kanei thn 3h ergasia!
  126. Exei kanei to project me ton -1!
  127.  
  128. To AM tou foithth einai: 1115201000005
  129. Exei kanei thn 1h ergasia!
  130. Den exei kanei thn 2h ergasia!
  131. Exei kanei thn 3h ergasia!
  132. Den exei kanei to project!
  133.  
  134. To AM tou foithth einai: 1115201000004
  135. Exei kanei thn 1h ergasia!
  136. Exei kanei thn 2h ergasia!
  137. Exei kanei thn 3h ergasia!
  138. Den exei kanei to project!
  139.  
  140. To AM tou foithth einai: 1115201000019
  141. Den exei kanei thn 1h ergasia!
  142. Den exei kanei thn 2h ergasia!
  143. Den exei kanei thn 3h ergasia!
  144. Den exei kanei to project!
  145.  
  146. To AM tou foithth einai: 1115201000020
  147. Exei kanei thn 1h ergasia!
  148. Den exei kanei thn 2h ergasia!
  149. Den exei kanei thn 3h ergasia!
  150. Exei kanei to project me ton -1!
  151.  
  152. To AM tou foithth einai: 1115201000011
  153. Den exei kanei thn 1h ergasia!
  154. Exei kanei thn 2h ergasia!
  155. Exei kanei thn 3h ergasia!
  156. Den exei kanei to project!
  157.  
  158. To AM tou foithth einai: 1115201000009
  159. Exei kanei thn 1h ergasia!
  160. Exei kanei thn 2h ergasia!
  161. Den exei kanei thn 3h ergasia!
  162. Exei kanei to project me ton -1!
  163.  
  164. To AM tou foithth einai: 1115201000002
  165. Den exei kanei thn 1h ergasia!
  166. Exei kanei thn 2h ergasia!
  167. Exei kanei thn 3h ergasia!
  168. Den exei kanei to project!
  169.  
  170. Just completed creation of students
  171. ==2948==
  172. ==2948== HEAP SUMMARY:
  173. ==2948== in use at exit: 400 bytes in 25 blocks
  174. ==2948== total heap usage: 25 allocs, 0 frees, 400 bytes allocated
  175. ==2948==
  176. ==2948== 400 bytes in 25 blocks are definitely lost in loss record 1 of 1
  177. ==2948== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
  178. ==2948== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
  179. ==2948==
  180. ==2948== LEAK SUMMARY:
  181. ==2948== definitely lost: 400 bytes in 25 blocks
  182. ==2948== indirectly lost: 0 bytes in 0 blocks
  183. ==2948== possibly lost: 0 bytes in 0 blocks
  184. ==2948== still reachable: 0 bytes in 0 blocks
  185. ==2948== suppressed: 0 bytes in 0 blocks
  186. ==2948==
  187. ==2948== For counts of detected and suppressed errors, rerun with: -v
  188. ==2948== ERROR SUMMARY: 327 errors from 3 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement