This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients xdegaye
Date 2017-06-30.14:19:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498832371.19.0.0580869338001.issue30817@psf.upfronthosting.co.za>
In-reply-to
Content
To reproduce the abort (the set_nomemory() function is being added to _testcapi in issue 30695):

$ ./python memerr.py
python: Objects/call.c:89: _PyObject_FastCallDict: Assertion `!PyErr_Occurred()' failed.
Aborted (core dumped)

The corresponding backtrace:

#0  0x00007ffff7131670 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff7132d00 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff712a45a in __assert_fail_base () from /usr/lib/libc.so.6
#3  0x00007ffff712a4d2 in __assert_fail () from /usr/lib/libc.so.6
#4  0x00000000004628ce in _PyObject_FastCallDict (
    callable=<built-in method excepthook of module object at remote 0x7ffff70ab8d8>,
    args=args@entry=0x7fffffffe330, nargs=nargs@entry=3, kwargs=kwargs@entry=0x0)
    at Objects/call.c:89
#5  0x0000000000426004 in PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars@entry=1)
    at Python/pythonrun.c:641
#6  0x00000000004263ac in PyErr_Print () at Python/pythonrun.c:510
#7  0x0000000000427586 in PyRun_SimpleFileExFlags (fp=fp@entry=0x987620, filename=<optimized out>,
    filename@entry=0x7ffff6febcd0 "memerr.py", closeit=closeit@entry=1,
    flags=flags@entry=0x7fffffffe4cc) at Python/pythonrun.c:403
#8  0x0000000000427673 in PyRun_AnyFileExFlags (fp=fp@entry=0x987620,
    filename=0x7ffff6febcd0 "memerr.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffe4cc)
    at Python/pythonrun.c:82
#9  0x0000000000437217 in run_file (fp=fp@entry=0x987620, filename=0x91a190 L"memerr.py",
    p_cf=p_cf@entry=0x7fffffffe4cc) at Modules/main.c:341
#10 0x0000000000437bae in Py_Main (argc=argc@entry=2, argv=argv@entry=0x918020)
    at Modules/main.c:901
#11 0x000000000041d7fa in main (argc=2, argv=0x7fffffffe6c8) at ./Programs/python.c:102
History
Date User Action Args
2017-06-30 14:19:31xdegayesetrecipients: + xdegaye
2017-06-30 14:19:31xdegayesetmessageid: <1498832371.19.0.0580869338001.issue30817@psf.upfronthosting.co.za>
2017-06-30 14:19:31xdegayelinkissue30817 messages
2017-06-30 14:19:30xdegayecreate