Comments (5)
Here's a native dump stack as well:
#0 0x00007f096cb5e12c in __gmpn_tdiv_qr () from /usr/local/lib/python3.9/site-packages/gmpy2/../gmpy2.libs/libgmp-aab612b0.so.10.4.0
#1 0x00007f096cb2e250 in __gmpz_tdiv_r () from /usr/local/lib/python3.9/site-packages/gmpy2/../gmpy2.libs/libgmp-aab612b0.so.10.4.0
#2 0x00007f096cb23849 in __gmpz_fdiv_r () from /usr/local/lib/python3.9/site-packages/gmpy2/../gmpy2.libs/libgmp-aab612b0.so.10.4.0
#3 0x00007f096d4b9b27 in GMPy_Integer_ModWithType (x=0x7f096ca48990, xtype=1, y=0x7f096cac6d20, ytype=1, context=0x7f096d78c9b0) at src/gmpy2_mod.c:52
#4 0x00007f096e44319e in binary_op1 (op_slot=24, w=0x7f096cac6d20, v=0x7f096ca48990) at Objects/abstract.c:869
#5 binary_op (op_name=0x7f096e578272 "%", op_slot=24, w=0x7f096cac6d20, v=0x7f096ca48990) at Objects/abstract.c:898
#6 PyNumber_Remainder (v=0x7f096ca48990, w=0x7f096cac6d20) at Objects/abstract.c:1086
Seems the modulo triggers the crash
from gmpy.
I think this i related to a quirk when compiling the GMP library included in the wheel. I've release rc2 that might resolve it. Can you test?
from gmpy.
I have released gmpy2 2.1.0. Can you test it?
from gmpy.
Are you able to test with gmpy2 2.1.0 or 2.1.1?
from gmpy.
No response so closing.
from gmpy.
Related Issues (20)
- Segmentation fault using mpz on OSX HOT 6
- Building wheels with GMP et al HOT 5
- Adding _sympy_ method to mpfr type for robust interoperability with sympy HOT 3
- Expose mpz_probab_prime_p() int return values from is_prime() HOT 5
- Missing methods on mpz c.f. int HOT 11
- "latest" documentation looks outdated HOT 7
- Documentation has invalid function signatures
- Fix vectorcall support on Python 3.7 HOT 1
- Use pytest for testing? HOT 6
- Incorrect interpretation of numbers with high bases HOT 3
- Incompatible (with int) parsing of the sign in the mpz constructor HOT 3
- pycharm inspection "Unexpected argument" for gmpy2.mpz(...) HOT 9
- gmpy2.xmpz bit reverse padding HOT 1
- Efficient fixed-base modular exponentiation with powmod_exp_list?
- Compiler warnings on Windows 2022 & msys2 HOT 3
- Argument order yn() and jn() inconsistent with MPFR and mpmath HOT 3
- 2 tests fail HOT 4
- Pickling is slow wrt int's HOT 2
- Breaking changes in Python 3.12.0a7 release HOT 4
- Add function csqrt HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmpy.