Skip to content

"shared-state-async discover" hangs #1198

@eric-j-ason

Description

@eric-j-ason

Building and running shared-state-async on Debian results in a binary that hangs on shared-state-async discover and produces no output. The external script shared-state-async-discover does get called, so the hangup comes after that.

A workaround is to put a debug printout such as this anywhere in the body of the function closeAFD:

RS_DBG("Debug printout as a workaround");

This suggests to me that it is a memory management bug, and that the extra printout happens to change the memory layout in such a way that the bug no longer shows itself.

The problem appears in Debug, Coverage as well as Release builds, and the workaround works in all three cases.

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