Skip to content

segmentation fault when calling the mpmath.mp.fraction(1,100).func(1000,None) #274

Description

@purdeaandrei
What steps will reproduce the problem? 1. make sure gmpy is installed
2. import mpmath
3. mpmath.mp.fraction(1,100).func(1000, 0xdead ) What is the expected output? What do you see instead? Some kind of exception. The python backend produces a KeyError What version of the product are you using? On what operating system? Debian testing distribution
    python-mpmath = 0.17-1
    python-gmpy = 1.15-1 Please provide any additional information below. When the type of the last parameter is not correct, (say None, or an integer) A segmentation fault happens, when using gmpy.

Original issue for #274: http://code.google.com/p/mpmath/issues/detail?id=234
Original author: https://code.google.com/u/116125508345498896876/
Original owner: https://code.google.com/u/casevh/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions