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 vstinner
Recipients Demur Rumed, Mark.Shannon, berker.peksag, db3l, eric.fahlgren, godaygo, python-dev, rhettinger, serhiy.storchaka, vstinner
Date 2021-04-02.16:42:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617381751.45.0.898663594127.issue27129@roundup.psfhosted.org>
In-reply-to
Content
I get two crashes on Windows with Python built in debug mode:

* I got a crash. I wasn't sure if it was an issue of incremental build, so I rebuilt Python.
* On a fresh build, Python crashed on the CALL_FUNCTION_KW opcode, when loading names, names was equal to 0xFFFFFFFFFFFFFFFF:

            names = POP();
            assert(PyTuple_Check(names)); <=== HERE

  Moreover, f->f_code was equal to 0xCBCBCBCBCBCBCBCB. But it was really weird. I added assertion to ensure that f->f_code was not equal 0xCBCBCBCBCBCBCBCB: the assertion didn't fail.

* I ran "git clean -fdx" and built again Python. This time, it went fine, moreover the whole test suite passed cleanly!? "== Tests result: SUCCESS ==" and "386 tests OK."

I build Python with:

   PCbuild\build.bat -d -p x64 -e
History
Date User Action Args
2021-04-02 16:42:31vstinnersetrecipients: + vstinner, rhettinger, db3l, Mark.Shannon, python-dev, berker.peksag, serhiy.storchaka, eric.fahlgren, Demur Rumed, godaygo
2021-04-02 16:42:31vstinnersetmessageid: <1617381751.45.0.898663594127.issue27129@roundup.psfhosted.org>
2021-04-02 16:42:31vstinnerlinkissue27129 messages
2021-04-02 16:42:31vstinnercreate