Skip to content

Segfault after calling a closed consumer #255

Closed
@johnistan

Description

@johnistan

Description

Once a Consumer has been closed, calling any subsequent method references the inter handle self->rk which is now NULL and causes a segfault.

The consumer should instead raise an exception for the application code to handle.

How to reproduce

c = Consumer()
c.close()
c.assignment() # SEGFAULT

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