Skip to content

Pd crashes with multichannel input to pdlua object from subpatch with clone (under certain circumstances) #62

@ben-wes

Description

@ben-wes

maybe you people here might have an immediate idea on what's going on there:

i was working with a multichannel pdlua object and at some point, it seemed to receive weird signals when they originated from a [clone -do ...] (-do is for distributing cloned signals to separate channels on output) ... but only if the clone was subpatched. i then tried to make some simplified tests and even achieved crashes here.

attaching a test patch with 2 clones and 2 subpatched clones. if you connect one after the other exclusively to the lua object (that just outputs all incoming samples once whenever dsp is activated), you might see that Pd crashes for one of the subpatches.

crash.zip

this is not an issue in plugdata (at least, everything seemed to be working fine for me there).
now i'm not sure if there's some pointer issue in my pdlua multichannel implementation or if Pd (0.55-1 on M2 mac) does funny things when a multichannel clone output goes through the outlet of a subpatch. i'm lost ... help! ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions