Created
April 13, 2019 15:12
-
-
Save dogbert17/f902f4a8d0c8e1b2958fcdc227eeaa17 to your computer and use it in GitHub Desktop.
Problem when process gets killed in MasterDukes example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
Proc finished: exitcode=1 signal=0 | |
line 6: sleep(25) | |
==14914== Invalid write of size 8 | |
==14914== at 0x5162473: uv__finish_close (core.c:276) | |
==14914== by 0x5162473: uv__run_closing_handles (core.c:293) | |
==14914== by 0x5162473: uv_run (core.c:363) | |
==14914== by 0x503AA70: thread_initial_invoke (threads.c:59) | |
==14914== by 0x50146BD: MVM_interp_run (interp.c:128) | |
==14914== by 0x503AAF5: start_thread (threads.c:87) | |
==14914== by 0x5EE26B9: start_thread (pthread_create.c:333) | |
==14914== Address 0xdd1e3d0 is 48 bytes inside a block of size 176 free'd | |
==14914== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==14914== by 0x505C80C: MVM_gc_collect_free_nursery_uncopied (collect.c:626) | |
==14914== by 0x5057EF9: finish_gc (orchestrate.c:241) | |
==14914== by 0x5057EF9: run_gc (orchestrate.c:413) | |
==14914== by 0x5058A2D: MVM_gc_enter_from_allocator (orchestrate.c:526) | |
==14914== by 0x5058D35: MVM_gc_allocate_nursery (allocation.c:35) | |
==14914== by 0x5058F4A: MVM_gc_allocate_object (allocation.c:89) | |
==14914== by 0x5034028: MVM_frame_takeclosure (frame.c:1192) | |
==14914== by 0x5017492: MVM_interp_run (interp.c:1220) | |
==14914== by 0x503AAF5: start_thread (threads.c:87) | |
==14914== by 0x5EE26B9: start_thread (pthread_create.c:333) | |
==14914== Block was alloc'd at | |
==14914== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==14914== by 0x5068B31: MVM_malloc (alloc.h:2) | |
==14914== by 0x5068B31: MVM_io_signal_handle (signals.c:320) | |
==14914== by 0x50212EB: MVM_interp_run (interp.c:4146) | |
==14914== by 0x5128453: MVM_vm_run_file (moar.c:444) | |
==14914== by 0x4011DE: main (main.c:302) | |
==14914== | |
==14914== Invalid write of size 8 | |
==14914== at 0x5162468: uv__finish_close (core.c:276) | |
==14914== by 0x5162468: uv__run_closing_handles (core.c:293) | |
==14914== by 0x5162468: uv_run (core.c:363) | |
==14914== by 0x503AA70: thread_initial_invoke (threads.c:59) | |
==14914== by 0x50146BD: MVM_interp_run (interp.c:128) | |
==14914== by 0x503AAF5: start_thread (threads.c:87) | |
==14914== by 0x5EE26B9: start_thread (pthread_create.c:333) | |
==14914== Address 0x7560f98 is 40 bytes inside a block of size 176 free'd | |
==14914== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==14914== by 0x505C80C: MVM_gc_collect_free_nursery_uncopied (collect.c:626) | |
==14914== by 0x5057EF9: finish_gc (orchestrate.c:241) | |
==14914== by 0x5057EF9: run_gc (orchestrate.c:413) | |
==14914== by 0x5058A2D: MVM_gc_enter_from_allocator (orchestrate.c:526) | |
==14914== by 0x5058D35: MVM_gc_allocate_nursery (allocation.c:35) | |
==14914== by 0x5058F4A: MVM_gc_allocate_object (allocation.c:89) | |
==14914== by 0x5034028: MVM_frame_takeclosure (frame.c:1192) | |
==14914== by 0x5017492: MVM_interp_run (interp.c:1220) | |
==14914== by 0x503AAF5: start_thread (threads.c:87) | |
==14914== by 0x5EE26B9: start_thread (pthread_create.c:333) | |
==14914== Block was alloc'd at | |
==14914== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==14914== by 0x5068B31: MVM_malloc (alloc.h:2) | |
==14914== by 0x5068B31: MVM_io_signal_handle (signals.c:320) | |
==14914== by 0x50212EB: MVM_interp_run (interp.c:4146) | |
==14914== by 0x5128453: MVM_vm_run_file (moar.c:444) | |
==14914== by 0x4011DE: main (main.c:302) | |
==14914== | |
Timeout. Asking the process to stop | |
Proc finished: exitcode=0 signal=1 | |
Program finished | |
==14914== | |
==14914== HEAP SUMMARY: | |
==14914== in use at exit: 72,815,270 bytes in 219,553 blocks | |
==14914== total heap usage: 399,671 allocs, 180,118 frees, 201,101,085 bytes allocated | |
==14914== | |
==14914== LEAK SUMMARY: | |
==14914== definitely lost: 848 bytes in 4 blocks | |
==14914== indirectly lost: 0 bytes in 0 blocks | |
==14914== possibly lost: 440,288 bytes in 7,856 blocks | |
==14914== still reachable: 72,374,134 bytes in 211,693 blocks | |
==14914== suppressed: 0 bytes in 0 blocks | |
==14914== Rerun with --leak-check=full to see details of leaked memory | |
==14914== | |
==14914== For counts of detected and suppressed errors, rerun with: -v | |
==14914== ERROR SUMMARY: 52 errors from 3 contexts (suppressed: 0 from 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment