Advertisement
chrisasl

valgrind output_new1

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