[issue20354] tracemalloc causes segfault in "make profile-opt"

2014-01-31 Thread STINNER Victor
STINNER Victor added the comment: I tested "./configure --enable-shared && make profile-opt" with the fix and it worked. So I close the issue. Thanks for the report Jan Matejek. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue20354] tracemalloc causes segfault in "make profile-opt"

2014-01-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44b554454971 by Victor Stinner in branch 'default': Issue #20354: Mention the fix in Misc/NEWS http://hg.python.org/cpython/rev/44b554454971 -- ___ Python tracker

[issue20354] tracemalloc causes segfault in "make profile-opt"

2014-01-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset fb2cdec2c70c by Victor Stinner in branch 'default': Issue #20354: Fix alignment issue in the tracemalloc module on 64-bit http://hg.python.org/cpython/rev/fb2cdec2c70c -- nosy: +python-dev ___ Python trac

[issue20354] tracemalloc causes segfault in "make profile-opt"

2014-01-22 Thread Stefan Krah
Stefan Krah added the comment: For gcc, #pragma pack(n) apparently sets the new aligment for the entire compilation unit: http://gcc.gnu.org/onlinedocs/gcc/Structure-Packing-Pragmas.html -- nosy: +skrah ___ Python tracker

[issue20354] tracemalloc causes segfault in "make profile-opt"

2014-01-22 Thread STINNER Victor
STINNER Victor added the comment: Oops, the original code is: --- /* Pack the frame_t structure to reduce the memory footprint on 64-bit architectures: 12 bytes instead of 16. This optimization might produce SIGBUS on architectures not supporting unaligned memory accesses (64-bit IPS CPU

[issue20354] tracemalloc causes segfault in "make profile-opt"

2014-01-22 Thread STINNER Victor
STINNER Victor added the comment: > This problem first appears with changeset 6e2089dbc5ad [1] that introduced > tracemalloc. It is still reproducible on today's tip. It looks like the bug doesn't come from the code of tracemalloc. I removed all functions, Python does still crash. No. The prob

[issue20354] tracemalloc causes segfault in "make profile-opt"

2014-01-22 Thread R. David Murray
Changes by R. David Murray : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20354] tracemalloc causes segfault in "make profile-opt"

2014-01-22 Thread jan matejek
New submission from jan matejek: When compiling "make profile-opt", the instrumented python executable segfaults upon exit, even though it appears to run fine. This breaks the build process, because make evaluates the segfault as if the respective compilation step failed. GDB yields the follo