Skip to content

Double free of a custom-order channel layout aborts the process #2444

Closed

Description

@zephthomas
import av
a = av.AudioLayout("FR+FL")
b = av.AudioLayout(a)
del a
del b  # aborts, exit 133

Aborts on 17.1.0, 18.0.0, 19.0.0 and 19.0.1. Fine on 17.0.0.

The issue also occurs with real files: a 7.1 aiff written by FFmpeg or a film-order 5.1 mov aborts when reading stream.layout.channels or decoding.

Activity

  1. WyattBlue commented on Oct 19, 2026

    @WyattBlue
    Member
  2. zephthomas commented on Oct 19, 2026

    @zephthomas
    Author

    Updated

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

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