Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ignacio@ignacio-VirtualBox:~/Desktop/tp1/tests$ ./test.sh
- ==1913== Invalid write of size 4
- ==1913== at 0x8048EF2: ??? (list.asm:96)
- ==1913== by 0x8048AD4: parsecommand (tp.c:137)
- ==1913== by 0x804888C: main (tp.c:88)
- ==1913== Address 0xe is not stack'd, malloc'd or (recently) free'd
- ==1913==
- ==1913==
- ==1913== Process terminating with default action of signal 11 (SIGSEGV)
- ==1913== Access not within mapped region at address 0xE
- ==1913== at 0x8048EF2: ??? (list.asm:96)
- ==1913== by 0x8048AD4: parsecommand (tp.c:137)
- ==1913== by 0x804888C: main (tp.c:88)
- ==1913== If you believe this happened as a result of a stack
- ==1913== overflow in your program's main thread (unlikely but
- ==1913== possible), you can try to increase the size of the
- ==1913== main thread stack using the --main-stacksize= flag.
- ==1913== The main thread stack size used in this run was 8388608.
- ==1913== 18 bytes in 1 blocks are definitely lost in loss record 2 of 3
- ==1913== at 0x4025BD3: malloc (vg_replace_malloc.c:236)
- ==1913== by 0x8048EC9: ??? (list.asm:80)
- ==1913== by 0x8048AD4: parsecommand (tp.c:137)
- ==1913== by 0x804888C: main (tp.c:88)
- ==1913==
- ./test.sh: line 9: 1913 Segmentation fault $VALGRIND --leak-check=yes --error-exitcode=1 -q $BINFILE -f $i
- diff: ./test_0.out: No such file or directory
Add Comment
Please, Sign In to add comment