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 mdk
Recipients abarry, mdk, serhiy.storchaka, sjpalt
Date 2016-12-04.17:59:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
FWIW, in _PyType_Lookup I see the "300" PyLong being cached, and later, just before the segfault, I see its address getting out of the cache (a cache hit) but it's no longer a PyLong, it's scrambled, so we're getting a real pointer with scrambled values on the line:

    attribute = _PyType_Lookup(type, name);

segfaulting two lines later in:

    descrgetfunc local_get = Py_TYPE(attribute)->tp_descr_get

When I write scrambled value I mean: 

    (gdb) p *attribute                                                                                                         
    $21 = {_ob_next = 0xdbdbdbdbdbdbdbdb, _ob_prev = 0xdbdbdbdbdbdbdbdb, ob_refcnt = -2604246222170760229, ob_type = 0xdbdbdbd\

To debug interactive session in GDB I used:

    r -i < stdin

with "proxy.x" in the stdin file.
Date User Action Args
2016-12-04 17:59:12mdksetrecipients: + mdk, serhiy.storchaka, abarry, sjpalt
2016-12-04 17:59:12mdksetmessageid: <>
2016-12-04 17:59:12mdklinkissue28866 messages
2016-12-04 17:59:11mdkcreate