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 ned.deily
Recipients Arfrever, alex, asvetlov, benjamin.peterson, eric.araujo, eric.smith, eric.snow, ezio.melotti, flox, gregory.p.smith, introom, josh.r, ned.deily, pitrou, refi64, rhettinger, scoder, serhiy.storchaka, tonn81, westurner, yselivanov
Date 2015-05-21.06:23:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432189385.78.0.0404437180931.issue16991@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-21 06:23:05ned.deilysetrecipients: + 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:05ned.deilysetmessageid: <1432189385.78.0.0404437180931.issue16991@psf.upfronthosting.co.za>
2015-05-21 06:23:05ned.deilylinkissue16991 messages
2015-05-21 06:23:05ned.deilycreate