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 pitrou
Recipients barry, ncoghlan, palm.kevin, pitrou, srid, tarek
Date 2011-03-17.22:23:17
SpamBayes Score 0.008471208
Marked as misclassified No
Message-id <1300400598.4.0.738687794271.issue11320@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, Palm's example even segfaults here:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff72452bc in free () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff72452bc in free () from /lib64/libc.so.6
#1  0x000000000042a591 in Py_SetPath (
    path=0x88c330 L"/home/antoine/cpython/default/usr/lib/python33.zip:/home/antoine/cpython/default/usr/lib/python3.3/:/home/antoine/cpython/default/usr/lib/python3.3/plat-linux2:/home/antoine/cpython/default/usr/lib/py"...)
    at ./Modules/getpath.c:729
#2  0x0000000000416600 in main ()


The problem is calling free() on a pointer to statically allocated memory.
History
Date User Action Args
2011-03-17 22:23:18pitrousetrecipients: + pitrou, barry, ncoghlan, tarek, srid, palm.kevin
2011-03-17 22:23:18pitrousetmessageid: <1300400598.4.0.738687794271.issue11320@psf.upfronthosting.co.za>
2011-03-17 22:23:17pitroulinkissue11320 messages
2011-03-17 22:23:17pitroucreate