sagemath / cypari2

Python interface to the number theory library PARI/GP
https://cypari2.readthedocs.io/en/latest/
GNU General Public License v2.0
31 stars 28 forks source link

Python-3.11 assertion failed during testing #147

Open orlitzky opened 6 months ago

orlitzky commented 6 months ago

Originally reported in https://bugs.gentoo.org/923000 where the full build log is available.

Summary:

Assertion failed: (PyObject **)frame + frame->f_code->co_nlocalsplus + frame->f_code->co_stacksize + FRAME_SPECIALS_SIZE == tstate->datastack_top (Python/ceval.c: _PyEvalFrameClearAndPop: 6401)

That happened with python-3.11.7, while the same test suite passed under python-3.10.13. The tinderbox that discovered the problem is running musl libc in case that matters.

mgorny commented 4 months ago

I can reproduce the same crash on a glibc system. That said, the bug seems to be in cysignals:

python3.11: Python/ceval.c:6401: _PyEvalFrameClearAndPop: Assertion `(PyObject **)frame + frame->f_code->co_nlocalsplus + frame->f_code
->co_stacksize + FRAME_SPECIALS_SIZE == tstate->datastack_top' failed.
------------------------------------------------------------------------
/usr/lib/python3.11/site-packages/cysignals/signals.cpython-311-x86_64-linux-gnu.so(+0x89db)[0x7f368ccff9db]
/usr/lib/python3.11/site-packages/cysignals/signals.cpython-311-x86_64-linux-gnu.so(+0x8a9f)[0x7f368ccffa9f]
/usr/lib/python3.11/site-packages/cysignals/signals.cpython-311-x86_64-linux-gnu.so(+0xbb4d)[0x7f368cd02b4d]
/usr/lib64/libc.so.6(+0x3c9d0)[0x7f368dc4b9d0]
/usr/lib64/libc.so.6(+0x8e2bc)[0x7f368dc9d2bc]
/usr/lib64/libc.so.6(gsignal+0x16)[0x7f368dc4b926]
/usr/lib64/libc.so.6(abort+0xd7)[0x7f368dc338f7]
/usr/lib64/libc.so.6(+0x2481b)[0x7f368dc3381b]
/usr/lib64/libc.so.6(+0x34f26)[0x7f368dc43f26]
/usr/lib64/libpython3.11.so.1.0(+0x10bc17)[0x7f368df0bc17]
/usr/lib64/libpython3.11.so.1.0(+0x1ccf57)[0x7f368dfccf57]
/usr/lib64/libpython3.11.so.1.0(PyEval_EvalCode+0xa7)[0x7f368e05cbd7]
/usr/lib64/libpython3.11.so.1.0(+0x272650)[0x7f368e072650]
/usr/lib64/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x481f)[0x7f368dfd6d6f]
/usr/lib64/libpython3.11.so.1.0(+0x1ccf30)[0x7f368dfccf30]
/usr/lib64/libpython3.11.so.1.0(PyEval_EvalCode+0xa7)[0x7f368e05cbd7]
/usr/lib64/libpython3.11.so.1.0(+0x2771d3)[0x7f368e0771d3]
/usr/lib64/libpython3.11.so.1.0(+0x272fca)[0x7f368e072fca]
/usr/lib64/libpython3.11.so.1.0(+0x2868e1)[0x7f368e0868e1]
/usr/lib64/libpython3.11.so.1.0(_PyRun_SimpleFileObject+0x1b2)[0x7f368e086662]
/usr/lib64/libpython3.11.so.1.0(_PyRun_AnyFileObject+0x44)[0x7f368e086464]
/usr/lib64/libpython3.11.so.1.0(Py_RunMain+0x353)[0x7f368e085803]
/usr/lib64/libpython3.11.so.1.0(Py_BytesMain+0x37)[0x7f368e04f477]
/usr/lib64/libc.so.6(+0x26350)[0x7f368dc35350]
/usr/lib64/libc.so.6(__libc_start_main+0x89)[0x7f368dc35409]
python3.11(_start+0x21)[0x561d134ee071]
mgorny commented 3 weeks ago

I've managed to get a better backtrace:

GNU gdb (Gentoo 14.2 vanilla) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(No debugging symbols found in /usr/lib64/libsandbox.so)
(No debugging symbols found in /usr/lib64/libc.so.6)
(No debugging symbols found in /usr/lib64/libm.so.6)
(No debugging symbols found in /usr/lib64/libz.so.1)
(No debugging symbols found in /usr/lib64/libbz2.so.1)
(No debugging symbols found in /usr/lib64/liblzma.so.5)
(No debugging symbols found in /usr/lib64/libpari-gmp-tls.so.8)
(No debugging symbols found in /usr/lib64/libgmp.so.10)
(No debugging symbols found in /usr/lib/gcc/x86_64-pc-linux-gnu/14/libgcc_s.so.1)
(No debugging symbols found in /usr/lib64/libreadline.so.8)
(No debugging symbols found in /usr/lib64/libtinfow.so.6)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
0x00007f759bb0220a in wait4 () from /usr/lib64/libc.so.6

Stack backtrace
---------------
No symbol table info available.
#1  0x00007f759acc791f in print_enhanced_backtrace () at build/src/cysignals/implementation.c:672
        parent_pid = 62
        pid = <optimized out>
#2  0x00007f759acc7a73 in sigdie (sig=sig@entry=6, s=s@entry=0x7f759acd2560 "Unhandled SIGABRT: An abort() occurred.")
    at build/src/cysignals/implementation.c:698
No locals.
#3  0x00007f759acc7b3a in sigdie_for_sig (sig=sig@entry=6, inside=0) at build/src/cysignals/implementation.c:252
No locals.
#4  0x00007f759accf8ec in cysigs_signal_handler (sig=6) at build/src/cysignals/implementation.c:361
        inside = <optimized out>
#5  <signal handler called>
No symbol table info available.
#6  0x00007f759ba995ac in ?? () from /usr/lib64/libc.so.6
No symbol table info available.
#7  0x00007f759ba42816 in raise () from /usr/lib64/libc.so.6
No symbol table info available.
#8  0x00007f759ba2a8fa in abort () from /usr/lib64/libc.so.6
No symbol table info available.
#9  0x00007f759ba2a81e in ?? () from /usr/lib64/libc.so.6
No symbol table info available.
#10 0x00007f759ba3acd6 in __assert_fail () from /usr/lib64/libc.so.6
No symbol table info available.
#11 0x00007f759be2bc4b in _PyEvalFrameClearAndPop (tstate=tstate@entry=0x7f759c196af8 <_PyRuntime+166328>, 
    frame=frame@entry=0x7f759c2103b8) at Python/ceval.c:6401
        __PRETTY_FUNCTION__ = "_PyEvalFrameClearAndPop"
#12 0x00007f759be3af57 in _PyEval_Vector (tstate=tstate@entry=0x7f759c196af8 <_PyRuntime+166328>, func=func@entry=0x7f75999bf380, 
    locals=locals@entry={'__name__': 'cypari2.closure', '__doc__': '\nConvert Python functions to PARI closures\n*****************************************\n\nAUTHORS:\n\n- Jeroen Demeyer (2015-04-10): initial version, :trac:`18052`.\n\nExamples:\n\n>>> def the_answer():\n...     return 42\n>>> import cypari2\n>>> pari = cypari2.Pari()\n>>> f = pari(the_answer)\n>>> f()\n42\n\n>>> cube = pari(lambda i: i**3)\n>>> cube.apply(range(10))\n[0, 1, 8, 27, 64, 125, 216, 343, 512, 729]\n', '__package__': 'cypari2', '__loader__': <ExtensionFileLoader(name='cypari2.closure', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so') at remote 0x7f7599bffe90>, '__spec__': <ModuleSpec(name='cypari2.closure', loader=<...>, origin='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so', loader_state=None, submodule_search_locations=None, _uni...(truncated), 
    args=args@entry=0x0, argcount=argcount@entry=0, kwnames=kwnames@entry=0x0) at Python/ceval.c:6439
        frame = 0x7f759c2103b8
        retval = 0x0
        __PRETTY_FUNCTION__ = "_PyEval_Vector"
#13 0x00007f759be3b04a in PyEval_EvalCode (co=co@entry=<code at remote 0x7f7599c134b0>, 
    globals=globals@entry={'__name__': 'cypari2.closure', '__doc__': '\nConvert Python functions to PARI closures\n*****************************************\n\nAUTHORS:\n\n- Jeroen Demeyer (2015-04-10): initial version, :trac:`18052`.\n\nExamples:\n\n>>> def the_answer():\n...     return 42\n>>> import cypari2\n>>> pari = cypari2.Pari()\n>>> f = pari(the_answer)\n>>> f()\n42\n\n>>> cube = pari(lambda i: i**3)\n>>> cube.apply(range(10))\n[0, 1, 8, 27, 64, 125, 216, 343, 512, 729]\n', '__package__': 'cypari2', '__loader__': <ExtensionFileLoader(name='cypari2.closure', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so') at remote 0x7f7599bffe90>, '__spec__': <ModuleSpec(name='cypari2.closure', loader=<...>, origin='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so', loader_state=None, submodule_search_locations=None, _uni...(truncated), 
    locals=locals@entry={'__name__': 'cypari2.closure', '__doc__': '\nConvert Python functions to PARI closures\n*****************************************\n\nAUTHORS:\n\n- Jeroen Demeyer (2015-04-10): initial version, :trac:`18052`.\n\nExamples:\n\n>>> def the_answer():\n...     return 42\n>>> import cypari2\n>>> pari = cypari2.Pari()\n>>> f = pari(the_answer)\n>>> f()\n42\n\n>>> cube = pari(lambda i: i**3)\n>>> cube.apply(range(10))\n[0, 1, 8, 27, 64, 125, 216, 343, 512, 729]\n', '__package__': 'cypari2', '__loader__': <ExtensionFileLoader(name='cypari2.closure', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so') at remote 0x7f7599bffe90>, '__spec__': <ModuleSpec(name='cypari2.closure', loader=<...>, origin='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so', loader_state=None, submodule_search_locations=None, _uni...(truncated))
    at Python/ceval.c:1148
        tstate = 0x7f759c196af8 <_PyRuntime+166328>
        builtins = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <type at remote 0x561f6394f770>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x561f6394f770>, origin='built-in', loader_state=None, submodule_search_locations=None, _uninitialized_submodules=[], _set_fileattr=False, _cached=None) at remote 0x7f759b393650>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7f759b388a90>, '__import__': <built-in method __import__ of module object at remote 0x7f759b388a90>, 'abs': <built-in method abs of module object at remote 0x...(truncated)
        desc = {
          fc_globals = {'__name__': 'cypari2.closure', '__doc__': '\nConvert Python functions to PARI closures\n*****************************************\n\nAUTHORS:\n\n- Jeroen Demeyer (2015-04-10): initial version, :trac:`18052`.\n\nExamples:\n\n>>> def the_answer():\n...     return 42\n>>> import cypari2\n>>> pari = cypari2.Pari()\n>>> f = pari(the_answer)\n>>> f()\n42\n\n>>> cube = pari(lambda i: i**3)\n>>> cube.apply(range(10))\n[0, 1, 8, 27, 64, 125, 216, 343, 512, 729]\n', '__package__': 'cypari2', '__loader__': <ExtensionFileLoader(name='cypari2.closure', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so') at remote 0x7f7599bffe90>, '__spec__': <ModuleSpec(name='cypari2.closure', loader=<...>, origin='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so', loader_state=None, submodule_search_locations=None, _uni...(truncated), 
          fc_builtins = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <type at remote 0x561f6394f770>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x561f6394f770>, origin='built-in', loader_state=None, submodule_search_locations=None, _uninitialized_submodules=[], _set_fileattr=False, _cached=None) at remote 0x7f759b393650>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7f759b388a90>, '__import__': <built-in method __import__ of module object at remote 0x7f759b388a90>, 'abs': <built-in method abs of module object at remote 0x...(truncated), 
          fc_name = '<module>', fc_qualname = '<module>', fc_code = <code at remote 0x7f7599c134b0>, fc_defaults = 0x0, 
          fc_kwdefaults = 0x0, fc_closure = 0x0}
        func = 0x7f75999bf380
        res = <optimized out>
#14 0x00007f759be25a87 in builtin_exec_impl (module=module@entry=<module at remote 0x7f759b388a90>, 
    source=<code at remote 0x7f7599c134b0>, 
    globals={'__name__': 'cypari2.closure', '__doc__': '\nConvert Python functions to PARI closures\n*****************************************\n\nAUTHORS:\n\n- Jeroen Demeyer (2015-04-10): initial version, :trac:`18052`.\n\nExamples:\n\n>>> def the_answer():\n...     return 42\n>>> import cypari2\n>>> pari = cypari2.Pari()\n>>> f = pari(the_answer)\n>>> f()\n42\n\n>>> cube = pari(lambda i: i**3)\n>>> cube.apply(range(10))\n[0, 1, 8, 27, 64, 125, 216, 343, 512, 729]\n', '__package__': 'cypari2', '__loader__': <ExtensionFileLoader(name='cypari2.closure', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so') at remote 0x7f7599bffe90>, '__spec__': <ModuleSpec(name='cypari2.closure', loader=<...>, origin='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so', loader_state=None, submodule_search_locations=None, _uni...(truncated), 
    locals={'__name__': 'cypari2.closure', '__doc__': '\nConvert Python functions to PARI closures\n*****************************************\n\nAUTHORS:\n\n- Jeroen Demeyer (2015-04-10): initial version, :trac:`18052`.\n\nExamples:\n\n>>> def the_answer():\n...     return 42\n>>> import cypari2\n>>> pari = cypari2.Pari()\n>>> f = pari(the_answer)\n>>> f()\n42\n\n>>> cube = pari(lambda i: i**3)\n>>> cube.apply(range(10))\n[0, 1, 8, 27, 64, 125, 216, 343, 512, 729]\n', '__package__': 'cypari2', '__loader__': <ExtensionFileLoader(name='cypari2.closure', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so') at remote 0x7f7599bffe90>, '__spec__': <ModuleSpec(name='cypari2.closure', loader=<...>, origin='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5-python3_11/install/usr/lib/python3.11/site-packages/cypari2/closure.cpython-311-x86_64-linux-gnu.so', loader_state=None, submodule_search_locations=None, _uni...(truncated), closure=0x0)
    at Python/bltinmodule.c:1077
        num_free = 0
        v = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = "builtin_exec_impl"
#15 0x00007f759be25ba4 in builtin_exec (module=<module at remote 0x7f759b388a90>, args=<optimized out>, nargs=2, kwnames=0x0)
    at Python/clinic/bltinmodule.c.h:465
        return_value = 0x0
        _keywords = {0x7f759bf187c9 "", 0x7f759bf187c9 "", 0x7f759bf187c9 "", 0x7f759bf18c6f "closure", 0x0}
        _parser = {format = 0x0, keywords = 0x7f759c0367c0 <_keywords.9>, fname = 0x7f759bf24692 "exec", custom_msg = 0x0, pos = 0, 
          min = 0, max = 0, kwtuple = 0x0, next = 0x0}
        argsbuf = {<unknown at remote 0x18>, 
          (((((((((((((((((((((((((((((((((((((((((((((((((((((((0x0, <_NamedIntConstant(name='CATEGORY_WORD') at remote 0x7f759b103880>), 3), None), 1), (<type at remote 0x7f759c080ce0>, '#\\s*doctest:\\s*([^\\n\\\'"]*)$', 8)), 1), (<type at remote 0x7f759c080ce0>, '^([ ]*)(?=\\S)', 8)), (<type at remote 0x561f63bad270>, <type at remote 0x7f759c072300>, <type at remote 0x7f759c072640>, <type at remote 0x7f759c07dce0>)), <_NamedIntConstant(name='AT_BEGINNING') at remote 0x7f759b103080>), None), 1), (<type at remote 0x7f759c080ce0>, '^[ ]*(#.*)?$', 0)), (<type at remote 0x561f63bacea0>, <type at remote 0x7f759c072300>, <type at remote 0x7f759c072640>, <type at remote 0x7f759c07dce0>)), <_NamedIntConstant(name='AT_END') at remote 0x7f759b103300>), 1), (<type at remote 0x7f759c080ce0>, "\n        # Grab the traceback header.  Different versions of Python have\n        # said different things on the first traceback line.\n        ^(?P<hdr> Traceback\\ \\(\n            (?: most\\ recent\\ call\\ last\n            |   innerm...(truncated), 
          <unknown at remote 0x7f759bf15ea6>, <unknown at remote 0x6>}
        noptargs = 0
        source = <optimized out>
        globals = <optimized out>
        locals = <optimized out>
        closure = <optimized out>
#16 0x00007f759be38b83 in _PyEval_EvalFrameDefault (tstate=0x7f759c196af8 <_PyRuntime+166328>, frame=0x7f759c210260, 
    throwflag=<optimized out>) at Python/ceval.c:5091
        is_meth = 0
        total_args = 2
        callable = <built-in method exec of module object at remote 0x7f759b388a90>
        cfunc = 0x7f759be25ac9 <builtin_exec>
        res = <optimized out>
        __func__ = "_PyEval_EvalFrameDefault"
        opcode_targets = {0x7f759be3a786 <_PyEval_EvalFrameDefault+53266>, 0x7f759be2e24d <_PyEval_EvalFrameDefault+2777>, 
          0x7f759be2e2c9 <_PyEval_EvalFrameDefault+2901>, 0x7f759be3a54e <_PyEval_EvalFrameDefault+52698>, 
          0x7f759be2ed77 <_PyEval_EvalFrameDefault+5635>, 0x7f759be2eea6 <_PyEval_EvalFrameDefault+5938>, 
          0x7f759be2eac5 <_PyEval_EvalFrameDefault+4945>, 0x7f759be2ebe9 <_PyEval_EvalFrameDefault+5237>, 
          0x7f759be2e73f <_PyEval_EvalFrameDefault+4043>, 0x7f759be2dab1 <_PyEval_EvalFrameDefault+829>, 
          0x7f759be2e33b <_PyEval_EvalFrameDefault+3015>, 0x7f759be2e3d2 <_PyEval_EvalFrameDefault+3166>, 
          0x7f759be2e469 <_PyEval_EvalFrameDefault+3317>, 0x7f759be2e61a <_PyEval_EvalFrameDefault+3750>, 
          0x7f759be2e996 <_PyEval_EvalFrameDefault+4642>, 0x7f759be2e583 <_PyEval_EvalFrameDefault+3599>, 
          0x7f759be2e86e <_PyEval_EvalFrameDefault+4346>, 0x7f759be2f089 <_PyEval_EvalFrameDefault+6421>, 
          0x7f759be2f4df <_PyEval_EvalFrameDefault+7531>, 0x7f759be2f629 <_PyEval_EvalFrameDefault+7861>, 
          0x7f759be2f0e6 <_PyEval_EvalFrameDefault+6514>, 0x7f759be2f2e8 <_PyEval_EvalFrameDefault+7028>, 
          0x7f759be37daa <_PyEval_EvalFrameDefault+42550>, 0x7f759be37e26 <_PyEval_EvalFrameDefault+42674>, 
          0x7f759be37f8b <_PyEval_EvalFrameDefault+43031>, 0x7f759be2efce <_PyEval_EvalFrameDefault+6234>, 
          0x7f759be343f5 <_PyEval_EvalFrameDefault+27777>, 0x7f759be34476 <_PyEval_EvalFrameDefault+27906>, 
          0x7f759be346b9 <_PyEval_EvalFrameDefault+28485>, 0x7f759be3497d <_PyEval_EvalFrameDefault+29193>, 
          0x7f759be36071 <_PyEval_EvalFrameDefault+35069>, 0x7f759be36287 <_PyEval_EvalFrameDefault+35603>, 
          0x7f759be3631e <_PyEval_EvalFrameDefault+35754>, 0x7f759be363b5 <_PyEval_EvalFrameDefault+35905>, 
          0x7f759be3a701 <_PyEval_EvalFrameDefault+53133>, 0x7f759be36b8e <_PyEval_EvalFrameDefault+37914>, 
          0x7f759be34fbb <_PyEval_EvalFrameDefault+30791>, 0x7f759be34dc8 <_PyEval_EvalFrameDefault+30292>, 
          0x7f759be36022 <_PyEval_EvalFrameDefault+34990>, 0x7f759be33548 <_PyEval_EvalFrameDefault+24020>, 
          0x7f759be3360c <_PyEval_EvalFrameDefault+24216>, 0x7f759be337a0 <_PyEval_EvalFrameDefault+24620>, 
          0x7f759be33b9c <_PyEval_EvalFrameDefault+25640>, 0x7f759be3395e <_PyEval_EvalFrameDefault+25066>, 
          0x7f759be2e16c <_PyEval_EvalFrameDefault+2552>, 0x7f759be2df0a <_PyEval_EvalFrameDefault+1942>, 
          0x7f759be2de56 <_PyEval_EvalFrameDefault+1762>, 0x7f759be31f40 <_PyEval_EvalFrameDefault+18380>, 
          0x7f759be32144 <_PyEval_EvalFrameDefault+18896>, 0x7f759be36a3b <_PyEval_EvalFrameDefault+37575>, 
          0x7f759be300ec <_PyEval_EvalFrameDefault+10616>, 0x7f759be30265 <_PyEval_EvalFrameDefault+10993>, 
          0x7f759be36711 <_PyEval_EvalFrameDefault+36765>, 0x7f759be368a6 <_PyEval_EvalFrameDefault+37170>, 
          0x7f759be30c7d <_PyEval_EvalFrameDefault+13577>, 0x7f759be3200c <_PyEval_EvalFrameDefault+18584>, 
          0x7f759be36d7c <_PyEval_EvalFrameDefault+38408>, 0x7f759be3754f <_PyEval_EvalFrameDefault+40411>, 
          0x7f759be37373 <_PyEval_EvalFrameDefault+39935>, 0x7f759be371f5 <_PyEval_EvalFrameDefault+39553>, 
          0x7f759be2f944 <_PyEval_EvalFrameDefault+8656>, 0x7f759be2fd49 <_PyEval_EvalFrameDefault+9685>, 
          0x7f759be3702f <_PyEval_EvalFrameDefault+39099>, 0x7f759be36e40 <_PyEval_EvalFrameDefault+38604>, 
          0x7f759be37d2b <_PyEval_EvalFrameDefault+42423>, 0x7f759be37798 <_PyEval_EvalFrameDefault+40996>, 
          0x7f759be38552 <_PyEval_EvalFrameDefault+44510>, 0x7f759be38acb <_PyEval_EvalFrameDefault+45911>, 
          0x7f759be3643c <_PyEval_EvalFrameDefault+36040>, 0x7f759be364d3 <_PyEval_EvalFrameDefault+36191>, 
          0x7f759be2fdff <_PyEval_EvalFrameDefault+9867>, 0x7f759be30e2a <_PyEval_EvalFrameDefault+14006>, 
          0x7f759be39463 <_PyEval_EvalFrameDefault+48367>, 0x7f759be388cd <_PyEval_EvalFrameDefault+45401>, 
          0x7f759be30da8 <_PyEval_EvalFrameDefault+13876>, 0x7f759be39f0e <_PyEval_EvalFrameDefault+51098>, 
          0x7f759be386c8 <_PyEval_EvalFrameDefault+44884>, 0x7f759be38e8e <_PyEval_EvalFrameDefault+46874>, 
          0x7f759be38ccb <_PyEval_EvalFrameDefault+46423>, 0x7f759be390b0 <_PyEval_EvalFrameDefault+47420>, 
          0x7f759be39867 <_PyEval_EvalFrameDefault+49395>, 0x7f759be39668 <_PyEval_EvalFrameDefault+48884>, 
          0x7f759be32a56 <_PyEval_EvalFrameDefault+21218>, 0x7f759be2ff82 <_PyEval_EvalFrameDefault+10254>, 
          0x7f759be351e1 <_PyEval_EvalFrameDefault+31341>, 0x7f759be32ece <_PyEval_EvalFrameDefault+22362>, 
          0x7f759be308dc <_PyEval_EvalFrameDefault+12648>, 0x7f759be3081f <_PyEval_EvalFrameDefault+12459>, 
          0x7f759be30b86 <_PyEval_EvalFrameDefault+13330>, 0x7f759be30a02 <_PyEval_EvalFrameDefault+12942>, 
          0x7f759be30f56 <_PyEval_EvalFrameDefault+14306>, 0x7f759be310a4 <_PyEval_EvalFrameDefault+14640>, 
          0x7f759be311ab <_PyEval_EvalFrameDefault+14903>, 0x7f759be365c9 <_PyEval_EvalFrameDefault+36437>, 
          0x7f759be316c4 <_PyEval_EvalFrameDefault+16208>, 0x7f759be31790 <_PyEval_EvalFrameDefault+16412>, 
          0x7f759be3188a <_PyEval_EvalFrameDefault+16662>, 0x7f759be31963 <_PyEval_EvalFrameDefault+16879>, 
          0x7f759be31a3b <_PyEval_EvalFrameDefault+17095>, 0x7f759be3a5d3 <_PyEval_EvalFrameDefault+52831>, 
          0x7f759be2dd0e <_PyEval_EvalFrameDefault+1434>, 0x7f759be31b29 <_PyEval_EvalFrameDefault+17333>, 
          0x7f759be32924 <_PyEval_EvalFrameDefault+20912>, 0x7f759be329bd <_PyEval_EvalFrameDefault+21065>, 
          0x7f759be32ccf <_PyEval_EvalFrameDefault+21851>, 0x7f759be32de3 <_PyEval_EvalFrameDefault+22127>, 
          0x7f759be33471 <_PyEval_EvalFrameDefault+23805>, 0x7f759be3430e <_PyEval_EvalFrameDefault+27546>, 
          0x7f759be350df <_PyEval_EvalFrameDefault+31083>, 0x7f759be35303 <_PyEval_EvalFrameDefault+31631>, 
          0x7f759be353c4 <_PyEval_EvalFrameDefault+31824>, 0x7f759be35ca9 <_PyEval_EvalFrameDefault+34101>, 
          0x7f759be35e30 <_PyEval_EvalFrameDefault+34492>, 0x7f759be3925d <_PyEval_EvalFrameDefault+47849>, 
          0x7f759be3565f <_PyEval_EvalFrameDefault+32491>, 0x7f759be358f0 <_PyEval_EvalFrameDefault+33148>, 
          0x7f759be31d82 <_PyEval_EvalFrameDefault+17934>, 0x7f759be34c13 <_PyEval_EvalFrameDefault+29855>, 
          0x7f759be34cd8 <_PyEval_EvalFrameDefault+30052>, 0x7f759be30a91 <_PyEval_EvalFrameDefault+13085>, 
          0x7f759be3a368 <_PyEval_EvalFrameDefault+52212>, 0x7f759be382ab <_PyEval_EvalFrameDefault+43831>, 
          0x7f759be3a40f <_PyEval_EvalFrameDefault+52379>, 0x7f759be304f3 <_PyEval_EvalFrameDefault+11647>, 
          0x7f759be2dc86 <_PyEval_EvalFrameDefault+1298>, 0x7f759be2ddc4 <_PyEval_EvalFrameDefault+1616>, 
          0x7f759be3229f <_PyEval_EvalFrameDefault+19243>, 0x7f759be38415 <_PyEval_EvalFrameDefault+44193>, 
          0x7f759be35acd <_PyEval_EvalFrameDefault+33625>, 0x7f759be35c0b <_PyEval_EvalFrameDefault+33943>, 
          0x7f759be2ff08 <_PyEval_EvalFrameDefault+10132>, 0x7f759be303c1 <_PyEval_EvalFrameDefault+11341>, 
          0x7f759be39d3e <_PyEval_EvalFrameDefault+50634>, 0x7f759be3a0b5 <_PyEval_EvalFrameDefault+51521>, 
          0x7f759be35fba <_PyEval_EvalFrameDefault+34886>, 0x7f759be3232e <_PyEval_EvalFrameDefault+19386>, 
          0x7f759be2dbfe <_PyEval_EvalFrameDefault+1162>, 0x7f759be3263b <_PyEval_EvalFrameDefault+20167>, 
          0x7f759be326d8 <_PyEval_EvalFrameDefault+20324>, 0x7f759be323d2 <_PyEval_EvalFrameDefault+19550>, 
          0x7f759be35428 <_PyEval_EvalFrameDefault+31924>, 0x7f759be38153 <_PyEval_EvalFrameDefault+43487>, 
          0x7f759be39a6a <_PyEval_EvalFrameDefault+49910>, 0x7f759be3786b <_PyEval_EvalFrameDefault+41207>, 
          0x7f759be3a673 <_PyEval_EvalFrameDefault+52991>, 0x7f759be2f821 <_PyEval_EvalFrameDefault+8365>, 
          0x7f759be2f8a3 <_PyEval_EvalFrameDefault+8495>, 0x7f759be333be <_PyEval_EvalFrameDefault+23626>, 
          0x7f759be32475 <_PyEval_EvalFrameDefault+19713>, 0x7f759be32769 <_PyEval_EvalFrameDefault+20469>, 
          0x7f759be2db93 <_PyEval_EvalFrameDefault+1055>, 0x7f759be2db14 <_PyEval_EvalFrameDefault+928>, 
          0x7f759be36101 <_PyEval_EvalFrameDefault+35213>, 0x7f759be33cab <_PyEval_EvalFrameDefault+25911>, 
          0x7f759be33d6f <_PyEval_EvalFrameDefault+26107>, 0x7f759be3a1bb <_PyEval_EvalFrameDefault+51783>, 
          0x7f759be3309e <_PyEval_EvalFrameDefault+22826>, 0x7f759be32866 <_PyEval_EvalFrameDefault+20722>, 
          0x7f759be341d7 <_PyEval_EvalFrameDefault+27235>, 0x7f759be33ef7 <_PyEval_EvalFrameDefault+26499>, 
          0x7f759be36c61 <_PyEval_EvalFrameDefault+38125>, 0x7f759be2dfe7 <_PyEval_EvalFrameDefault+2163>, 
          0x7f759be32af1 <_PyEval_EvalFrameDefault+21373>, 0x7f759be32c2e <_PyEval_EvalFrameDefault+21690>, 
          0x7f759be332e4 <_PyEval_EvalFrameDefault+23408>, 0x7f759be331e8 <_PyEval_EvalFrameDefault+23156>, 
          0x7f759be376ba <_PyEval_EvalFrameDefault+40774>, 0x7f759be2e09f <_PyEval_EvalFrameDefault+2347>, 
          0x7f759be2fa1c <_PyEval_EvalFrameDefault+8872>, 0x7f759be2fc62 <_PyEval_EvalFrameDefault+9454>, 
          0x7f759be2fa79 <_PyEval_EvalFrameDefault+8965>, 0x7f759be37a05 <_PyEval_EvalFrameDefault+41617>, 
          0x7f759be37903 <_PyEval_EvalFrameDefault+41359>, 0x7f759be359ca <_PyEval_EvalFrameDefault+33366>, 
          0x7f759be35b5c <_PyEval_EvalFrameDefault+33768>, 0x7f759be354a8 <_PyEval_EvalFrameDefault+32052>, 
          0x7f759be35739 <_PyEval_EvalFrameDefault+32709>, 0x7f759be31274 <_PyEval_EvalFrameDefault+15104>, 
          0x7f759be315a5 <_PyEval_EvalFrameDefault+15921>, 0x7f759be31486 <_PyEval_EvalFrameDefault+15634>, 
          0x7f759be312ee <_PyEval_EvalFrameDefault+15226>, 0x7f759be3a923 <_PyEval_EvalFrameDefault+53679> <repeats 74 times>, 
          0x7f759be3a78e <_PyEval_EvalFrameDefault+53274>}
        opcode = <optimized out>
        oparg = <optimized out>
        eval_breaker = 0x7f759c17c7dc <_PyRuntime+59036>
        cframe = {use_tracing = 0 '\000', current_frame = 0x7f759c210260, previous = 0x7f759c196c48 <_PyRuntime+166664>}
        call_shape = <optimized out>
        prev_cframe = <optimized out>
        __PRETTY_FUNCTION__ = "_PyEval_EvalFrameDefault"
        names = ('optionflags', 'range', '_checker', 'check_output', 'enumerate', 'examples', 'REPORT_ONLY_FIRST_FAILURE', 'options', 'items', 'SKIP', 'report_start', 'name', 'exec', 'compile', 'source', 'globs', 'debugger', 'set_continue', 'KeyboardInterrupt', 'sys', 'exc_info', '_fakeout', 'getvalue', 'truncate', 'want', 'traceback', 'format_exception_only', 'issubclass', 'SyntaxError', '__qualname__', '__module__', 'next', 'join', '_exception_traceback', 'exc_msg', 'IGNORE_EXCEPTION_DETAIL', '_strip_exception_details', 'report_success', 'report_failure', 'report_unexpected_exception', 'FAIL_FAST', '_DocTestRunner__record_outcome', 'TestResults')
        consts = ('\n        Run the examples in `test`.  Write the outcome of each example\n        with one of the `DocTestRunner.report_*` methods, using the\n        writer function `out`.  `compileflags` is the set of compiler\n        flags that should be used to execute examples.  Return a tuple\n        `(f, t)`, where `t` is the number of examples tried, and `f`\n        is the number of examples that failed.  The examples are run\n        in the namespace `test.globs`.\n        ', 0, 3, 1, '<doctest %s[%d]>', 'single', True, None, 2, ':', '.', <code at remote 0x7f7599a10580>, '', False, 'unknown outcome')
        first_instr = 0x561f63b110a8
        next_instr = 0x561f63b112ca
        stack_pointer = 0x7f759c210380
        exception_unwind = <optimized out>
        dying = <optimized out>
#17 0x00007f759be3adfc in _PyEval_EvalFrame (tstate=tstate@entry=0x7f759c196af8 <_PyRuntime+166328>, 
    frame=frame@entry=0x7f759c210020, throwflag=throwflag@entry=0) at ./Include/internal/pycore_ceval.h:73
No locals.
#18 0x00007f759be3af2b in _PyEval_Vector (tstate=tstate@entry=0x7f759c196af8 <_PyRuntime+166328>, func=func@entry=0x7f759b3da020, 
    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}, args=args@entry=0x0, argcount=argcount@entry=0, 
    kwnames=kwnames@entry=0x0) at Python/ceval.c:6434
        frame = 0x7f759c210020
        retval = <optimized out>
        __PRETTY_FUNCTION__ = "_PyEval_Vector"
#19 0x00007f759be3b04a in PyEval_EvalCode (co=co@entry=<code at remote 0x561f639b6a50>, 
    globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}, 
    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}) at Python/ceval.c:1148
        tstate = 0x7f759c196af8 <_PyRuntime+166328>
        builtins = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <type at remote 0x561f6394f770>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x561f6394f770>, origin='built-in', loader_state=None, submodule_search_locations=None, _uninitialized_submodules=[], _set_fileattr=False, _cached=None) at remote 0x7f759b393650>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7f759b388a90>, '__import__': <built-in method __import__ of module object at remote 0x7f759b388a90>, 'abs': <built-in method abs of module object at remote 0x...(truncated)
        desc = {
          fc_globals = {'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}, 
          fc_builtins = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <type at remote 0x561f6394f770>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x561f6394f770>, origin='built-in', loader_state=None, submodule_search_locations=None, _uninitialized_submodules=[], _set_fileattr=False, _cached=None) at remote 0x7f759b393650>, '__build_class__': <built-in method __build_class__ of module object at remote 0x7f759b388a90>, '__import__': <built-in method __import__ of module object at remote 0x7f759b388a90>, 'abs': <built-in method abs of module object at remote 0x...(truncated), 
          fc_name = '<module>', fc_qualname = '<module>', fc_code = <code at remote 0x561f639b6a50>, fc_defaults = 0x0, 
          fc_kwdefaults = 0x0, fc_closure = 0x0}
        func = 0x7f759b3da020
        res = <optimized out>
#20 0x00007f759be7e6ab in run_eval_code_obj (tstate=tstate@entry=0x7f759c196af8 <_PyRuntime+166328>, co=co@entry=0x561f639b6a50, 
    globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}, 
    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}) at Python/pythonrun.c:1741
        v = <optimized out>
#21 0x00007f759be7e775 in run_mod (mod=mod@entry=0x561f639baae0, 
    filename=filename@entry='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', 
    globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}, 
    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}, flags=flags@entry=0x7ffd01c1f8a8, arena=arena@entry=0x7f759b31b7b0)
    at Python/pythonrun.c:1762
        tstate = 0x7f759c196af8 <_PyRuntime+166328>
        co = 0x561f639b6a50
        v = <optimized out>
#22 0x00007f759be7e825 in pyrun_file (fp=fp@entry=0x561f639551b0, 
    filename=filename@entry='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', start=start@entry=257, 
    globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}, 
    locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}, closeit=closeit@entry=1, flags=0x7ffd01c1f8a8)
    at Python/pythonrun.c:1657
        arena = 0x7f759b31b7b0
        mod = 0x561f639baae0
        ret = <optimized out>
#23 0x00007f759be815ec in _PyRun_SimpleFileObject (fp=fp@entry=0x561f639551b0, 
    filename=filename@entry='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', closeit=closeit@entry=1, 
    flags=flags@entry=0x7ffd01c1f8a8) at Python/pythonrun.c:440
        m = <module at remote 0x7f759b3fcb30>
        d = {'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py') at remote 0x7f759b3f8b50>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f759b388a90>, '__file__': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', '__cached__': None, 'os': <module at remote 0x7f759b3fccc0>, 'sys': <module at remote 0x7f759b37aca0>, 'path': '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5', 'autogen': <module at remote 0x7f759b24e110>, 'cypari2': <module at remote 0x7f759b1ca700>, 'doctest': <module at remote 0x7f759b2fbc90>, 'pari': <cypari2.pari_instance.Pari at remote 0x7f7599bff140>, 'failed': 0, 'attempted': 0, 'mod': <module at remote 0x7f7599c01300>}
        v = <optimized out>
        set_file_name = 1
        ret = -1
        pyc = <optimized out>
#24 0x00007f759be81787 in _PyRun_AnyFileObject (fp=fp@entry=0x561f639551b0, 
    filename=filename@entry='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', closeit=closeit@entry=1, 
    flags=flags@entry=0x7ffd01c1f8a8) at Python/pythonrun.c:79
        decref_filename = 0
        res = <optimized out>
#25 0x00007f759be9f6e6 in pymain_run_file_obj (program_name=program_name@entry='python3.11', 
    filename=filename@entry='/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py', skip_source_first_line=0)
    at Modules/main.c:360
        fp = 0x561f639551b0
        sb = {st_dev = 96, st_ino = 537741, st_nlink = 1, st_mode = 33261, st_uid = 250, st_gid = 250, __pad0 = 0, st_rdev = 0, 
          st_size = 1370, st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1720270782, tv_nsec = 211345462}, st_mtim = {
            tv_sec = 1711305759, tv_nsec = 0}, st_ctim = {tv_sec = 1720270713, tv_nsec = 883124943}, __glibc_reserved = {0, 0, 0}}
        cf = {cf_flags = 0, cf_feature_version = 11}
        run = <optimized out>
#26 0x00007f759be9f804 in pymain_run_file (config=config@entry=0x7f759c17cb40 <_PyRuntime+59904>) at Modules/main.c:379
        filename = '/tmp/portage/dev-python/cypari2-2.1.5/work/cypari2-2.1.5/tests/rundoctest.py'
        program_name = 'python3.11'
        res = <optimized out>
#27 0x00007f759be9ff41 in pymain_run_python (exitcode=exitcode@entry=0x7ffd01c1fa04) at Modules/main.c:601
        main_importer_path = 0x0
        interp = 0x7f759c17c778 <_PyRuntime+58936>
        config = 0x7f759c17cb40 <_PyRuntime+59904>
#28 0x00007f759bea019c in Py_RunMain () at Modules/main.c:680
        exitcode = 0
#29 0x00007f759bea0219 in pymain_main (args=args@entry=0x7ffd01c1fa60) at Modules/main.c:710
        status = {_type = _PyStatus_TYPE_OK, func = 0x0, err_msg = 0x0, exitcode = 0}
#30 0x00007f759bea02f0 in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:734
        args = {argc = 2, use_bytes_argv = 1, bytes_argv = 0x7ffd01c1fbb8, wchar_argv = 0x0}
#31 0x0000561f3761f186 in main (argc=<optimized out>, argv=<optimized out>) at ./Programs/python.c:15
No locals.

Cython backtrace
----------------
#0  0x00007f759bb021b0 in wait4 ()
#1  0x00007f759acc78c5 in print_enhanced_backtrace () at /usr/src/debug/dev-python/cysignals-1.11.4-r1/cysignals-1.11.4/build/src/cysignals/implementation.c:672
#2  0x00007f759acc7a05 in sigdie () at /usr/src/debug/dev-python/cysignals-1.11.4-r1/cysignals-1.11.4/build/src/cysignals/implementation.c:698
#3  0x00007f759acc7a75 in sigdie_for_sig () at /usr/src/debug/dev-python/cysignals-1.11.4-r1/cysignals-1.11.4/build/src/cysignals/implementation.c:252
#4  0x00007f759accf8ba in cysigs_signal_handler () at /usr/src/debug/dev-python/cysignals-1.11.4-r1/cysignals-1.11.4/build/src/cysignals/implementation.c:361
#5  0x0000000000000000 in ?? ()
#6  0x0000000000000000 in ?? ()
#7  0x00007f759ba42800 in raise ()
#8  0x00007f759ba2a823 in abort ()
#9  0x0000000000000000 in ?? ()
#10 0x00007f759ba3ac90 in __assert_fail ()
#11 0x00007f759be2bbc1 in _PyEvalFrameClearAndPop () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/ceval.c:6401
#12 0x00007f759be3ae53 in _PyEval_Vector () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/ceval.c:6439
#13 0x00007f759be3af8d in PyEval_EvalCode () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/ceval.c:1148
#14 0x00007f759be256bb in builtin_exec_impl () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/bltinmodule.c:1077
#15 0x00007f759be25ac9 in builtin_exec () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/clinic/bltinmodule.c.h:465
#16 0x00007f759be2d774 in _PyEval_EvalFrameDefault () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/ceval.c:5091
#17 0x00007f759be3addc in _PyEval_EvalFrame () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/./Include/internal/pycore_ceval.h:73
#18 0x00007f759be3ae53 in _PyEval_Vector () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/ceval.c:6434
#19 0x00007f759be3af8d in PyEval_EvalCode () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/ceval.c:1148
#20 0x00007f759be7e660 in run_eval_code_obj () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/pythonrun.c:1741
#21 0x00007f759be7e70c in run_mod () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/pythonrun.c:1762
#22 0x00007f759be7e7a2 in pyrun_file () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/pythonrun.c:1657
#23 0x00007f759be813c3 in _PyRun_SimpleFileObject () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/pythonrun.c:440
#24 0x00007f759be816fb in _PyRun_AnyFileObject () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Python/pythonrun.c:79
#25 0x00007f759be9f61c in pymain_run_file_obj () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Modules/main.c:360
#26 0x00007f759be9f7b6 in pymain_run_file () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Modules/main.c:379
#27 0x00007f759be9fdb4 in pymain_run_python () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Modules/main.c:601
#28 0x00007f759bea0172 in Py_RunMain () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Modules/main.c:680
#29 0x00007f759bea01e9 in pymain_main () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Modules/main.c:710
#30 0x00007f759bea02b3 in Py_BytesMain () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/Modules/main.c:734
#31 0x0000561f3761f179 in main () at /usr/src/debug/dev-lang/python-3.11.9-r1/Python-3.11.9/./Programs/python.c:15

[Inferior 1 (process 62) detached]
warning: opening /proc/PID/mem file for lwp 62.62 failed: Permission denied (13)
warning: opening /proc/self/mem file failed: Permission denied (13)