Tim Peters added the comment:

Hmm.  Looks like it's dying in gcmodule.c's visit_decref(), here:

    if (PyObject_IS_GC(op)) {

So it may or may not trigger depending on the vagaries of when cyclic gc runs.  
For op, op->_ob_next, _ob_prev, ob_refcnt, and ob_type are all 0xdddddddd.  
That doesn't look good - LOL ;-)

Here's the call stack:

>       python34_d.dll!visit_decref(_object * op, void * data)  Line 373 + 0x6 
> bytes    C
        python34_d.dll!tupletraverse(PyTupleObject * o, int (_object *, void 
*)* visit, void * arg)  Line 564 + 0x1f bytes      C
        python34_d.dll!subtract_refs(_gc_head * containers)  Line 400 + 0x11 
bytes      C
        python34_d.dll!collect(int generation, int * n_collected, int * 
n_uncollectable, int nofail)  Line 957 + 0x9 bytes      C
        python34_d.dll!collect_with_callback(int generation)  Line 1128 + 0x13 
bytes    C
        python34_d.dll!collect_generations()  Line 1151 + 0x9 bytes     C
        python34_d.dll!_PyObject_GC_Malloc(unsigned int basicsize)  Line 1740   
C
        python34_d.dll!_PyObject_GC_New(_typeobject * tp)  Line 1749 + 0xc 
bytes        C
        python34_d.dll!mbuf_alloc()  Line 68 + 0xa bytes        C
        python34_d.dll!_PyManagedBuffer_FromObject(_object * base)  Line 84 + 
0x5 bytes C
        python34_d.dll!PyMemoryView_FromObject(_object * v)  Line 789 + 0x9 
bytes       C
        python34_d.dll!bytesio_getbuffer(bytesio * self)  Line 220 + 0x9 bytes  
C
        python34_d.dll!call_function(_object * * * pp_stack, int oparg)  Line 
4208 + 0x16 bytes C
        python34_d.dll!PyEval_EvalFrameEx(_frame * f, int throwflag)  Line 2828 
C
        python34_d.dll!PyEval_EvalCodeEx(_object * _co, _object * globals, 
_object * locals, _object * * args, int argcount, _object * * kws, int kwcount, 
_object * * defs, int defcount, _object * kwdefs, _object * closure)  Line 3576 
+ 0xb bytes  C
        python34_d.dll!fast_function(_object * func, _object * * * pp_stack, 
int n, int na, int nk)  Line 4335 + 0x38 bytes     C
        python34_d.dll!call_function(_object * * * pp_stack, int oparg)  Line 
4250 + 0x15 bytes C
        python34_d.dll!PyEval_EvalFrameEx(_frame * f, int throwflag)  Line 2828 
C
        python34_d.dll!PyEval_EvalCodeEx(_object * _co, _object * globals, 
_object * locals, _object * * args, int argcount, _object * * kws, int kwcount, 
_object * * defs, int defcount, _object * kwdefs, _object * closure)  Line 3576 
+ 0xb bytes  C
        python34_d.dll!function_call(_object * func, _object * arg, _object * 
kw)  Line 638 + 0x41 bytes        C
        python34_d.dll!PyObject_Call(_object * func, _object * arg, _object * 
kw)  Line 2087 + 0xf bytes        C
        python34_d.dll!ext_do_call(_object * func, _object * * * pp_stack, int 
flags, int na, int nk)  Line 4549 + 0x8 bytes    C
        python34_d.dll!PyEval_EvalFrameEx(_frame * f, int throwflag)  Line 2869 
C
        python34_d.dll!fast_function(_object * func, _object * * * pp_stack, 
int n, int na, int nk)  Line 4323  C
        python34_d.dll!call_function(_object * * * pp_stack, int oparg)  Line 
4250 + 0x15 bytes C
        python34_d.dll!PyEval_EvalFrameEx(_frame * f, int throwflag)  Line 2828 
C
        python34_d.dll!fast_function(_object * func, _object * * * pp_stack, 
int n, int na, int nk)  Line 4323  C
        python34_d.dll!call_function(_object * * * pp_stack, int oparg)  Line 
4250 + 0x15 bytes C
        python34_d.dll!PyEval_EvalFrameEx(_frame * f, int throwflag)  Line 2828 
C
        python34_d.dll!PyEval_EvalCodeEx(_object * _co, _object * globals, 
_object * locals, _object * * args, int argcount, _object * * kws, int kwcount, 
_object * * defs, int defcount, _object * kwdefs, _object * closure)  Line 3576 
+ 0xb bytes  C
        python34_d.dll!function_call(_object * func, _object * arg, _object * 
kw)  Line 638 + 0x41 bytes        C
        python34_d.dll!PyObject_Call(_object * func, _object * arg, _object * 
kw)  Line 2087 + 0xf bytes        C
        python34_d.dll!method_call(_object * func, _object * arg, _object * kw) 
 Line 347 + 0x11 bytes  C
        python34_d.dll!PyObject_Call(_object * func, _object * arg, _object * 
kw)  Line 2087 + 0xf bytes        C
        python34_d.dll!PyEval_CallObjectWithKeywords(_object * func, _object * 
arg, _object * kw)  Line 4102    C
        python34_d.dll!t_bootstrap(void * boot_raw)  Line 1000 + 0x1a bytes     
C
        python34_d.dll!bootstrap(void * call)  Line 175 + 0x7 bytes     C
        msvcr100d.dll!_callthreadstartex()  Line 314 + 0xf bytes        C
        msvcr100d.dll!_threadstartex(void * ptd)  Line 297      C
        kernel32.dll!76fdd2e9()         
        [Frames below may be incorrect and/or missing, no symbols loaded for 
kernel32.dll]      
        ntdll.dll!77181603()    
        ntdll.dll!771815d6()

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19779>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to