Skip to content

Frequent heap corruption #1888

@coke

Description

@coke

Regularly, when running the REPL in raku, I get the following error:

➜  rakudo git:(main) ✗ raku
Welcome to Rakudo™ v2024.12.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.12.

To exit type 'exit' or '^D'
[0] > 64/488
0.131148
[1] >raku(12128,0x1f7060f40) malloc: Heap corruption detected, free list is damaged at 0x6000033a0240
*** Incorrect guard value: 18433
raku(12128,0x1f7060f40) malloc: *** set a breakpoint in malloc_error_break to debug
[1]    12128 abort      raku
➜  rakudo git:(main) ✗ sw_vers
ProductName:		macOS
ProductVersion:		14.6.1
BuildVersion:		23G93
➜  rakudo git:(main) ✗ zef list --installed
===> Found via inst#/Users/coke/.rakubrew/versions/moar-2024.12/install/share/perl6/site
App::SudokuHelper:ver<0.9.1>:auth<zef:coke>
App::Zef-Deps:ver<0.9.8>:auth<zef:coke>
Array::Agnostic:ver<0.0.13>:auth<zef:lizmat>
Base64:ver<0.1.0>:auth<github:ugexe>
CBOR::Simple:ver<0.1.3>:auth<zef:japhb>
Code::Coverable:ver<0.0.12>:auth<zef:lizmat>
Code::Coverage:ver<0.0.6>:auth<zef:lizmat>
Cro::Core:ver<0.8.9>:auth<zef:cro>
Cro::HTTP:ver<0.8.9.1>:auth<zef:cro>
Cro::TLS:ver<0.8.9>:auth<zef:cro>
Crypt::Random:ver<0.4.1>:auth<github:skinkade>
DateTime::Parse:ver<0.9.3>:auth<github:sergot>
Digest::HMAC:ver<1.0.7>:auth<zef:jjmerelo>
Digest:ver<1.1.0>:auth<zef:grondilu>
Doc::TypeGraph:ver<2.2.1.1>:auth<zef:jjmerelo>:api<2>
Encode:ver<0.0.4>:auth<github:sergot>
File::Directory::Tree:ver<0.1>:auth<zef:labster>
File::Find:ver<0.2.1>:auth<zef:raku-community-modules>
File::Temp:ver<0.0.11>:auth<zef:raku-community-modules>
HTTP::HPACK:ver<1.0.1>:auth<zef:jnthn>
HTTP::Status:ver<0.0.4>:auth<zef:lizmat>
HTTP::UserAgent:ver<1.1.52>:auth<github:sergot>
IO::Capture::Simple:ver<v.0.0.2>:auth<zef:jjmerelo>
IO::Path::ChildSecure:ver<1.2>:auth<zef:raku-community-modules>
IO::Socket::Async::SSL:ver<0.8.1>:auth<zef:raku-community-modules>
IO::Socket::SSL:ver<0.0.3>:auth<github:sergot>
Identity::Utils:ver<0.0.17>:auth<zef:lizmat>
JSON::Class:ver<0.0.21>:auth<zef:jonathanstowe>:api<1.0>
JSON::Fast:ver<0.19>:auth<cpan:TIMOTIMO>
JSON::JWT:ver<1.1.2>:auth<zef:raku-community-modules>
JSON::Marshal:ver<0.0.25>:auth<zef:jonathanstowe>:api<1.0>
JSON::Name:ver<0.0.7>:auth<zef:jonathanstowe>:api<1.0>
JSON::OptIn:ver<0.0.2>:auth<zef:jonathanstowe>
JSON::Unmarshal:ver<0.15>:auth<zef:raku-community-modules>
License::SPDX:ver<3.25.0>:auth<zef:jonathanstowe>:api<1.0>
List::Agnostic:ver<0.0.3>:auth<zef:lizmat>
Log::Timeline:ver<0.5.2>:auth<zef:raku-community-modules>
META6:ver<0.0.30>:auth<zef:jonathanstowe>:api<1.0>
META::constants:ver<0.0.5>:auth<zef:lizmat>:api<0>
META::verauthapi:ver<0.0.1>:auth<zef:lizmat>:api<0>
MIME::Base64:ver<1.2.3>:auth<zef:raku-community-modules>
MoarVM::Bytecode:ver<0.0.24>:auth<zef:lizmat>
OO::Monitors:ver<1.1.3>:auth<zef:raku-community-modules>
OpenSSL:ver<0.2.2>:auth<github:sergot>
PathTools:ver<0.2.0>:auth<github:ugexe>
Slang::Tuxic:ver<0.0.4>:auth<zef:raku-community-modules>
Slangify:ver<0.0.3>:auth<zef:lizmat>
String::Utils:ver<0.0.32>:auth<zef:lizmat>
Terminal-MakeRaw:ver<1.0.0>:auth<zef:patrickb>
Terminal::ANSIColor:ver<0.12>:auth<zef:raku-community-modules>
Terminal::ANSIParser:ver<0.0.4>:auth<zef:japhb>
Terminal::Capabilities:ver<0.0.3>:auth<zef:japhb>
Terminal::LineEditor:ver<0.0.17>:auth<zef:japhb>
Terminal::Spinners:ver<1.6.0>:auth<github:ryn1x>
Test::Coverage:ver<0.0.5>:auth<zef:lizmat>
Test::META:ver<0.0.20>:auth<zef:jonathanstowe>:api<1.0>
Test::Util::ServerPort:ver<0.0.5>:auth<zef:jonathanstowe>:api<1.0>
Text::CSV:ver<0.022>:auth<zef:Tux>
Text::MiscUtils:ver<0.0.9>:auth<zef:japhb>
TinyFloats:ver<0.0.4>:auth<zef:japhb>
URI:ver<0.3.8>:auth<zef:raku-community-modules>
WWW::DuckDuckGo:ver<0.1.1>:auth<zef:raku-community-modules>
if:ver<0.1.2>:auth<zef:raku-community-modules>
paths:ver<10.1>:auth<zef:lizmat>
zef:ver<0.22.6>:auth<github:ugexe>:api<0>
===> Found via inst#/Users/coke/.rakubrew/versions/moar-2024.12/install/share/perl6/core
rakudo:ver<2024.12>:auth<Yet Another Society>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions