Message131293
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. |
|
Date |
User |
Action |
Args |
2011-03-17 22:23:18 | pitrou | set | recipients:
+ pitrou, barry, ncoghlan, tarek, srid, palm.kevin |
2011-03-17 22:23:18 | pitrou | set | messageid: <1300400598.4.0.738687794271.issue11320@psf.upfronthosting.co.za> |
2011-03-17 22:23:17 | pitrou | link | issue11320 messages |
2011-03-17 22:23:17 | pitrou | create | |
|