Skip to content

HXCPP_GC_MOVING crashes #1414

Open

Description

@Aidan63

If you compile and run the haxe tests with this define you get a seg fault. This doesn't seem to be the result of the GC twiddling I've been doing recently, but I've not bisected to the bad commit yet.
Related to the "different GC paths" in #1386, none of the CI compiles with the moving define.

Activity

  1. tobil4sk commented on Oct 9, 2026

    @tobil4sk
    Member

    HXCPP_ALIGN_ALLOC is default now, so I wonder if it could somehow be related to: #1167

  2. tobil4sk commented on Nov 5, 2026

    @tobil4sk
    Member

    Confirmed that this starts to happen in daffb7b, so HXCPP_ALIGN_ALLOC would be to blame. In theory we could go back to disabling it by default now that the std::atomic is no longer part of the gc class: #1441.

    There is a smaller program that reproduces the crash in #1167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions