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
Domain: github.com
{"@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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67c12291-8db9-a436-ed79-f5e83c0f9e3a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B2B4:861EA:BD5C5B:FE8EF1:69699715 |
| html-safe-nonce | f5b2029adff24d632d8c132d441ae54bc826786fcd0a8a076974ef111cd1f63b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkI0Ojg2MUVBOkJENUM1QjpGRThFRjE6Njk2OTk3MTUiLCJ2aXNpdG9yX2lkIjoiNTA1ODM4MDcyOTg0NzU3OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e5020e6c021cf68024bac996b16dee34e514e1c99770b4396002250a4a97b061 |
| hovercard-subject-tag | issue:1249263928 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/93249/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8ae83ed5c01c2b2277b7f44935ea0c41c618ed7edb480f2599d2b92bf0cea82/python/cpython/issues/93249 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8ae83ed5c01c2b2277b7f44935ea0c41c618ed7edb480f2599d2b92bf0cea82/python/cpython/issues/93249 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | The-Compiler |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width