-
Notifications
You must be signed in to change notification settings - Fork 310
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 address 0x1, cause 'memory not mapped' #2950
Comments
interestingly some files will render that include python chunks - i.e. an offending chunk in
but this chunk runs fine in
so I'm really at a loss here... |
I've isolated this line giving an error when rendering with quarto but works fine when running from a python shell:
I only have one python installation in this container so I don't think it's a python issue, rather a quarto_cli issue |
The stack trace you have above shows the segfault happening inside reticulate:
For the sake of clarification: quarto-cli has no code that uses memory-unsafe languages, so a segfault almost by definition will be coming from somewhere else. My guess is that the container you're using is somehow misconfiguring some option (or installation) in reticulate, which fails to load dynamically a library, and then has a null pointer instead of a function entry point. |
Hey, isn't this the issue? rocker-org/rocker-versioned2#471 (comment) The workaround on rocker/r-ver is to switch the BLAS used in R. |
@eitsupi I think you are correct - so not a quarto issue. |
Bug description
I am trying to rebuild the vetiver website within a Docker container. Running individual python chunks within the container work fine, but when trying to render the .qmd files I get the following:
I removed all python chunks from
index.qmd
to see if the error is raised, but it runs fine and then it fails in the next python chunk - the first evaluated python chunk ingetting_started/index.qmd
:Steps to reproduce:
Dockerfile:
Host details:
Checklist
The text was updated successfully, but these errors were encountered: