1
0
mirror of https://github.com/ioacademy-jikim/debugging synced 2025-06-18 13:26:14 +00:00
debugging/02_day/valgrind/valgrind-3.11.0/memcheck/tests/err_disable_arange1.stderr.exp
2015-12-13 22:34:58 +09:00

43 lines
1.3 KiB
Plaintext

Doing invalid access. Expect complaint.
Invalid write of size 4
at 0x........: main (err_disable_arange1.c:19)
Address 0x........ is 492 bytes inside a block of size 4,000 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable_arange1.c:15)
Block was alloc'd at
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (err_disable_arange1.c:14)
Disabling address error reporting for the range.
Doing invalid another access. Expect no complaint.
Partially reenabling address error reporting.
Doing a third access. Expect complaint.
Invalid write of size 4
at 0x........: main (err_disable_arange1.c:35)
Address 0x........ is 3,156 bytes inside a block of size 4,000 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable_arange1.c:15)
Block was alloc'd at
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (err_disable_arange1.c:14)
Exiting. Expect warnings of 2 remaining ranges.
WARNING: exiting program has the following client-requested
WARNING: address error disablement range(s) still in force,
WARNING: possibly as a result of some mistake in the use of the
WARNING: VALGRIND_{DISABLE,ENABLE}_ERROR_REPORTING_IN_RANGE macros.
[4] 0x........-0x........ ClientReq
[6] 0x........-0x........ ClientReq