-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
numpy-1.19.4 import numpy Segmentation fault #17834
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
Comments
update warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. @charris @teoliphant @cournape |
I am sorry, I close the #17858 by mistake, so I update in this issue, they are the same issue.
about this ,I have tested.
but I have confuse about _MSC_VER, is not it used for Windows? |
This is not the same issue. This one is a segfault, the other failed to load the shared object:
Yes, I have reopened the other issue. |
Considering that this is 2 years old and probably related to gh-17858 which was closed. I hope this was solved (e.g. with crossenv refered to in the other issue). If similar problems persist, we should open a new issue for a newer NumPy version. |
I use python3.8.4 and Cython-0.29.21, numpy-1.19.4 to test on mips platform;
when I cross compile over,and run "import numpy" it crashed,
Python 3.8.4 (default, Nov 24 2020, 10:53:37)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
waiting for reply,thank you
Reproducing code example:
Error message:
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mipsel-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python3.8...(no debugging symbols found)...done.
[New LWP 25289]
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Core was generated by `python3.8'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x2c5155a4 in PyInit__multiarray_umath ()
at numpy/core/src/multiarray/multiarraymodule.c:4370
#2 0x2ba0e0dc in _PyImport_LoadDynamicModuleWithSpec ()
from /tmp/sda1/Python3/lib/libpython3.8d.so.1.0
Backtrace stopped: frame did not save the PC
NumPy/Python version information:
numpy 1.19.4 python 3.8.4 mips playform kernel 2.6.36+
The text was updated successfully, but these errors were encountered: