Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created October 15, 2019 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/e4cb7b4d003f9f7177a70f73a49c7727 to your computer and use it in GitHub Desktop.
Save dogbert17/e4cb7b4d003f9f7177a70f73a49c7727 to your computer and use it in GitHub Desktop.
t/spec/S17-procasync/encoding.t
dogbert@dogbert-ubuntu:~/repos/rakudo$ ./perl6-valgrind-m -Ilib t/spec/S17-procasync/encoding.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.
Valgrind options can be added with MVM_VALGRIND_OPTS environment variable.
This Rakudo version is 2019.07.1.396.g.1.fa.7.ceddd built on MoarVM version 2019.07.1.268.g.07.b.00.bbd.7,
running on ubuntu (18.04.3.LTS.Bionic.Beaver) / linux (74.Ubuntu.SMP.Tue.Sep.17.17.06.04.UTC.2019)
------------------------------------------------------------------------------------------------
==22111== Memcheck, a memory error detector
==22111== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22111== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22111== Command: /home/dogbert/repos/rakudo/install/bin/moar --execname=/home/dogbert/repos/rakudo/perl6-valgrind-m --libpath=/home/dogbert/repos/rakudo --libpath=/home/dogbert/repos/rakudo/blib --libpath= --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib /home/dogbert/repos/rakudo/perl6.moarvm --nqp-lib=/home/dogbert/repos/rakudo/blib -Ilib t/spec/S17-procasync/encoding.t
==22111==
--22111-- WARNING: unhandled amd64-linux syscall: 332
--22111-- You may be able to write your own handler.
--22111-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--22111-- Nevertheless we consider this a bug. Please report
--22111-- it at http://valgrind.org/support/bug_reports.html.
1..13
==22111== Thread 3:
==22111== Invalid read of size 4
==22111== at 0x510B9B2: MVM_string_utf8_decodestream (utf8.c:523)
==22111== by 0x5106437: run_decode (decode_stream.c:121)
==22111== by 0x510763D: MVM_string_decodestream_get_available (decode_stream.c:522)
==22111== by 0x50CBEA7: MVM_decoder_take_available_chars (Decoder.c:276)
==22111== by 0x5035FFD: MVM_interp_run (interp.c:5152)
==22111== by 0x5051BD5: start_thread (threads.c:87)
==22111== by 0x60836DA: start_thread (pthread_create.c:463)
==22111== by 0x5A0E88E: clone (clone.S:95)
==22111== Address 0x8d0700c is 0 bytes after a block of size 12 alloc'd
==22111== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==22111== by 0x510B0A9: MVM_malloc (alloc.h:2)
==22111== by 0x510B0A9: MVM_string_utf8_decodestream (utf8.c:338)
==22111== by 0x5106437: run_decode (decode_stream.c:121)
==22111== by 0x510763D: MVM_string_decodestream_get_available (decode_stream.c:522)
==22111== by 0x50CBEA7: MVM_decoder_take_available_chars (Decoder.c:276)
==22111== by 0x5035FFD: MVM_interp_run (interp.c:5152)
==22111== by 0x5051BD5: start_thread (threads.c:87)
==22111== by 0x60836DA: start_thread (pthread_create.c:463)
==22111== by 0x5A0E88E: clone (clone.S:95)
==22111==
==22111== Use of uninitialised value of size 8
==22111== at 0x5945811: _itoa_word (_itoa.c:180)
==22111== by 0x5948F0D: vfprintf (vfprintf.c:1642)
==22111== by 0x5A1F168: __vsnprintf_chk (vsnprintf_chk.c:63)
==22111== by 0x5024AAC: vsnprintf (stdio2.h:77)
==22111== by 0x5024AAC: MVM_exception_throw_adhoc_free_va (exceptions.c:897)
==22111== by 0x5026DEE: MVM_exception_throw_adhoc_free (exceptions.c:881)
==22111== by 0x510B9CD: MVM_string_utf8_decodestream (utf8.c:523)
==22111== by 0x5106437: run_decode (decode_stream.c:121)
==22111== by 0x510763D: MVM_string_decodestream_get_available (decode_stream.c:522)
==22111== by 0x50CBEA7: MVM_decoder_take_available_chars (Decoder.c:276)
==22111== by 0x5035FFD: MVM_interp_run (interp.c:5152)
==22111== by 0x5051BD5: start_thread (threads.c:87)
==22111== by 0x60836DA: start_thread (pthread_create.c:463)
==22111==
==22111== Conditional jump or move depends on uninitialised value(s)
==22111== at 0x5945818: _itoa_word (_itoa.c:180)
==22111== by 0x5948F0D: vfprintf (vfprintf.c:1642)
==22111== by 0x5A1F168: __vsnprintf_chk (vsnprintf_chk.c:63)
==22111== by 0x5024AAC: vsnprintf (stdio2.h:77)
==22111== by 0x5024AAC: MVM_exception_throw_adhoc_free_va (exceptions.c:897)
==22111== by 0x5026DEE: MVM_exception_throw_adhoc_free (exceptions.c:881)
==22111== by 0x510B9CD: MVM_string_utf8_decodestream (utf8.c:523)
==22111== by 0x5106437: run_decode (decode_stream.c:121)
==22111== by 0x510763D: MVM_string_decodestream_get_available (decode_stream.c:522)
==22111== by 0x50CBEA7: MVM_decoder_take_available_chars (Decoder.c:276)
==22111== by 0x5035FFD: MVM_interp_run (interp.c:5152)
==22111== by 0x5051BD5: start_thread (threads.c:87)
==22111== by 0x60836DA: start_thread (pthread_create.c:463)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment