Message297408
| 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:31 | xdegaye | set | recipients:
+ xdegaye |
| 2017年06月30日 14:19:31 | xdegaye | set | messageid: <1498832371.19.0.0580869338001.issue30817@psf.upfronthosting.co.za> |
| 2017年06月30日 14:19:31 | xdegaye | link | issue30817 messages |
| 2017年06月30日 14:19:30 | xdegaye | create |
|