This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wcolburnnrao
Recipients wcolburnnrao
Date 2015-10-22.21:23:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445549037.51.0.737126025157.issue25463@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see the shell script attached anywhere.

I'll just paste it here!

-----cut here-----
PYDEST=`pwd`

wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
wget http://cython.org/release/Cython-0.23.4.tar.gz

rm -rf Python-2.7.10 Cython-0.23.4 ${PYDEST}/pybug

tar xvf Python-2.7.10.tgz
cd Python-2.7.10
LD_RUN_PATH=$PYDEST/pybug/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH
./configure --prefix=$PYDEST/pybug --enable-shared
make -j 8
make install prefix=$PYDEST/pybug
cd ..
tar xvf Cython-0.23.4.tar.gz
cd Cython-0.23.4
$PYDEST/pybug/bin/python2.7 setup.py install
cd ..

cat > crash.py <<EOF
print 'hello world'
EOF

${PYDEST}/pybug//bin/cython --embed crash.py
gcc -g crash.c -I${PYDEST}/pybug/include/python2.7 ${PYDEST}/pybug/lib/python2.7/config/libpython2.7.a -lm -ldl -lutil -lpthread -o doublefree

##
## *** glibc detected *** ./doublefree: double free or corruption (out): 0x00007f57fb8c5030 ***
## crashes in PyInitialize() during "import site"
##
./doublefree
History
Date User Action Args
2015-10-22 21:23:57wcolburnnraosetrecipients: + wcolburnnrao
2015-10-22 21:23:57wcolburnnraosetmessageid: <1445549037.51.0.737126025157.issue25463@psf.upfronthosting.co.za>
2015-10-22 21:23:57wcolburnnraolinkissue25463 messages
2015-10-22 21:23:57wcolburnnraocreate