Skip to content

Unsupported signal 2 delivered #28

Open

Description

@jazzdan

I tried to record a recording of an infinite loop because I wanted to see how it was getting stuck. The only way to terminate my program was to send it a SIGKILL via ctrl+c. Unfortunately that seems to render the recording unusable. When I run replay-recordings ls I get:

  {
    "id": 663276012,
    "createTime": "Thu Oct 21 2021 16:39:05 GMT-0400 (Eastern Daylight Time)",
    "runtime": "node",
    "metadata": {
      "argv": [
        "./node_modules/.bin/ts-node",
        "scripts/dev-backfill.ts",
      ]
    },
    "status": "unusable",
    "path": "/Users/dan/.replay/recording-663276012.dat",
    "unusableReason": "Recording invalidated: Unsupported signal 2 delivered"
  }

Activity

  1. nathggns commented on May 26, 2022

    @nathggns

    I have the same issue.

  2. gideonred commented on May 26, 2022

    @gideonred

    @bhackett1024 do we have plans to support breaking out of infinite loops during node recordings?

  3. bhackett1024 commented on May 27, 2022

    @bhackett1024

    @bhackett1024 do we have plans to support breaking out of infinite loops during node recordings?

    Not presently, but this could go on the roadmap if we want it fixed. Both infinite loops and infinite recursions can be handled, but both will require special handling / participation from the runtime being recorded.

  4. gideonred commented on May 27, 2022

    @gideonred

    @ceceliacreates it might be worth calling out in the documents that in our Node recording you currently need to have code that actually finishes since we don't support SIGKILL-ing out of the Node processes (and having a usable recording).

  5. gideonred commented on Jun 9, 2022

    @gideonred

    This ticket has been moved to RUN-309

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions