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

Emacs 29.4 segfaults when writing code in a Jupyter Python block #570

Open
hankertrix opened this issue Feb 3, 2025 · 0 comments
Open

Comments

@hankertrix
Copy link

hankertrix commented Feb 3, 2025

This happens when writing code by using org-edit-special or C-c '.

The error message doesn't provide any details:

Segmentation fault (core dumped)

And the only trace of the error is from dmesg:

[15776.580826] traps: emacs[346824] general protection fault ip:5982e889ebe5 sp:7ffe1a899f10 error:0 in emacs-29.4[27dbe5,5982e8676000+300000]
[17010.567355] traps: emacs[391205] general protection fault ip:56ac5c4f8be5 sp:7fffbd779c00 error:0 in emacs-29.4[27dbe5,56ac5c2d0000+300000]

This may or may not be related to #212, but it seems to be a different issue. There seems to be a memory access violation of some form. It might also be an Emacs issue.

Steps to reproduce:

  • Create an .org file.
  • Create a jupyter-python source block, with the header arguments :session py :kernel python3 :results output.
  • Write code for a while.
  • Observe that Emacs crashes.

This isn't reproducible when using python source blocks instead of jupyter-python source blocks, so that is what I'm using to write code before switching the code block to jupyter-python when I'm ready to execute the code.

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

No branches or pull requests

1 participant