Skip to content

primitiveDoNamedPrimitiveWithArgs segfaults when invoking ADPCMCodecPlugin #772

Description

@LinqLover

Repro:

thisContext tryNamedPrimitiveIn: ADPCMCodec>>#privateDecodeMono: for: ADPCMCodec new withArgs: #(0)

Segfault!

Alternatively, debug this and try to step into privateDecodeMono: in Squeak:

ADPCMCodec new privateDecodeMono: 0.

In simulation, instead I get a WARNING! Failing translated primitive primitiveDecodeMono implemented by ADPCMCodec>>privateDecodeMono: and an assertion failure from SpurMemoryManager>>#followForwardedObjectFields:toDepth: (objOop points to #primitiveFailed) which I can ignore though. Is this a different bug?

If you manage to fix this, I would be interested to learn what caused this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions