New submission from dubobo <dubo...@126.com>:

(gdb) bt
#0  0x00007f425a19a1d7 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f425a19b8c8 in __GI_abort () at abort.c:90
#2  0x00007f425a1d9f07 in __libc_message (do_abort=do_abort@entry=2,
    fmt=0x7f425a2e4b48 "type=\"total\" size=\"%zu\"/>\n<aspace 
type=\"mprotect\" size=\"%zu\"/>\n",
    fmt@entry=0x7f425a2e4b88 "*** Error in `%s': %s: 0x%s ***\n") at 
../sysdeps/unix/sysv/linux/libc_fatal.c:196
#3  0x00007f425a1dfda4 in malloc_printerr (action=<optimized out>, 
str=0x7f425a2e21f7 "=\"%d\">\n<sizes>\n", ptr=<optimized out>,
    ar_ptr=<optimized out>) at malloc.c:5013
#4  0x00007f425a1e1595 in _int_free (av=0x7f41c4000020, p=0x7f41c4001e10, 
have_lock=0) at malloc.c:3993
#5  0x00007f425a1cfbd5 in _IO_new_fclose (fp=0x7f41c4001e20) at iofclose.c:85
#6  0x00007f425aeb1f79 in close_the_file (f=f@entry=0x347cb70) at 
/usr/src/debug/Python-2.7.5/Objects/fileobject.c:456
#7  0x00007f425aeb1fce in file_close (f=0x347cb70) at 
/usr/src/debug/Python-2.7.5/Objects/fileobject.c:671
#8  0x00007f425ae968e3 in PyObject_Call (func=func@entry=<built-in method close 
of file object at remote 0x347cb70>, arg=arg@entry=(), kw=kw@entry=0x0)
    at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529
#9  0x00007f425ae969c5 in call_function_tail (callable=<built-in method close 
of file object at remote 0x347cb70>, args=())
    at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2561
#10 0x00007f425ae96eab in _PyObject_CallMethod_SizeT (o=<optimized out>, 
name=name@entry=0x7f425af99d0f "close", format=format@entry=0x0)
    at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2677
#11 0x00007f425aeb2084 in file_exit (f=<optimized out>, args=<optimized out>) 
at /usr/src/debug/Python-2.7.5/Objects/fileobject.c:2011
#12 0x00007f425ae968e3 in PyObject_Call (func=func@entry=<built-in method 
__exit__ of file object at remote 0x347cb70>,
    arg=arg@entry=(None, None, None), kw=kw@entry=0x0) at 
/usr/src/debug/Python-2.7.5/Objects/abstract.c:2529
#13 0x00007f425ae971dc in PyObject_CallFunctionObjArgs 
(callable=callable@entry=<built-in method __exit__ of file object at remote 
0x347cb70>)
    at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2760
#14 0x00007f425af2d0d4 in PyEval_EvalFrameEx (
    f=f@entry=Frame 0x7f4128005da0, for file 
/home/xiaoju/kvmagent/virtualenv/kvm/lib/python2.7/site-packages/kvmagent/plugins/localstorage.py,
 line 351, in _get_ebs_secret_file (vm_uuid='cf4987283d1f552ea3674c4b5ce6f1f2', 
secret_uuid='3cee270a485c40028caa4e02d6b54184', 
virt_driver=<LibvirtDriver(conn=<virConnect(_o=None) at remote 0x3b72610>) at 
remote 0x300d4d0>, 
secret_file='/tmp/vm_secret_cf4987283d1f552ea3674c4b5ce6f1f2', 
secret_info='[client.zstack]\n\tkey = 
AQCUlLtaYjfwDBAAnSbERbsuMUrzT8+hNBjtPw==\n', f=<file at remote 0x347cb70>), 
throwflag=throwflag@entry=0)
    at /usr/src/debug/Python-2.7.5/Python/ceval.c:3001
#15 0x00007f425af31e3d in PyEval_EvalCodeEx (co=<optimized out>, 
globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, 
argcount=2,
    kws=0x7f411000c7c0, kwcount=0, defs=0x3b8c2a8, defcount=2, 
closure=closure@entry=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3640
#16 0x00007f425af2f33c in fast_function (nk=<optimized out>, na=<optimized 
out>, n=<optimized out>, pp_stack=0x7f4133ffdb60, func=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/debug/Python-2.7.5/Python/ceval.c:4504
#17 call_function (oparg=<optimized out>, pp_stack=0x7f4133ffdb60) at 
/usr/src/debug/Python-2.7.5/Python/ceval.c:4429




py-bt:
ebs_secret_file (vm_uuid='cf4987283d1f552ea3674c4b5ce6f1f2', 
secret_uuid='3cee270a485c40028caa4e02d6b54184', 
virt_driver=<LibvirtDriver(conn=<virConnect(_o=None) at remote 0x3b72610>) at 
remote 0x300d4d0>, 
secret_file='/tmp/vm_secret_cf4987283d1f552ea3674c4b5ce6f1f2', 
secret_info='[client.zstack]\n\tkey = AQCUlLtaYjfwDBAAn==\n', f=<file at remote 
0x347cb70>)
    with open(secret_file, 'w') as f:

----------
messages: 3539
nosy: dubobo
priority: critical
status: unread
title: python with keyword operation coredump
topic: crash

_______________________________________________________
PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue665>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
https://mail.python.org/mailman/listinfo/tracker-discuss
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to