|
1 |
| -==9750== Memcheck, a memory error detector |
2 |
| -==9750== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. |
3 |
| -==9750== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info |
4 |
| -==9750== Command: ./_test/run_test 20 |
5 |
| -==9750== Parent PID: 9749 |
6 |
| -==9750== |
7 |
| -==9750== |
8 |
| -==9750== HEAP SUMMARY: |
9 |
| -==9750== in use at exit: 624 bytes in 6 blocks |
10 |
| -==9750== total heap usage: 6 allocs, 0 frees, 624 bytes allocated |
11 |
| -==9750== |
12 |
| -==9750== 16 bytes in 1 blocks are still reachable in loss record 1 of 6 |
13 |
| -==9750== at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) |
14 |
| -==9750== by 0x484B2DD: so_fork (scheduler.c:54) |
15 |
| -==9750== by 0x10B581: test_sched_21 (test_io.c:225) |
16 |
| -==9750== by 0x10962B: main (run_test.c:120) |
17 |
| -==9750== |
18 |
| -==9750== 16 bytes in 1 blocks are still reachable in loss record 2 of 6 |
19 |
| -==9750== at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) |
20 |
| -==9750== by 0x484B2DD: so_fork (scheduler.c:54) |
21 |
| -==9750== by 0x10B335: test_sched_handler_21 (test_io.c:177) |
22 |
| -==9750== by 0x484B287: thread_start (scheduler.c:44) |
23 |
| -==9750== by 0x4862608: start_thread (pthread_create.c:477) |
24 |
| -==9750== by 0x499E292: clone (clone.S:95) |
25 |
| -==9750== |
26 |
| -==9750== 24 bytes in 1 blocks are still reachable in loss record 3 of 6 |
27 |
| -==9750== at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) |
28 |
| -==9750== by 0x484B32A: so_fork (scheduler.c:63) |
29 |
| -==9750== by 0x10B581: test_sched_21 (test_io.c:225) |
30 |
| -==9750== by 0x10962B: main (run_test.c:120) |
31 |
| -==9750== |
32 |
| -==9750== 24 bytes in 1 blocks are still reachable in loss record 4 of 6 |
33 |
| -==9750== at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) |
34 |
| -==9750== by 0x484B32A: so_fork (scheduler.c:63) |
35 |
| -==9750== by 0x10B335: test_sched_handler_21 (test_io.c:177) |
36 |
| -==9750== by 0x484B287: thread_start (scheduler.c:44) |
37 |
| -==9750== by 0x4862608: start_thread (pthread_create.c:477) |
38 |
| -==9750== by 0x499E292: clone (clone.S:95) |
39 |
| -==9750== |
40 |
| -==9750== 272 bytes in 1 blocks are possibly lost in loss record 5 of 6 |
41 |
| -==9750== at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) |
42 |
| -==9750== by 0x40149CA: allocate_dtv (dl-tls.c:286) |
43 |
| -==9750== by 0x40149CA: _dl_allocate_tls (dl-tls.c:532) |
44 |
| -==9750== by 0x4863322: allocate_stack (allocatestack.c:622) |
45 |
| -==9750== by 0x4863322: pthread_create@@GLIBC_2.2.5 (pthread_create.c:660) |
46 |
| -==9750== by 0x484B315: so_fork (scheduler.c:59) |
47 |
| -==9750== by 0x10B581: test_sched_21 (test_io.c:225) |
48 |
| -==9750== by 0x10962B: main (run_test.c:120) |
49 |
| -==9750== |
50 |
| -==9750== 272 bytes in 1 blocks are possibly lost in loss record 6 of 6 |
51 |
| -==9750== at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) |
52 |
| -==9750== by 0x40149CA: allocate_dtv (dl-tls.c:286) |
53 |
| -==9750== by 0x40149CA: _dl_allocate_tls (dl-tls.c:532) |
54 |
| -==9750== by 0x4863322: allocate_stack (allocatestack.c:622) |
55 |
| -==9750== by 0x4863322: pthread_create@@GLIBC_2.2.5 (pthread_create.c:660) |
56 |
| -==9750== by 0x484B315: so_fork (scheduler.c:59) |
57 |
| -==9750== by 0x10B335: test_sched_handler_21 (test_io.c:177) |
58 |
| -==9750== by 0x484B287: thread_start (scheduler.c:44) |
59 |
| -==9750== by 0x4862608: start_thread (pthread_create.c:477) |
60 |
| -==9750== by 0x499E292: clone (clone.S:95) |
61 |
| -==9750== |
62 |
| -==9750== LEAK SUMMARY: |
63 |
| -==9750== definitely lost: 0 bytes in 0 blocks |
64 |
| -==9750== indirectly lost: 0 bytes in 0 blocks |
65 |
| -==9750== possibly lost: 544 bytes in 2 blocks |
66 |
| -==9750== still reachable: 80 bytes in 4 blocks |
67 |
| -==9750== suppressed: 0 bytes in 0 blocks |
68 |
| -==9750== |
69 |
| -==9750== For lists of detected and suppressed errors, rerun with: -s |
70 |
| -==9750== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) |
| 1 | +==395902== Memcheck, a memory error detector |
| 2 | +==395902== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. |
| 3 | +==395902== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info |
| 4 | +==395902== Command: ./_test/run_test 20 |
| 5 | +==395902== Parent PID: 395901 |
| 6 | +==395902== |
| 7 | +==395902== |
| 8 | +==395902== HEAP SUMMARY: |
| 9 | +==395902== in use at exit: 272 bytes in 1 blocks |
| 10 | +==395902== total heap usage: 46 allocs, 45 frees, 2,216 bytes allocated |
| 11 | +==395902== |
| 12 | +==395902== 272 bytes in 1 blocks are possibly lost in loss record 1 of 1 |
| 13 | +==395902== at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) |
| 14 | +==395902== by 0x40149CA: allocate_dtv (dl-tls.c:286) |
| 15 | +==395902== by 0x40149CA: _dl_allocate_tls (dl-tls.c:532) |
| 16 | +==395902== by 0x4863322: allocate_stack (allocatestack.c:622) |
| 17 | +==395902== by 0x4863322: pthread_create@@GLIBC_2.2.5 (pthread_create.c:660) |
| 18 | +==395902== by 0x484BE88: so_fork (scheduler.c:256) |
| 19 | +==395902== by 0x10B346: test_sched_handler_21 (test_io.c:178) |
| 20 | +==395902== by 0x484BDBC: thread_start (scheduler.c:232) |
| 21 | +==395902== by 0x4862608: start_thread (pthread_create.c:477) |
| 22 | +==395902== by 0x499E292: clone (clone.S:95) |
| 23 | +==395902== |
| 24 | +==395902== LEAK SUMMARY: |
| 25 | +==395902== definitely lost: 0 bytes in 0 blocks |
| 26 | +==395902== indirectly lost: 0 bytes in 0 blocks |
| 27 | +==395902== possibly lost: 272 bytes in 1 blocks |
| 28 | +==395902== still reachable: 0 bytes in 0 blocks |
| 29 | +==395902== suppressed: 0 bytes in 0 blocks |
| 30 | +==395902== |
| 31 | +==395902== For lists of detected and suppressed errors, rerun with: -s |
| 32 | +==395902== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) |
0 commit comments