SBCL keeps on keepin' on even when it should abort

Open
#64 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c

Research direction

Start with the linked SBCL src/runtime/interr.c code and trace how the SIGTERM-triggered corruption warning reaches the “Continuing with fingers crossed” behavior. Confirm how libquil invokes SBCL, then verify that the application aborts instead of continuing after SIGTERM; add or run a focused regression check if the repository provides one.

Written by the indexing model from the issue text.

Description

I was running an application with libquil embedded, sent a SIGTERM, and got a long error message that included this:

CORRUPTION WARNING in SBCL pid 52443 pthread 0x16f793000:
Memory fault at 0x5389af61046622df (pc=0x183aab7cc)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.

That's absolutely not desirable. It appears that "continuing with fingers crossed" is some kind of optional behavior; we should disable it.

Dominant language
Common Lisp
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rigetti/libquil

All issues in rigetti/libquil

Similar issues

More Operating Systems issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.