Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t/spec/S17-supply/start.t can cause invalid reads from unsynchronized --full-cleanup instance teardown #5737

Open
p6rt opened this issue Oct 8, 2016 · 1 comment
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 8, 2016

Migrated from rt.perl.org#129832 (status was 'new')

Searchable as RT129832$

@p6rt
Copy link
Author

p6rt commented Oct 8, 2016

From @dogbert17

On every ~5 runs under valgrind t/spec/S17-supply/start.t generates a bunch
of invalid reads, possible due to some kind of interaction with the GC. When
this happens valgrind outputs the following on my 32 bit Linux VM.

dogbert@​dogbert-VirtualBox ~/repos/rakudo $ ./perl6-valgrind-m -Ilib
t/spec/S17-supply/start.t

====================
This is Rakudo Perl 6 running in valgrind, a tool for debugging and
profiling programs.
Running a program in valgrind usually takes *a lot* more time than running
it directly,
so please be patient.
This Rakudo version is 2016.09.142.g.605.f.272 built on MoarVM version
2016.09.24.g.542.b.899,
running on ubuntu (14.04.3.LTS.Trusty.Tahr) / linux (3.19.0.32.generic)



==4878== Memcheck, a memory error detector
==4878== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==4878== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==4878== Command​: /home/dogbert/repos/rakudo/install/bin/moar --full-cleanup
--execname=./perl6-valgrind-m
--libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=.
/home/dogbert/repos/rakudo/perl6.moarvm -Ilib t/spec/S17-supply/start.t
==4878==
1..8
ok 1 - can not be called as a class method
ok 2 - Did we get a starter Supply?
ok 3 - Did we get a Tap
ok 4 - did we get a supply?
ok 5 - did we get a tap?
ok 6 - did we get two extra supplies?
ok 7 - did we get two extra taps?
ok 8 - did we get the other original value
==4878== Thread 2​:
==4878== Invalid read of size 4
==4878== at 0x416EA53​: MVM_sc_get_object (sc.c​:178)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5B3F​: MVM_interp_run (interp.c​:3013)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x5aff3a8 is 24 bytes inside a block of size 108 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F806​: gc_free (SCRef.c​:114)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA5F​: MVM_sc_get_object (sc.c​:179)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5B3F​: MVM_interp_run (interp.c​:3013)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x5aff39c is 12 bytes inside a block of size 108 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F806​: gc_free (SCRef.c​:114)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA62​: MVM_sc_get_object (sc.c​:179)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5B3F​: MVM_interp_run (interp.c​:3013)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x5aff398 is 8 bytes inside a block of size 108 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F806​: gc_free (SCRef.c​:114)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA95​: MVM_sc_get_object (sc.c​:181)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5B3F​: MVM_interp_run (interp.c​:3013)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x6a89668 is 72 bytes inside a block of size 3,904 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F742​: gc_free (SCRef.c​:99)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA07​: sc_working (sc.c​:172)
==4878== by 0x416EAA5​: MVM_sc_get_object (sc.c​:181)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5B3F​: MVM_interp_run (interp.c​:3013)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x5aff3f4 is 100 bytes inside a block of size 108 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F806​: gc_free (SCRef.c​:114)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA16​: sc_working (sc.c​:173)
==4878== by 0x416EAA5​: MVM_sc_get_object (sc.c​:181)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5B3F​: MVM_interp_run (interp.c​:3013)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x6a88d70 is 168 bytes inside a block of size 184 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F7F8​: gc_free (SCRef.c​:110)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EABB​: MVM_sc_get_object (sc.c​:183)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5B3F​: MVM_interp_run (interp.c​:3013)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x6a89668 is 72 bytes inside a block of size 3,904 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F742​: gc_free (SCRef.c​:99)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x40EFE67​: MVM_frame_find_lexical_by_name (frame.c​:1143)
==4878== by 0x40DDE87​: MVM_interp_run (interp.c​:4189)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x7a92f48 is 2,568 bytes inside a block of size 5,696
free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x410CB82​: MVM_free (alloc.h​:29)
==4878== by 0x410D30A​: MVM_fixed_size_free (fixedsizealloc.c​:209)
==4878== by 0x40ED077​: MVM_frame_destroy (frame.c​:96)
==4878== by 0x411A0DD​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:572)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x40DDEB4​: MVM_interp_run (interp.c​:4191)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x7a92f48 is 2,568 bytes inside a block of size 5,696
free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x410CB82​: MVM_free (alloc.h​:29)
==4878== by 0x410D30A​: MVM_fixed_size_free (fixedsizealloc.c​:209)
==4878== by 0x40ED077​: MVM_frame_destroy (frame.c​:96)
==4878== by 0x411A0DD​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:572)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA53​: MVM_sc_get_object (sc.c​:178)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5C01​: MVM_interp_run (interp.c​:3020)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x5aff1f0 is 24 bytes inside a block of size 108 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F806​: gc_free (SCRef.c​:114)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA5F​: MVM_sc_get_object (sc.c​:179)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5C01​: MVM_interp_run (interp.c​:3020)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x5aff1e4 is 12 bytes inside a block of size 108 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F806​: gc_free (SCRef.c​:114)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA62​: MVM_sc_get_object (sc.c​:179)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5C01​: MVM_interp_run (interp.c​:3020)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x5aff1e0 is 8 bytes inside a block of size 108 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F806​: gc_free (SCRef.c​:114)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA95​: MVM_sc_get_object (sc.c​:181)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5C01​: MVM_interp_run (interp.c​:3020)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x6c6a168 is 287,040 bytes inside a block of size 646,712
free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F742​: gc_free (SCRef.c​:99)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA07​: sc_working (sc.c​:172)
==4878== by 0x416EAA5​: MVM_sc_get_object (sc.c​:181)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5C01​: MVM_interp_run (interp.c​:3020)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x5aff23c is 100 bytes inside a block of size 108 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F806​: gc_free (SCRef.c​:114)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EA16​: sc_working (sc.c​:173)
==4878== by 0x416EAA5​: MVM_sc_get_object (sc.c​:181)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5C01​: MVM_interp_run (interp.c​:3020)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x6b43560 is 168 bytes inside a block of size 184 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F7F8​: gc_free (SCRef.c​:110)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x416EABB​: MVM_sc_get_object (sc.c​:183)
==4878== by 0x416EBD1​: MVM_sc_get_sc_object (sc.c​:199)
==4878== by 0x40D5C01​: MVM_interp_run (interp.c​:3020)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x6c6a168 is 287,040 bytes inside a block of size 646,712
free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x414E8DD​: MVM_free (alloc.h​:29)
==4878== by 0x414F742​: gc_free (SCRef.c​:99)
==4878== by 0x411A11F​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:580)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x40C2E03​: MVM_interp_run (interp.c​:274)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x7a928a4 is 868 bytes inside a block of size 5,696 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x410CB82​: MVM_free (alloc.h​:29)
==4878== by 0x410D30A​: MVM_fixed_size_free (fixedsizealloc.c​:209)
==4878== by 0x40ED077​: MVM_frame_destroy (frame.c​:96)
==4878== by 0x411A0DD​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:572)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878== Invalid read of size 4
==4878== at 0x40C2E06​: MVM_interp_run (interp.c​:274)
==4878== by 0x40F8B0F​: start_thread (threads.c​:77)
==4878== by 0x41E4756​: uv__thread_start (in
/home/dogbert/repos/rakudo/install/lib/libmoar.so)
==4878== by 0x45EAF71​: start_thread (pthread_create.c​:312)
==4878== by 0x44DAF8D​: clone (clone.S​:129)
==4878== Address 0x7a928a0 is 864 bytes inside a block of size 5,696 free'd
==4878== at 0x402B3D8​: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4878== by 0x410CB82​: MVM_free (alloc.h​:29)
==4878== by 0x410D30A​: MVM_fixed_size_free (fixedsizealloc.c​:209)
==4878== by 0x40ED077​: MVM_frame_destroy (frame.c​:96)
==4878== by 0x411A0DD​: MVM_gc_collect_free_nursery_uncopied
(collect.c​:572)
==4878== by 0x411520E​: MVM_gc_global_destruction (orchestrate.c​:511)
==4878== by 0x41C8CCF​: MVM_vm_destroy_instance (moar.c​:391)
==4878== by 0x8048EB8​: main (main.c​:194)
==4878==
==4878==
==4878== HEAP SUMMARY​:
==4878== in use at exit​: 71,288,124 bytes in 213,727 blocks
==4878== total heap usage​: 321,091 allocs, 107,364 frees, 97,920,670 bytes
allocated
==4878==
==4878== LEAK SUMMARY​:
==4878== definitely lost​: 6,134 bytes in 186 blocks
==4878== indirectly lost​: 14,112 bytes in 668 blocks
==4878== possibly lost​: 224,628 bytes in 7,019 blocks
==4878== still reachable​: 71,043,250 bytes in 205,854 blocks
==4878== suppressed​: 0 bytes in 0 blocks
==4878== Rerun with --leak-check=full to see details of leaked memory
==4878==
==4878== For counts of detected and suppressed errors, rerun with​: -v
==4878== ERROR SUMMARY​: 2281 errors from 18 contexts (suppressed​: 0 from 0)
Killed

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant