[issue21639] tracemalloc crashes with floating point exception when using StringIO

2014-06-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21639] tracemalloc crashes with floating point exception when using StringIO

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the report, it should now be fixed. The crash is a regression introduced by the issue #21233. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue21639] tracemalloc crashes with floating point exception when using StringIO

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset d87ede8da3c8 by Victor Stinner in branch '3.4': Issue #21639: Fix name of _testcapi test functions http://hg.python.org/cpython/rev/d87ede8da3c8 New changeset 7083634065c9 by Victor Stinner in branch 'default': (Merge 3.4) Issue #21639: Fix name of

[issue21639] tracemalloc crashes with floating point exception when using StringIO

2014-06-02 Thread Claudiu.Popa
New submission from Claudiu.Popa: Given the following code, tracemalloc crashes with: "Floating point exception: 8 (core dumped)" import tracemalloc tracemalloc.start(10) import io io.StringIO() The culprit is this line "assert(nelem <= PY_SIZE_MAX / elsize);" from tracemalloc_alloc. elsize is