posit-dev / posit-dev/positron

R stack overflow affects every later command

Open
#3,547 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: kernels bug lang: r
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Positron Version:

Positron Version: 2024.06.0 (Universal) build 40
Code - OSS Version: 1.89.0
Commit: 59891fe84a2198e83d5a3ddacabdd087d66178a4
Date: 2024-06-10T03:46:38.099Z
Electron: 28.2.8
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

Steps to reproduce the issue:

  1. Run the following code. It will create an error like C stack usage 7953684 is too close to the limit

    e <- new.env()
    attr(e, "e") <- e
    object.size(e)
    
  2. Compute 1 + 1. Positron still complains about the error

What did you expect to happen?

The error should go away

Were there any error messages in the output or Developer Tools console?

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the issue in Positron with the supplied R environment and self-referential environment code, then run 1 + 1 to trace why the earlier stack-overflow error remains active. Inspect the R execution and error-state handling; done means the reported error is cleared and later commands execute normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
backend, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.