René's URL Explorer Experiment


Title: Objects/codeobject.c:814: retreat: Assertion `bounds->ar_start > 0' failed · Issue #93249 · python/cpython · GitHub

Open Graph Title: Objects/codeobject.c:814: retreat: Assertion `bounds->ar_start > 0' failed · Issue #93249 · python/cpython

X Title: Objects/codeobject.c:814: retreat: Assertion `bounds->ar_start > 0' failed · Issue #93249 · python/cpython

Description: Crash report Doing a pip install PyQt6 and then running the following script: from PyQt6.QtCore import QUrl, QTimer, QCoreApplication app = QCoreApplication([]) timer = QTimer() timer.setInterval(10) timer.timeout.connect(lambda: None) t...

Open Graph Description: Crash report Doing a pip install PyQt6 and then running the following script: from PyQt6.QtCore import QUrl, QTimer, QCoreApplication app = QCoreApplication([]) timer = QTimer() timer.setInterval(1...

X Description: Crash report Doing a pip install PyQt6 and then running the following script: from PyQt6.QtCore import QUrl, QTimer, QCoreApplication app = QCoreApplication([]) timer = QTimer() timer.setInterval(1...

Opengraph URL: https://github.com/python/cpython/issues/93249

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Objects/codeobject.c:814: retreat: Assertion `bounds-\u003ear_start \u003e 0' failed","articleBody":"**Crash report**\r\n\r\nDoing a `pip install PyQt6` and then running the following script:\r\n\r\n```python\r\nfrom PyQt6.QtCore import QUrl, QTimer, QCoreApplication\r\n\r\napp = QCoreApplication([])\r\ntimer = QTimer()\r\ntimer.setInterval(10)\r\ntimer.timeout.connect(lambda: None)\r\ntimer.start()\r\n\r\nprint(\"Running\")\r\n\r\napp.exec()\r\n```\r\n\r\nand then pressing Ctrl-C (or running `signal 2` in gdb) would normally produce:\r\n\r\n```\r\nRunning\r\n^CTraceback (most recent call last):\r\n  File \"/home/florian/tmp/repro.py\", line 6, in \u003clambda\u003e\r\n    timer.timeout.connect(lambda: None)\r\nKeyboardInterrupt\r\n```\r\n\r\n(in my case, it seems to crash with a SIGIOT after that, but let's ignore that for now...).\r\n\r\nHowever, with Python 3.11.0b1 configured with `--with-pydebug`, this happens instead:\r\n\r\n```\r\nRunning\r\n^Cpython: Objects/codeobject.c:814: retreat: Assertion `bounds-\u003ear_start \u003e 0' failed.\r\n```\r\n\r\nreferring to this line:\r\n\r\nhttps://github.com/python/cpython/blob/518595652759462b13904df767f69b8cc2c61143/Objects/codeobject.c#L814\r\n\r\nI was able to bisect this to 944fffee8916cb94321fa33cd3a43f4108717746 (\"GH-88116: Use a compact format to represent end line and column offsets. (GH-91666)\", @markshannon).\r\n\r\n**Error messages**\r\n\r\nBacktrace:\r\n\r\n\u003cdetails\u003e\r\n\r\n```\r\n#0  0x00007ffff7d1636c in ?? () from /usr/lib/libc.so.6\r\n#1  0x00007ffff7cc6838 in raise () from /usr/lib/libc.so.6\r\n#2  0x00007ffff7cb0535 in abort () from /usr/lib/libc.so.6\r\n#3  0x00007ffff7cb045c in ?? () from /usr/lib/libc.so.6\r\n#4  0x00007ffff7cbf366 in __assert_fail () from /usr/lib/libc.so.6\r\n#5  0x00005555556d6b61 in retreat (bounds=bounds@entry=0x7fffffffbab0) at Objects/codeobject.c:799\r\n#6  0x00005555556d9992 in PyCode_Addr2Location (co=\u003coptimized out\u003e, addrq=0, start_line=start_line@entry=0x7fffffffbb40, start_column=start_column@entry=0x7fffffffbb48, end_line=end_line@entry=0x7fffffffbb44, end_column=end_column@entry=0x7fffffffbb4c) at Objects/codeobject.c:902\r\n#7  0x000055555581f36e in tb_displayline (tb=tb@entry=0x7ffff44aa7b0, f=f@entry=\u003c_io.StringIO at remote 0x7ffff762b9d0\u003e, filename='/home/florian/tmp/repro.py', lineno=6, frame=Frame 0x7ffff4498600, for file /home/florian/tmp/repro.py, line 6, in \u003clambda\u003e (), name=\u003coptimized out\u003e, margin_indent=0, margin=0x5555558cc7df \"\") at Python/traceback.c:799\r\n#8  0x000055555581f6e9 in tb_printinternal (tb=tb@entry=0x7ffff44aa7b0, f=f@entry=\u003c_io.StringIO at remote 0x7ffff762b9d0\u003e, limit=limit@entry=1000, indent=indent@entry=0, margin=margin@entry=0x5555558cc7df \"\") at Python/traceback.c:944\r\n#9  0x000055555581f7f9 in _PyTraceBack_Print_Indented (v=v@entry=\u003ctraceback at remote 0x7ffff44aa7b0\u003e, indent=0, margin=0x5555558cc7df \"\", header_margin=header_margin@entry=0x5555558cc7df \"\", header=0x555555930270 \"Traceback (most recent call last):\\n\", f=f@entry=\u003c_io.StringIO at remote 0x7ffff762b9d0\u003e) at Python/traceback.c:1002\r\n#10 0x000055555580b624 in print_exception_traceback (ctx=ctx@entry=0x7fffffffbd20, value=KeyboardInterrupt()) at Python/pythonrun.c:941\r\n#11 0x000055555580c499 in print_exception (ctx=ctx@entry=0x7fffffffbd20, value=value@entry=KeyboardInterrupt()) at Python/pythonrun.c:1223\r\n#12 0x000055555580c9d7 in print_exception_recursive (ctx=ctx@entry=0x7fffffffbd20, value=value@entry=KeyboardInterrupt()) at Python/pythonrun.c:1508\r\n#13 0x000055555580cee9 in _PyErr_Display (file=file@entry=\u003c_io.StringIO at remote 0x7ffff762b9d0\u003e, exception=exception@entry=\u003ctype at remote 0x555555a18160\u003e, value=value@entry=KeyboardInterrupt(), tb=tb@entry=\u003ctraceback at remote 0x7ffff44aa7b0\u003e) at Python/pythonrun.c:1551\r\n#14 0x000055555580d054 in PyErr_Display (exception=\u003ctype at remote 0x555555a18160\u003e, value=KeyboardInterrupt(), tb=\u003ctraceback at remote 0x7ffff44aa7b0\u003e) at Python/pythonrun.c:1583\r\n#15 0x00005555558193ba in sys_excepthook_impl (module=module@entry=\u003cmodule at remote 0x7ffff78d3770\u003e, exctype=\u003coptimized out\u003e, value=\u003coptimized out\u003e, traceback=\u003coptimized out\u003e) at ./Python/sysmodule.c:738\r\n#16 0x0000555555819422 in sys_excepthook (module=\u003cmodule at remote 0x7ffff78d3770\u003e, args=0x7fffffffbe70, nargs=\u003coptimized out\u003e) at ./Python/clinic/sysmodule.c.h:73\r\n#17 0x0000555555719d74 in cfunction_vectorcall_FASTCALL (func=\u003cbuilt-in method excepthook of module object at remote 0x7ffff78d3770\u003e, args=0x7fffffffbe70, nargsf=\u003coptimized out\u003e, kwnames=\u003coptimized out\u003e) at Objects/methodobject.c:427\r\n#18 0x00005555556d3231 in _PyObject_VectorcallTstate (tstate=0x555555b378b0 \u003c_PyRuntime+166000\u003e, callable=callable@entry=\u003cbuilt-in method excepthook of module object at remote 0x7ffff78d3770\u003e, args=0x7fffffffbe70, args@entry=0x7fffffffbdf0, nargsf=nargsf@entry=3, kwnames=kwnames@entry=0x0) at ./Include/internal/pycore_call.h:92\r\n#19 0x00005555556d332f in _PyObject_FastCallTstate (nargs=3, args=0x7fffffffbdf0, func=\u003cbuilt-in method excepthook of module object at remote 0x7ffff78d3770\u003e, tstate=\u003coptimized out\u003e) at ./Include/internal/pycore_call.h:114\r\n#20 _PyObject_FastCall (func=func@entry=\u003cbuilt-in method excepthook of module object at remote 0x7ffff78d3770\u003e, args=args@entry=0x7fffffffbe70, nargs=nargs@entry=3) at Objects/call.c:308\r\n#21 0x000055555580d1b5 in _PyErr_PrintEx (tstate=0x555555b378b0 \u003c_PyRuntime+166000\u003e, set_sys_last_vars=set_sys_last_vars@entry=1) at Python/pythonrun.c:825\r\n#22 0x000055555580d453 in PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars@entry=1) at Python/pythonrun.c:875\r\n#23 0x000055555580d466 in PyErr_Print () at Python/pythonrun.c:881\r\n#24 0x00007ffff75170ff in pyqt6_err_print() () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/QtCore.abi3.so\r\n#25 0x00007ffff7520c2d in PyQtSlotProxy::unislot(void**) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/QtCore.abi3.so\r\n#26 0x00007ffff7522857 in PyQtSlotProxy::qt_metacall(QMetaObject::Call, int, void**) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/QtCore.abi3.so\r\n#27 0x00007ffff6e1f89d in ?? () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#28 0x00007ffff6e2e16a in QTimer::timeout(QTimer::QPrivateSignal) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#29 0x00007ffff74bd103 in sipQTimer::timerEvent(QTimerEvent*) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/QtCore.abi3.so\r\n#30 0x00007ffff6e1099f in QObject::event(QEvent*) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#31 0x00007ffff749acf3 in sipQTimer::event(QEvent*) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/QtCore.abi3.so\r\n#32 0x00007ffff74d75be in sipQCoreApplication::notify(QObject*, QEvent*) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/QtCore.abi3.so\r\n#33 0x00007ffff6dbffba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#34 0x00007ffff6f4d1db in QTimerInfoList::activateTimers() () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#35 0x00007ffff7062b3c in ?? () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#36 0x00007ffff6937163 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0\r\n#37 0x00007ffff698d9e9 in ?? () from /usr/lib/libglib-2.0.so.0\r\n#38 0x00007ffff69346c5 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0\r\n#39 0x00007ffff7062e4a in QEventDispatcherGlib::processEvents(QFlags\u003cQEventLoop::ProcessEventsFlag\u003e) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#40 0x00007ffff6dcc1eb in QEventLoop::exec(QFlags\u003cQEventLoop::ProcessEventsFlag\u003e) () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#41 0x00007ffff6dc7dae in QCoreApplication::exec() () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6\r\n#42 0x00007ffff745187f in meth_QCoreApplication_exec () from /home/florian/tmp/.venv-retreat/lib/python3.11/site-packages/PyQt6/QtCore.abi3.so\r\n#43 0x000055555571a557 in cfunction_call (func=\u003cbuilt-in method exec of QCoreApplication object at remote 0x7ffff7935f40\u003e, args=(), kwargs=0x0) at Objects/methodobject.c:553\r\n#44 0x00005555556d316e in _PyObject_MakeTpCall (tstate=tstate@entry=0x555555b378b0 \u003c_PyRuntime+166000\u003e, callable=callable@entry=\u003cbuilt-in method exec of QCoreApplication object at remote 0x7ffff7935f40\u003e, args=args@entry=0x7ffff781e078, nargs=\u003coptimized out\u003e, keywords=keywords@entry=0x0) at Objects/call.c:214\r\n#45 0x00005555556d32b1 in _PyObject_VectorcallTstate (tstate=0x555555b378b0 \u003c_PyRuntime+166000\u003e, callable=callable@entry=\u003cbuilt-in method exec of QCoreApplication object at remote 0x7ffff7935f40\u003e, args=args@entry=0x7ffff781e078, nargsf=\u003coptimized out\u003e, kwnames=kwnames@entry=0x0) at ./Include/internal/pycore_call.h:90\r\n#46 0x00005555556d3308 in PyObject_Vectorcall (callable=callable@entry=\u003cbuilt-in method exec of QCoreApplication object at remote 0x7ffff7935f40\u003e, args=args@entry=0x7ffff781e078, nargsf=\u003coptimized out\u003e, kwnames=kwnames@entry=0x0) at Objects/call.c:299\r\n#47 0x00005555557c14d2 in _PyEval_EvalFrameDefault (tstate=0x555555b378b0 \u003c_PyRuntime+166000\u003e, frame=0x7ffff781e020, throwflag=\u003coptimized out\u003e) at Python/ceval.c:4776\r\n#48 0x00005555557c5c81 in _PyEval_EvalFrame (tstate=tstate@entry=0x555555b378b0 \u003c_PyRuntime+166000\u003e, frame=frame@entry=0x7ffff781e020, throwflag=throwflag@entry=0) at ./Include/internal/pycore_ceval.h:66\r\n#49 0x00005555557c5d92 in _PyEval_Vector (tstate=tstate@entry=0x555555b378b0 \u003c_PyRuntime+166000\u003e, func=func@entry=0x7ffff789be30, \r\n    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}, args=args@entry=0x0, argcount=argcount@entry=0, kwnames=kwnames@entry=0x0) at Python/ceval.c:6396\r\n#50 0x00005555557c5e9d in PyEval_EvalCode (co=co@entry=\u003ccode at remote 0x7ffff7778040\u003e, \r\n    globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}, \r\n    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}) at Python/ceval.c:1157\r\n#51 0x000055555580aaf4 in run_eval_code_obj (tstate=tstate@entry=0x555555b378b0 \u003c_PyRuntime+166000\u003e, co=co@entry=0x7ffff7778040, \r\n    globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}, \r\n    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}) at Python/pythonrun.c:1713\r\n#52 0x000055555580abb1 in run_mod (mod=mod@entry=0x555555c1fd30, filename=filename@entry='/home/florian/tmp/repro.py', \r\n    globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}, \r\n    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}, flags=flags@entry=0x7fffffffc9d8, arena=arena@entry=0x7ffff776c640) at Python/pythonrun.c:1734\r\n#53 0x000055555580ac79 in pyrun_file (fp=fp@entry=0x555555b804f0, filename=filename@entry='/home/florian/tmp/repro.py', start=start@entry=257, \r\n    globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}, \r\n    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': \u003cSourceFileLoader(name='__main__', path='/home/florian/tmp/repro.py') at remote 0x7ffff773f030\u003e, '__spec__': None, '__annotations__': {}, '__builtins__': \u003cmodule at remote 0x7ffff78e2ed0\u003e, '__file__': '/home/florian/tmp/repro.py', '__cached__': None, 'QUrl': \u003cPyQt6.sip.wrappertype at remote 0x555555cfee50\u003e, 'QTimer': \u003cPyQt6.sip.wrappertype at remote 0x555555cfd520\u003e, 'QCoreApplication': \u003cPyQt6.sip.wrappertype at remote 0x555555cdd680\u003e, 'app': \u003cQCoreApplication() at remote 0x7ffff7935f40\u003e, 'timer': \u003cQTimer() at remote 0x7ffff4498520\u003e}, closeit=closeit@entry=1, flags=0x7fffffffc9d8) at Python/pythonrun.c:1629\r\n#54 0x000055555580d8cc in _PyRun_SimpleFileObject (fp=fp@entry=0x555555b804f0, filename=filename@entry='/home/florian/tmp/repro.py', closeit=closeit@entry=1, flags=flags@entry=0x7fffffffc9d8) at Python/pythonrun.c:439\r\n#55 0x000055555580da80 in _PyRun_AnyFileObject (fp=fp@entry=0x555555b804f0, filename=filename@entry='/home/florian/tmp/repro.py', closeit=closeit@entry=1, flags=flags@entry=0x7fffffffc9d8) at Python/pythonrun.c:78\r\n#56 0x000055555582b904 in pymain_run_file_obj (program_name=program_name@entry='/home/florian/tmp/.venv-retreat/bin/python3', filename=filename@entry='/home/florian/tmp/repro.py', skip_source_first_line=0) at Modules/main.c:353\r\n#57 0x000055555582ba22 in pymain_run_file (config=config@entry=0x555555b1d910 \u003c_PyRuntime+59600\u003e) at Modules/main.c:372\r\n#58 0x000055555582c191 in pymain_run_python (exitcode=exitcode@entry=0x7fffffffcb34) at Modules/main.c:592\r\n#59 0x000055555582c3e6 in Py_RunMain () at Modules/main.c:671\r\n#60 0x000055555582c460 in pymain_main (args=args@entry=0x7fffffffcb90) at Modules/main.c:701\r\n#61 0x000055555582c52f in Py_BytesMain (argc=\u003coptimized out\u003e, argv=\u003coptimized out\u003e) at Modules/main.c:725\r\n#62 0x0000555555643722 in main (argc=\u003coptimized out\u003e, argv=\u003coptimized out\u003e) at ./Programs/python.c:15\r\n```\r\n\r\n\u003c/details\u003e\r\n\r\nThe `bounds` values in `retreat`:\r\n\r\n```\r\n(gdb) pp bounds\r\nbounds = \r\n   autoderefcount=\"1\",[\r\n      ar_start = \u003cint\u003e = {\"0\"}\r\n      ar_end = \u003cint\u003e = {\"2\"}\r\n      ar_line = \u003cint\u003e = {\"6\"}\r\n      opaque = \u003cstruct _opaque\u003e = {\"{...}\"}\r\n   ],\u003cPyCodeAddressRange\u003e = {\"{...}\"}\r\n```\r\n\r\nArgs and locals for `tb_displayline`:\r\n\r\n\u003cdetails\u003e\r\n\r\n```\r\n(gdb) info args\r\ntb = 0x7ffff44aa7b0\r\nf = \u003c_io.StringIO at remote 0x7ffff762b9d0\u003e\r\nfilename = '/home/florian/tmp/repro.py'\r\nlineno = 6\r\nframe = Frame 0x7ffff4498600, for file /home/florian/tmp/repro.py, line 6, in \u003clambda\u003e ()\r\nname = \u003coptimized out\u003e\r\nmargin_indent = 0\r\nmargin = 0x5555558cc7df \"\"\r\n```\r\n\r\n```\r\n(gdb) info locals\r\nline = \u003coptimized out\u003e\r\nres = 0\r\nerr = 0\r\ntruncation = -4\r\nsource_line = 'timer.timeout.connect(lambda: None)'\r\nrc = 0\r\ncode_offset = \u003coptimized out\u003e\r\ncode = \u003coptimized out\u003e\r\nstart_line = 1435344176\r\nend_line = 21845\r\nstart_col_byte_offset = 1436689024\r\nend_col_byte_offset = 21845\r\n__PRETTY_FUNCTION__ = \"tb_displayline\"\r\nstart_offset = \u003coptimized out\u003e\r\nend_offset = \u003coptimized out\u003e\r\nleft_end_offset = 93824994118249\r\nright_start_offset = -9223372036854775807\r\nprimary_error_char = 0x7ffff44ad900 \"\"\r\nsecondary_error_char = 0x10 \u003cerror: Cannot access memory at address 0x10\u003e\r\n```\r\n\r\n\u003c/details\u003e\r\n\r\n**Your environment**\r\n\r\n- CPython versions tested on: 3.11.0b1, current 3.11 branch\r\n- Operating system and architecture: Arch Linux x86_64\r\n","author":{"url":"https://github.com/The-Compiler","@type":"Person","name":"The-Compiler"},"datePublished":"2022-05-26T08:27:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/93249/cpython/issues/93249"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:67c12291-8db9-a436-ed79-f5e83c0f9e3a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB2B4:861EA:BD5C5B:FE8EF1:69699715
html-safe-noncef5b2029adff24d632d8c132d441ae54bc826786fcd0a8a076974ef111cd1f63b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkI0Ojg2MUVBOkJENUM1QjpGRThFRjE6Njk2OTk3MTUiLCJ2aXNpdG9yX2lkIjoiNTA1ODM4MDcyOTg0NzU3OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace5020e6c021cf68024bac996b16dee34e514e1c99770b4396002250a4a97b061
hovercard-subject-tagissue:1249263928
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/93249/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e8ae83ed5c01c2b2277b7f44935ea0c41c618ed7edb480f2599d2b92bf0cea82/python/cpython/issues/93249
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e8ae83ed5c01c2b2277b7f44935ea0c41c618ed7edb480f2599d2b92bf0cea82/python/cpython/issues/93249
og:image:altCrash report Doing a pip install PyQt6 and then running the following script: from PyQt6.QtCore import QUrl, QTimer, QCoreApplication app = QCoreApplication([]) timer = QTimer() timer.setInterval(1...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameThe-Compiler
hostnamegithub.com
expected-hostnamegithub.com
None3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaf80af7cc9e3de9c336f18b208a600950a3c187c
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/93249#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F93249
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F93249
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/93249
Reloadhttps://github.com/python/cpython/issues/93249
Reloadhttps://github.com/python/cpython/issues/93249
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/93249
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/93249
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/93249
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/93249
#93961https://github.com/python/cpython/pull/93961
Objects/codeobject.c:814: retreat: Assertion `bounds->ar_start > 0' failedhttps://github.com/python/cpython/issues/93249#top
#93961https://github.com/python/cpython/pull/93961
https://github.com/markshannon
3.11only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.11%22
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
type-crashA hard crash of the interpreter, possibly with a core dumphttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-crash%22
https://github.com/The-Compiler
https://github.com/The-Compiler
The-Compilerhttps://github.com/The-Compiler
on May 26, 2022https://github.com/python/cpython/issues/93249#issue-1249263928
cpython/Objects/codeobject.chttps://github.com/python/cpython/blob/518595652759462b13904df767f69b8cc2c61143/Objects/codeobject.c#L814
5185956https://github.com/python/cpython/commit/518595652759462b13904df767f69b8cc2c61143
944fffehttps://github.com/python/cpython/commit/944fffee8916cb94321fa33cd3a43f4108717746
GH-88116https://github.com/python/cpython/issues/88116
GH-91666https://github.com/python/cpython/pull/91666
@markshannonhttps://github.com/markshannon
markshannonhttps://github.com/markshannon
3.11only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.11%22
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
type-crashA hard crash of the interpreter, possibly with a core dumphttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-crash%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.