Skip to content
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

stack_size miscalculations / locals() dict corruptions #2

Open
pmp-p opened this issue May 30, 2020 · 0 comments
Open

stack_size miscalculations / locals() dict corruptions #2

pmp-p opened this issue May 30, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@pmp-p
Copy link
Owner

pmp-p commented May 30, 2020

only for certain patterns like :

def f(r=1,g=2):
    print(r,g)

def f(r=1,g=2,b=3):
    print(r,g,b)

etc ...

will lead the pre-emptible version of func_bc_call() to crash either with exhausting pystack with a huge size request ( DECODE_CODESTATE_SIZE ) for mp_pystack_alloc() or by trashing the locals() dict when function body is executed ( ie symbols r,g,b won't be solved).

@pmp-p pmp-p added the bug Something isn't working label Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant