Git Product home page Git Product logo

Comments (5)

andrei-datcu avatar andrei-datcu commented on June 17, 2024

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.

casevh avatar casevh commented on June 17, 2024

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.

casevh avatar casevh commented on June 17, 2024

I have released gmpy2 2.1.0. Can you test it?

from gmpy.

casevh avatar casevh commented on June 17, 2024

Are you able to test with gmpy2 2.1.0 or 2.1.1?

from gmpy.

casevh avatar casevh commented on June 17, 2024

No response so closing.

from gmpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.