Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==2857== Memcheck, a memory error detector
- ==2857== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==2857== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
- ==2857== Command: ./out
- ==2857==
- ==2857== Conditional jump or move depends on uninitialised value(s)
- ==2857== at 0x400D1A: random_products::search_AM(int const&, int const&) (in /home/chris/OOP/Assignment_2/version1/out)
- ==2857== by 0x400BE1: random_products::random_products() (in /home/chris/OOP/Assignment_2/version1/out)
- ==2857== by 0x400A99: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2857== Uninitialised value was created by a stack allocation
- ==2857== at 0x400A77: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2857==
- ==2857== Invalid write of size 1
- ==2857== at 0x400E6C: Student::Student(random_products&) (in /home/chris/OOP/Assignment_2/version1/out)
- ==2857== by 0x400AC1: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2857== Address 0x596f050 is 0 bytes after a block of size 16 alloc'd
- ==2857== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
- ==2857== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2857==
- To AM tou foithth einai: 1115201000006
- Exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000010
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000013
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000011
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000005
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000003
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000017
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000016
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000018
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000020
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000014
- Exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000021
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000001
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000019
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000015
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000008
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000002
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000009
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000004
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000007
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000012
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- Just completed creation of students
- ==2857==
- ==2857== HEAP SUMMARY:
- ==2857== in use at exit: 336 bytes in 21 blocks
- ==2857== total heap usage: 21 allocs, 0 frees, 336 bytes allocated
- ==2857==
- ==2857== 336 bytes in 21 blocks are definitely lost in loss record 1 of 1
- ==2857== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
- ==2857== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2857==
- ==2857== LEAK SUMMARY:
- ==2857== definitely lost: 336 bytes in 21 blocks
- ==2857== indirectly lost: 0 bytes in 0 blocks
- ==2857== possibly lost: 0 bytes in 0 blocks
- ==2857== still reachable: 0 bytes in 0 blocks
- ==2857== suppressed: 0 bytes in 0 blocks
- ==2857==
- ==2857== For counts of detected and suppressed errors, rerun with: -v
- ==2857== ERROR SUMMARY: 191 errors from 3 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement