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

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) #19

Open
stefanagapie opened this issue Jan 17, 2021 · 4 comments

Comments

@stefanagapie
Copy link

I'm getting a segmentation fault running the code from the README.md.
Is there step not documented in the readme that I need to perform?

Some specs:
panda3d 1.10.7
panda3d-kivy 0.2.2 (pip installed)
Python 3.8.5
OS: macOS Big Sur

@Cheaterman
Copy link
Owner

It's hard to tell - segfaults can mean a lot of things. Did you eventually manage to fix this?

@rdb
Copy link

rdb commented Apr 4, 2021

You could try updating to the latest Panda version, 1.10.9.

@fdr2
Copy link

fdr2 commented May 22, 2022

I had the same problem and it seemed like for no reason, but on an M1 (arm64) Monterey (Panda3D==1.10.11.post1, panda3d-kivy==0.3.0, Python==3.9.12).

App worked, then I added this project and nearly identical implementation as in the readme and segfaulted until i recompiled kivy
python -m pip install "kivy[base]" kivy_examples --no-binary kivy

I used the kivy instructions to compile locally.

@Cheaterman
Copy link
Owner

Is this still an issue? If not, I could close it and the associated PR? Otherwise, if someone can reproduce, could they try the "core" of #21, being

diff --git a/panda3d_kivy/monkey.py b/panda3d_kivy/monkey.py
index bc5503b..3b014f2 100644
--- a/panda3d_kivy/monkey.py
+++ b/panda3d_kivy/monkey.py
@@ -6,7 +6,7 @@ import kivy.core
 
 def patch_kivy():
     os.environ['KIVY_WINDOW'] = ''
-    if sys.platform == 'linux':
+    if sys.platform in ('linux', 'darwin'):
         os.environ['KIVY_GL_BACKEND'] = 'gl'
 
     orig_core_select_lib = kivy.core.core_select_lib

Thanks in advance for your feedback!

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

4 participants