Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make raiseIgnoringPanicHandler ignore the panic handler #12578

Merged
merged 6 commits into from
Jul 27, 2024

Conversation

paperclover
Copy link
Member

What does this PR do?

I guess the new panic handler is so good at handling crashes that the method used before in raiseIgnoringPanicHandler was not actually ignoring it. This definitely happened on windows, considering there was no code at all to reset signal handlers.

We have a function for this: bun.crash_handler.resetSegfaultHandler();. We just invoke that now!

Copy link
Contributor

github-actions bot commented Jul 15, 2024

@Jarred-Sumner, your commit has failing tests :(

🐧💪 1 failing tests Linux AARCH64

  • test/js/bun/shell/leak.test.ts 1 failing

🪟💻 4 failing tests Windows x64 baseline

  • test/cli/install/registry/bun-install-registry.test.ts 1 failing
  • test/integration/next-pages/test/dev-server.test.ts 1 failing
  • test/js/bun/spawn/spawn.test.ts SIGKILL
  • test/js/node/child_process/child_process.test.ts 1 failing

🪟💻 2 failing tests Windows x64

  • test/cli/install/registry/bun-install-registry.test.ts 1 failing
  • test/js/node/child_process/child_process.test.ts 1 failing

View logs

@paperclover paperclover marked this pull request as draft July 15, 2024 23:04
@paperclover
Copy link
Member Author

will need to have a test

@paperclover paperclover force-pushed the dave/raise-ignoring-panic-handler branch from 873d39d to 6d5945c Compare July 24, 2024 05:42
@paperclover paperclover marked this pull request as ready for review July 24, 2024 23:40
@Jarred-Sumner Jarred-Sumner merged commit 75df73e into main Jul 27, 2024
49 of 54 checks passed
@Jarred-Sumner Jarred-Sumner deleted the dave/raise-ignoring-panic-handler branch July 27, 2024 01:36
paperclover added a commit that referenced this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants