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 kumaraditya
Recipients kumaraditya
Date 2022-01-14.10:06:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642154790.61.0.270697807965.issue46374@roundup.psfhosted.org>
In-reply-to
Content
The following code causes Assertion failed on Windows 11 


import cProfile
def test():
    import sys
    import dis

with cProfile.Profile() as p:
    test()

Error:

❯ ./python.bat main.py 
Running Debug|x64 interpreter...
Assertion failed: frame->f_lasti >= 0, file D:\cpython\Python\ceval.c, line 6509
History
Date User Action Args
2022-01-14 10:06:30kumaradityasetrecipients: + kumaraditya
2022-01-14 10:06:30kumaradityasetmessageid: <1642154790.61.0.270697807965.issue46374@roundup.psfhosted.org>
2022-01-14 10:06:30kumaradityalinkissue46374 messages
2022-01-14 10:06:30kumaradityacreate