Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==28531== Conditional jump or move depends on uninitialised value(s)
- ==28531== at 0x4C2BFD8: __GI_strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==28531== by 0x5295D75: strdup (strdup.c:42)
- ==28531== by 0x402480: Pathstore_path (pathstore.c:131)
- ==28531== by 0x401B81: Scan_File (scan.c:35)
- ==28531== by 0x401D9B: Scan_TreeAndIndex (scan.c:83)
- ==28531== by 0x401EED: Scan_TreeAndIndex (scan.c:132)
- ==28531== by 0x4017A8: main (disksearch.c:141)
- ==28531==
- ==28531== Syscall param read(buf) points to unaddressable byte(s)
- ==28531== at 0x52F3FE0: __read_nocancel (syscall-template.S:82)
- ==28531== by 0x4029A2: disksim_readsector (unistd.h:45)
- ==28531== by 0x402822: diskimg_readsector (diskimg.c:71)
- ==28531== by 0x403115: file_getblock (file.c:29)
- ==28531== by 0x402F7E: chksumfile_byinumber (chksumfile.c:39)
- ==28531== by 0x403017: chksumfile_bypathname (chksumfile.c:59)
- ==28531== by 0x402411: Pathstore_path (pathstore.c:118)
- ==28531== by 0x401B81: Scan_File (scan.c:35)
- ==28531== by 0x401D9B: Scan_TreeAndIndex (scan.c:83)
- ==28531== by 0x401EED: Scan_TreeAndIndex (scan.c:132)
- ==28531== by 0x4017A8: main (disksearch.c:141)
- ==28531== Address 0x414f000 is not stack'd, malloc'd or (recently) free'd
- ==28531==
- Can't checksum path /rfc98.txt
- ==28531== Invalid read of size 8
- ==28531== at 0x40276F: diskimg_readsector (string3.h:52)
- ==28531== by 0x403115: file_getblock (file.c:29)
- ==28531== by 0x402F7E: chksumfile_byinumber (chksumfile.c:39)
- ==28531== by 0x403017: chksumfile_bypathname (chksumfile.c:59)
- ==28531== by 0x402411: Pathstore_path (pathstore.c:118)
- ==28531== by 0x401B81: Scan_File (scan.c:35)
- ==28531== by 0x401D9B: Scan_TreeAndIndex (scan.c:83)
- ==28531== by 0x401EED: Scan_TreeAndIndex (scan.c:132)
- ==28531== by 0x4017A8: main (disksearch.c:141)
- ==28531== Address 0x414f000 is not stack'd, malloc'd or (recently) free'd
- ==28531==
- ==28531==
- ==28531== Process terminating with default action of signal 11 (SIGSEGV)
- ==28531== Access not within mapped region at address 0x414F000
- ==28531== at 0x40276F: diskimg_readsector (string3.h:52)
- ==28531== by 0x403115: file_getblock (file.c:29)
- ==28531== by 0x402F7E: chksumfile_byinumber (chksumfile.c:39)
- ==28531== by 0x403017: chksumfile_bypathname (chksumfile.c:59)
- ==28531== by 0x402411: Pathstore_path (pathstore.c:118)
- ==28531== by 0x401B81: Scan_File (scan.c:35)
- ==28531== by 0x401D9B: Scan_TreeAndIndex (scan.c:83)
- ==28531== by 0x401EED: Scan_TreeAndIndex (scan.c:132)
- ==28531== by 0x4017A8: main (disksearch.c:141)
- ==28531== If you believe this happened as a result of a stack
- ==28531== overflow in your program's main thread (unlikely but
- ==28531== possible), you can try to increase the size of the
- ==28531== main thread stack using the --main-stacksize= flag.
- ==28531== The main thread stack size used in this run was 8388608.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement