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

[Bug]: SIGSEGV crash when trying to run the LUE tutorial game_of_life example on a Macbook M3 (macOS 15.3) #796

Open
robknapen opened this issue Jan 29, 2025 · 2 comments

Comments

@robknapen
Copy link

Describe the bug

Conda install of LUE (0.3.9) seems to have worked, but then trying to run the game_of_life.py demo from the tutorial crashes with a SIGSEGV interrupt. Might be related to a missing libtcmalloc (dylib) library for the platform?

This is part of the crash log:


Translated Report (Full Report Below)

Process: python3.10 [46912]
Path: /Users/USER/*/python3.10
Identifier: python3.10
Code Type: ARM-64 (Native)
Parent Process: fish [46653]
Responsible: pycharm [45064]

Date/Time: 2025-01-29 12:12:51.7251 +0100
OS Version: macOS 15.3 (24D60)

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000000ab
Exception Codes: 0x0000000000000001, 0x00000000000000ab

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [46912]

VM Region Info: 0xab is not in any region. Bytes before following region: 4373462869
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 104adc000-104dac000 [ 2880K] r-x/r-x SM=COW /Users/USER/*/python3.10

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libpython3.10.dylib 0x108c0ee28 PyErr_SetObject + 44
1 libpython3.10.dylib 0x108c10c8c PyErr_BadArgument + 80
2 libpython3.10.dylib 0x108b56acc PyModule_GetNameObject + 104
3 libpython3.10.dylib 0x108b57380 PyModule_GetName + 16
4 liblue_py_framework.0.3.9.dylib 0x106f99f84 lue::framework::init_submodule(pybind11::module
&) + 52
5 lue_py.cpython-310-darwin.so 0x10512a458 PyInit_lue_py + 2668
6 python3.10 0x104c557a4 _imp_create_dynamic + 1204
7 python3.10 0x104b89874 cfunction_vectorcall_FASTCALL + 200
8 python3.10 0x104c24eb0 _PyEval_EvalFrameDefault + 29168

Expected behaviour

No response

Steps to reproduce

No response

Additional information

No response

@kordejong
Copy link
Member

Hoi @robknapen ;-)

Thanks for reporting! This could be related to a known issue that we're actually trying to solve right now. Somehow the package builds and installs fine on macOS, but at runtime it crashes. Preloading tcmalloc, which should be installed as a dependency, doesn't seem to help.

I will let you know when we fixed the issue.

@robknapen
Copy link
Author

Thanks Kor :-)

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

2 participants