Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==7600== Memcheck, a memory error detector
- ==7600== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==7600== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
- ==7600== Command: ./out
- ==7600==
- --7600-- Valgrind options:
- --7600-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
- --7600-- -v
- --7600-- --leak-check=full
- --7600-- --track-origins=yes
- --7600-- Contents of /proc/version:
- --7600-- Linux version 3.0.0-14-generic (buildd@allspice) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011
- --7600-- Arch and hwcaps: AMD64, amd64-sse3-cx16
- --7600-- Page sizes: currently 4096, max supported 4096
- --7600-- Valgrind library directory: /usr/lib/valgrind
- --7600-- Reading syms from /home/chris/OOP/Assignment_2/version1/out (0x400000)
- --7600-- Reading syms from /lib/x86_64-linux-gnu/ld-2.13.so (0x4000000)
- --7600-- Considering /lib/x86_64-linux-gnu/ld-2.13.so ..
- --7600-- .. CRC mismatch (computed 9c0dec43 wanted 780b0451)
- --7600-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so ..
- --7600-- .. CRC is valid
- --7600-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
- --7600-- object doesn't have a dynamic symbol table
- --7600-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
- --7600-- Reading suppressions file: /usr/lib/valgrind/default.supp
- --7600-- REDIR: 0x4017660 (strlen) redirected to 0x3803f45b (vgPlain_amd64_linux_REDIR_FOR_strlen)
- --7600-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a23000)
- --7600-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c25000)
- ==7600== WARNING: new redirection conflicts with existing -- ignoring it
- --7600-- new: 0x04017660 (strlen ) R-> 0x04c29763 strlen
- --7600-- REDIR: 0x40174d0 (index) redirected to 0x4c2942f (index)
- --7600-- REDIR: 0x4017550 (strcmp) redirected to 0x4c2a07b (strcmp)
- --7600-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 (0x4e2f000)
- --7600-- Considering /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 ..
- --7600-- .. CRC mismatch (computed 0897570d wanted 816d0d07)
- --7600-- object doesn't have a symbol table
- --7600-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x5136000)
- --7600-- Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 ..
- --7600-- .. CRC mismatch (computed d46494c8 wanted 768844ac)
- --7600-- object doesn't have a symbol table
- --7600-- Reading syms from /lib/x86_64-linux-gnu/libc-2.13.so (0x534c000)
- --7600-- Considering /lib/x86_64-linux-gnu/libc-2.13.so ..
- --7600-- .. CRC mismatch (computed c7fc9bc5 wanted e97c5d1f)
- --7600-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.13.so ..
- --7600-- .. CRC is valid
- --7600-- Reading syms from /lib/x86_64-linux-gnu/libm-2.13.so (0x56eb000)
- --7600-- Considering /lib/x86_64-linux-gnu/libm-2.13.so ..
- --7600-- .. CRC mismatch (computed 4e6b4dc1 wanted 1e79dafa)
- --7600-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.13.so ..
- --7600-- .. CRC is valid
- --7600-- REDIR: 0x53d4440 (strncasecmp) redirected to 0x4a2360a (_vgnU_ifunc_wrapper)
- --7600-- REDIR: 0x53d2180 (strcasecmp) redirected to 0x4a2360a (_vgnU_ifunc_wrapper)
- --7600-- REDIR: 0x53d0210 (__GI_strrchr) redirected to 0x4c292ad (__GI_strrchr)
- --7600-- REDIR: 0x53ce710 (__GI_strlen) redirected to 0x4c2972f (__GI_strlen)
- --7600-- REDIR: 0x53ccc90 (strcmp) redirected to 0x4a2360a (_vgnU_ifunc_wrapper)
- --7600-- REDIR: 0x546a980 (__strcmp_sse42) redirected to 0x4c29fe7 (strcmp)
- --7600-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803f451 (vgPlain_amd64_linux_REDIR_FOR_vtime)
- ==7600== Conditional jump or move depends on uninitialised value(s)
- ==7600== at 0x400D28: random_products::search_AM(int const&, int const&) (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== by 0x400BE5: random_products::random_products() (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== by 0x400A99: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== Uninitialised value was created by a stack allocation
- ==7600== at 0x400A77: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600==
- --7600-- REDIR: 0x4ee94b0 (operator new(unsigned long)) redirected to 0x4c28ab3 (operator new(unsigned long))
- ==7600== Invalid write of size 1
- ==7600== at 0x400E7C: Student::Student(random_products&) (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== by 0x400AC1: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== Address 0x596f050 is 0 bytes after a block of size 16 alloc'd
- ==7600== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
- ==7600== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600==
- --7600-- REDIR: 0x53ce6d0 (strlen) redirected to 0x4a2360a (_vgnU_ifunc_wrapper)
- --7600-- REDIR: 0x5474be0 (__strlen_sse42) redirected to 0x4c29715 (strlen)
- --7600-- REDIR: 0x53d6b10 (memcpy) redirected to 0x4a2360a (_vgnU_ifunc_wrapper)
- --7600-- REDIR: 0x5482eb0 (__memcpy_ssse3_back) redirected to 0x4c2a14f (memcpy)
- --7600-- REDIR: 0x53d0970 (bcmp) redirected to 0x4a2360a (_vgnU_ifunc_wrapper)
- --7600-- REDIR: 0x548f610 (__memcmp_sse4_1) redirected to 0x4c2ab87 (bcmp)
- To AM tou foithth einai: 1115201000022
- 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: 1115201000002
- 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: 1115201000023
- 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: 1115201000004
- Den 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: 1115201000024
- Den 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
- 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: 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: 1115201000014
- Den 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: 1115201000019
- 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: 1115201000012
- 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: 1115201000007
- 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: 1115201000016
- 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: 1115201000008
- 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: 1115201000018
- 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: 1115201000021
- Den 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: 1115201000009
- 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: 1115201000015
- 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: 1115201000006
- 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: 1115201000011
- 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: 1115201000017
- Den 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: 1115201000003
- 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: 1115201000025
- 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: 1115201000010
- 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: 1115201000020
- Den 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: 1115201000013
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- Just completed creation of students
- --7600-- REDIR: 0x53c8d10 (free) redirected to 0x4c28259 (free)
- ==7600==
- ==7600== HEAP SUMMARY:
- ==7600== in use at exit: 400 bytes in 25 blocks
- ==7600== total heap usage: 25 allocs, 0 frees, 400 bytes allocated
- ==7600==
- ==7600== Searching for pointers to 25 not-freed blocks
- ==7600== Checked 188,488 bytes
- ==7600==
- ==7600== 400 bytes in 25 blocks are definitely lost in loss record 1 of 1
- ==7600== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
- ==7600== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600==
- ==7600== LEAK SUMMARY:
- ==7600== definitely lost: 400 bytes in 25 blocks
- ==7600== indirectly lost: 0 bytes in 0 blocks
- ==7600== possibly lost: 0 bytes in 0 blocks
- ==7600== still reachable: 0 bytes in 0 blocks
- ==7600== suppressed: 0 bytes in 0 blocks
- ==7600==
- ==7600== ERROR SUMMARY: 327 errors from 3 contexts (suppressed: 4 from 4)
- ==7600==
- ==7600== 1 errors in context 1 of 3:
- ==7600== Conditional jump or move depends on uninitialised value(s)
- ==7600== at 0x400D28: random_products::search_AM(int const&, int const&) (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== by 0x400BE5: random_products::random_products() (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== by 0x400A99: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== Uninitialised value was created by a stack allocation
- ==7600== at 0x400A77: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600==
- ==7600==
- ==7600== 325 errors in context 2 of 3:
- ==7600== Invalid write of size 1
- ==7600== at 0x400E7C: Student::Student(random_products&) (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== by 0x400AC1: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600== Address 0x596f050 is 0 bytes after a block of size 16 alloc'd
- ==7600== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
- ==7600== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==7600==
- --7600--
- --7600-- used_suppression: 4 dl-hack3-cond-1
- ==7600==
- ==7600== ERROR SUMMARY: 327 errors from 3 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement