Skip to content

SegFault in pnoise2 when providing large seeds #38

@Incognitonomous

Description

@Incognitonomous

I'm getting inconsistent segfault crashes when using seeds larger than 15000 (using consistent values for the other parameters). it's my understanding that seeds should be able to take integer values between -2^31 and 2^31 - 1, correct me if i'm wrong.

the following crashes for me consistently

import noise
noise.pnoise2(0.2,0.2,base = 1000000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions