Message243733
FWIW, the random segfault seems to be triggered by hash randomization. If I disable randomization, it does not seem to fail:
for i in `seq 1 20`; do PYTHONHASHSEED=1 ./python -m test.regrtest -m test_basic test_configparser ; done
Presumably, the --forever option does not vary the hash seed value?
Also, FWIW, clang issues a warning:
../../source/Objects/odictobject.c:550:15: warning: comparison of unsigned expression < 0
is always false [-Wtautological-compare]
if (i < 0) {
~ ^ ~
for this:
_odict_FOREACH(od, node) {
size_t i = _odict_get_index(od, _odictnode_KEY(node));
if (i < 0) {
od->od_size = prev_size;
PyMem_FREE(fast_nodes);
return -1;
}
fast_nodes[i] = node;
I can supply OS X crash tracebacks if they would be of help. |
|
Date |
User |
Action |
Args |
2015-05-21 06:23:05 | ned.deily | set | recipients:
+ ned.deily, rhettinger, gregory.p.smith, pitrou, scoder, eric.smith, benjamin.peterson, ezio.melotti, eric.araujo, Arfrever, alex, asvetlov, flox, eric.snow, serhiy.storchaka, yselivanov, westurner, refi64, josh.r, tonn81, introom |
2015-05-21 06:23:05 | ned.deily | set | messageid: <1432189385.78.0.0404437180931.issue16991@psf.upfronthosting.co.za> |
2015-05-21 06:23:05 | ned.deily | link | issue16991 messages |
2015-05-21 06:23:05 | ned.deily | create | |
|