Message192589
Further testing shows that the problem is not limited to OS X 10.8 or clang: a similar debug build attempt fails on OS X 10.6 with Apple gcc-4.2.
./configure --with-pydebug CC=gcc-4.2 MACOSX_DEPLOYMENT_TARGET=10.6
make
gcc-4.2 -Wl,-stack_size,1000000 -framework CoreFoundation -o python.exe Modules/python.o libpython3.4dm.a -ldl -framework CoreFoundation
./python.exe -E -S -m sysconfig --generate-posix-vars
Debug memory block at address p=0x100515a40: API 'm'
232 bytes originally requested
The 7 pad bytes at p-7 are FORBIDDENBYTE, as expected.
The 8 pad bytes at tail=0x100515b28 are FORBIDDENBYTE, as expected.
The block was made by call #5440 to debug malloc/realloc.
Data at p: 2f 00 00 00 75 00 00 00 ... 6e 00 00 00 00 00 00 00
Fatal Python error: bad ID: Allocated using API 'm', verified using API 'r'
Current thread 0x00007fff70f4bcc0:
make: *** [pybuilddir.txt] Abort trap |
|
Date |
User |
Action |
Args |
2013-07-07 20:49:22 | ned.deily | set | recipients:
+ ned.deily, vstinner |
2013-07-07 20:49:22 | ned.deily | set | messageid: <1373230162.13.0.556493871199.issue18398@psf.upfronthosting.co.za> |
2013-07-07 20:49:22 | ned.deily | link | issue18398 messages |
2013-07-07 20:49:22 | ned.deily | create | |
|