Skip to content

GASMAN problem in BIPART_LEFT_BLOCKS / BIPART_RIGHT_BLOCKS #469

@ChrisJefferson

Description

@ChrisJefferson

In BIPART_LEFT_BLOCKS and RIGHT_BLOCKS, t bipart.cc:616 on my machine, here is a line which looks like:

ADDR_OBJ(x)[1] = blocks_new_obj(bipart_get_cpp(x)->left_blocks());

That's illegal, as the left hand side gets evaluated first, then the right hand side can cause GC.

Found using the new memory canary in ( gap-system/gap#2293 ), just for information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugLabel for issues or PR which report or fix bugsduplicateLabel for issues or PR that are duplicates of others

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions