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

segfault on 'Run All Chunks' w/Rcpp chunk that fails compilation #1668

Closed
kevinushey opened this issue Oct 25, 2017 · 3 comments
Closed

segfault on 'Run All Chunks' w/Rcpp chunk that fails compilation #1668

kevinushey opened this issue Oct 25, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@kevinushey
Copy link
Contributor

kevinushey commented Oct 25, 2017

Given this document:

```{Rcpp}
std::string x = 1;
```

```{r}
print(1)
```

If you try executing Run All, the IDE gets into a weird state where the Notebook execution engine believes that the following R chunks is ready and waiting to be executed. Attempting to do other stuff in the Notebook eventually triggers a segfault.

screen shot 2017-10-25 at 12 00 08 pm

(repro'ed on macOS Desktop, v1.1.383)

@jmcphers
Copy link
Member

I think there's an issue wherein certain kinds of errors can cause the chunk execution to abort, but in such a way that the cleanup doesn't happen. I'll take a look.

@jmcphers
Copy link
Member

Backported to 1.1 here: 25f09e7

@dfalty dfalty added the verified label Dec 4, 2017
@dfalty
Copy link

dfalty commented Dec 4, 2017

Verified fixed 1.1.393.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants