[SciPy-Dev] segfault in test_qhull.TestRidgeIter2D.test_complicated

Zbyszek Szmek zbyszek@in.waw...
Sun Nov 14 17:02:56 CST 2010


Hi,
I'm getting a segfault when running scipy.test()...

scipy: trunk@6894
numpy: git tip (a07ac0f ENH: Add '-' to separate git hash in version.)
python: 3.1 (Python 3.1.2 (release31-maint, Sep 26 2010, 16:45:30) [GCC 4.4.5] on linux2)
       or 3.2 (from current hg)

The backtrace is pretty impressive :)

> import scipy; scipy.test(verbose=10)
...
test_qhull.TestRidgeIter2D.test_complicated ... 
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2912f5c in qh_setappend (setp=0x48f4f88, newelem=0x48f4e80) at scipy/spatial/qhull/src/qset.c:138
138       *(endp= &((*setp)->e[(*sizep)++ - 1].p))= newelem;


(gdb) bt
#0  0x00007ffff2912f5c in qh_setappend (setp=0x48f4f88, newelem=0x48f4e80) at scipy/spatial/qhull/src/qset.c:138
#1  0x00007ffff290b21f in qh_vertexneighbors () at scipy/spatial/qhull/src/poly2.c:3105
#2  0x00007ffff2932245 in qh_mergefacet (facet1=0x48f4d68, facet2=0x48f5060, mindist=0x0, maxdist=0x0, mergeapex=1) at scipy/spatial/qhull/src/merge.c:2325
#3  0x00007ffff2932678 in qh_mergecycle_all (facetlist=<value optimized out>, wasmerge=0x7fffffff73ac) at scipy/spatial/qhull/src/merge.c:1856
#4  0x00007ffff2933bd0 in qh_premerge (apex=<value optimized out>, maxcentrum=<value optimized out>, maxangle=<value optimized out>) at scipy/spatial/qhull/src/merge.c:70
#5  0x00007ffff291a005 in qh_addpoint (furthest=0x463b668, facet=0x48f5128, checkdist=<value optimized out>) at scipy/spatial/qhull/src/qhull.c:235
#6  0x00007ffff291a3d3 in qh_buildhull () at scipy/spatial/qhull/src/qhull.c:394
#7  0x00007ffff291a9ad in qh_qhull () at scipy/spatial/qhull/src/qhull.c:66
#8  0x00007ffff2913d75 in qh_new_qhull (dim=<value optimized out>, numpoints=<value optimized out>, points=<value optimized out>, ismalloc=<value optimized out>, qhull_cmd=<value optimized out>, 
    outfile=<value optimized out>, errfile=0x7ffff6aff860) at scipy/spatial/qhull/src/user.c:156
#9  0x00007ffff28eec10 in __pyx_pf_5scipy_7spatial_5qhull__construct_delaunay (__pyx_self=<value optimized out>, __pyx_v_points=<value optimized out>) at scipy/spatial/qhull.c:1249
#10 0x0000000000528a97 in PyObject_Call (func=<built-in method _construct_delaunay of module object at remote 0x1d6da28>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#11 0x00007ffff28ecc9b in __pyx_pf_5scipy_7spatial_5qhull_8Delaunay___init__ (__pyx_self=<value optimized out>, __pyx_args=<value optimized out>, __pyx_kwds=<value optimized out>)
    at scipy/spatial/qhull.c:4067
#12 0x0000000000528a97 in PyObject_Call (func=<built-in function __init__>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#13 0x000000000053fbbc in method_call (func=<built-in function __init__>, arg=(<numpy.ndarray at remote 0x48c4970>,), kw=0x0) at ../Objects/classobject.c:319
#14 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x43f9830>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#15 0x00000000004353d8 in slot_tp_init (self=<Delaunay at remote 0x45aa290>, args=(<numpy.ndarray at remote 0x48c4970>,), kwds=0x0) at ../Objects/typeobject.c:5206
#16 0x0000000000429e1f in type_call (type=0x1dba640, args=(<numpy.ndarray at remote 0x48c4970>,), kwds=0x0) at ../Objects/typeobject.c:679
#17 0x0000000000528a97 in PyObject_Call (func=<type at remote 0x1dba640>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#18 0x0000000000465a5e in do_call (f=
    Frame 0x48e6610, for file <__main__.PyUnicodeObjectPtr object at 0x7f1062ae6d10>, line 118, in <__main__.PyUnicodeObjectPtr object at 0x7f1062ae6cd0> (self=<TestRidgeIter2D at remote 0x4429390>, points=<numpy.ndarray at remote 0x48c4970>), throwflag=<value optimized out>) at ../Python/ceval.c:3982
#19 call_function (f=
    Frame 0x48e6610, for file <__main__.PyUnicodeObjectPtr object at 0x7f1062ae6c50>, line 118, in <__main__.PyUnicodeObjectPtr object at 0x7f1062ae6cd0> (self=<TestRidgeIter2D at remote 0x4429390>, points=<numpy.ndarray at remote 0x48c4970>), throwflag=<value optimized out>) at ../Python/ceval.c:3785
#20 PyEval_EvalFrameEx (f=
    Frame 0x48e6610, for file <__main__.PyUnicodeObjectPtr object at 0x7f1062ae6d10>, line 118, in <__main__.PyUnicodeObjectPtr object at 0x7f1062ae6cd0> (self=<TestRidgeIter2D at remote 0x4429390>, points=<numpy.ndarray at remote 0x48c4970>), throwflag=<value optimized out>) at ../Python/ceval.c:2548
#21 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x42310b0, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#22 0x00000000005528b4 in function_call (func=<function at remote 0x422b2f8>, arg=(<TestRidgeIter2D at remote 0x4429390>,), kw=0x0) at ../Objects/funcobject.c:630
#23 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x422b2f8>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#24 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#25 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#26 0x0000000000465b2f in fast_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3850
#27 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3783
#28 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#29 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0xf372b0, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=1, kws=<value optimized out>, kwcount=0, defs=0xfbd5a8, 
    defcount=1, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#30 0x00000000005528b4 in function_call (func=<function at remote 0xfc5958>, arg=, kw={}) at ../Objects/funcobject.c:630
#31 0x0000000000528a97 in PyObject_Call (func=<function at remote 0xfc5958>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#32 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#33 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#34 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0xf37530, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#35 0x00000000005528b4 in function_call (func=<function at remote 0xfc5a68>, arg=, kw=0x0) at ../Objects/funcobject.c:630
#36 0x0000000000528a97 in PyObject_Call (func=<function at remote 0xfc5a68>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#37 0x000000000053fbbc in method_call (func=<function at remote 0xfc5a68>, arg=, kw=0x0) at ../Objects/classobject.c:319
#38 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x43f91b8>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#39 0x0000000000434028 in slot_tp_call (self=, args=, kwds=0x0) at ../Objects/typeobject.c:4946
#40 0x0000000000528a97 in PyObject_Call (func=, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#41 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#42 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#43 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#44 0x0000000000465b2f in fast_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3850
#45 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3783
#46 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#47 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x18ebab0, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#48 0x00000000005528b4 in function_call (func=<function at remote 0x18ffc00>, arg=, kw={}) at ../Objects/funcobject.c:630
#49 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x18ffc00>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#50 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#51 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#52 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1898830, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#53 0x00000000005528b4 in function_call (func=<function at remote 0x18ff738>, arg=, kw=0x0) at ../Objects/funcobject.c:630
#54 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x18ff738>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#55 0x000000000053fbbc in method_call (func=<function at remote 0x18ff738>, arg=, kw=0x0) at ../Objects/classobject.c:319
#56 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x4123f80>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#57 0x0000000000434028 in slot_tp_call (self=, args=, kwds=0x0) at ../Objects/typeobject.c:4946
#58 0x0000000000528a97 in PyObject_Call (func=, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#59 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#60 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#61 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#62 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908c30, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#63 0x00000000005528b4 in function_call (func=<function at remote 0x190aaf0>, arg=, kw={}) at ../Objects/funcobject.c:630
#64 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190aaf0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#65 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#66 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#67 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908b30, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#68 0x00000000005528b4 in function_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/funcobject.c:630
#69 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190a9e0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#70 0x000000000053fbbc in method_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/classobject.c:319
#71 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x44f85a8>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#72 0x0000000000434028 in slot_tp_call (self=, args=, kwds=0x0) at ../Objects/typeobject.c:4946
#73 0x0000000000528a97 in PyObject_Call (func=, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#74 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#75 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#76 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#77 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908c30, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#78 0x00000000005528b4 in function_call (func=<function at remote 0x190aaf0>, arg=, kw={}) at ../Objects/funcobject.c:630
#79 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190aaf0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#80 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#81 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#82 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908b30, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#83 0x00000000005528b4 in function_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/funcobject.c:630
#84 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190a9e0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#85 0x000000000053fbbc in method_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/classobject.c:319
#86 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x4c96bd8>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#87 0x0000000000434028 in slot_tp_call (self=, args=, kwds=0x0) at ../Objects/typeobject.c:4946
#88 0x0000000000528a97 in PyObject_Call (func=, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#89 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#90 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#91 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#92 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908c30, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#93 0x00000000005528b4 in function_call (func=<function at remote 0x190aaf0>, arg=, kw={}) at ../Objects/funcobject.c:630
#94 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190aaf0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#95 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#96 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#97 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908b30, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#98 0x00000000005528b4 in function_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/funcobject.c:630
#99 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190a9e0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#100 0x000000000053fbbc in method_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/classobject.c:319
#101 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x2ddcc20>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#102 0x0000000000434028 in slot_tp_call (self=, args=, kwds=0x0) at ../Objects/typeobject.c:4946
#103 0x0000000000528a97 in PyObject_Call (func=, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#104 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#105 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#106 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#107 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908c30, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#108 0x00000000005528b4 in function_call (func=<function at remote 0x190aaf0>, arg=, kw={}) at ../Objects/funcobject.c:630
#109 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190aaf0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#110 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#111 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#112 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908b30, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#113 0x00000000005528b4 in function_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/funcobject.c:630
#114 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190a9e0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#115 0x000000000053fbbc in method_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/classobject.c:319
#116 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x2ddcb00>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#117 0x0000000000434028 in slot_tp_call (self=, args=, kwds=0x0) at ../Objects/typeobject.c:4946
#118 0x0000000000528a97 in PyObject_Call (func=, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#119 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#120 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#121 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#122 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908c30, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#123 0x00000000005528b4 in function_call (func=<function at remote 0x190aaf0>, arg=, kw={}) at ../Objects/funcobject.c:630
#124 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190aaf0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#125 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#126 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#127 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908b30, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#128 0x00000000005528b4 in function_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/funcobject.c:630
#129 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190a9e0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#130 0x000000000053fbbc in method_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/classobject.c:319
#131 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x27585a8>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#132 0x0000000000434028 in slot_tp_call (self=, args=, kwds=0x0) at ../Objects/typeobject.c:4946
#133 0x0000000000528a97 in PyObject_Call (func=, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#134 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#135 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#136 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#137 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908c30, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#138 0x00000000005528b4 in function_call (func=<function at remote 0x190aaf0>, arg=, kw={}) at ../Objects/funcobject.c:630
#139 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190aaf0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#140 0x000000000046427e in ext_do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:4077
#141 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2589
#142 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1908b30, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#143 0x00000000005528b4 in function_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/funcobject.c:630
#144 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x190a9e0>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#145 0x000000000053fbbc in method_call (func=<function at remote 0x190a9e0>, arg=, kw=0x0) at ../Objects/classobject.c:319
#146 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x29d8e60>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#147 0x0000000000434028 in slot_tp_call (self=, args=, kwds=0x0) at ../Objects/typeobject.c:4946
#148 0x0000000000528a97 in PyObject_Call (func=, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#149 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#150 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#151 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#152 0x0000000000465b2f in fast_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3850
#153 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3783
#154 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#155 0x0000000000465b2f in fast_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3850
#156 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3783
#157 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#158 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0xf52830, globals=<value optimized out>, locals=<value optimized out>, args=0x7, argcount=1, kws=<value optimized out>, kwcount=5, defs=0xf44f70, 
    defcount=6, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#159 0x0000000000465972 in fast_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3860
#160 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3783
#161 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#162 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x1553730, globals=<value optimized out>, locals=<value optimized out>, args=0xb, argcount=1, kws=<value optimized out>, kwcount=3, defs=0x196c8e8, 
    defcount=10, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#163 0x00000000005528b4 in function_call (func=<function at remote 0x196c848>, arg=, kw=) at ../Objects/funcobject.c:630
#164 0x0000000000528a97 in PyObject_Call (func=<function at remote 0x196c848>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#165 0x000000000053fbbc in method_call (func=<function at remote 0x196c848>, arg=(), kw=) at ../Objects/classobject.c:319
#166 0x0000000000528a97 in PyObject_Call (func=<method at remote 0x1a65ab8>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#167 0x00000000004353d8 in slot_tp_init (self=, args=(), kwds=) at ../Objects/typeobject.c:5206
#168 0x0000000000429e1f in type_call (type=0x1b5e650, args=(), kwds=) at ../Objects/typeobject.c:679
#169 0x0000000000528a97 in PyObject_Call (func=<type at remote 0x1b5e650>, arg=<unknown at remote 0x48f4e80>, kw=) at ../Objects/abstract.c:2160
#170 0x0000000000465a5e in do_call (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3982
#171 call_function (f=, throwflag=<value optimized out>) at ../Python/ceval.c:3785
#172 PyEval_EvalFrameEx (f=, throwflag=<value optimized out>) at ../Python/ceval.c:2548
#173 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x100a130, globals=<value optimized out>, locals=<value optimized out>, args=0x6, argcount=1, kws=<value optimized out>, kwcount=1, defs=0xfc4ae8, 
    defcount=5, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#174 0x0000000000465972 in fast_function (f=Frame 0xa9af30, for file <__main__.PyUnicodeObjectPtr object at 0x7f106037cb90>, line 1, in <__main__.PyUnicodeObjectPtr object at 0x7f106037cb10> (), 
    throwflag=<value optimized out>) at ../Python/ceval.c:3860
#175 call_function (f=Frame 0xa9af30, for file <__main__.PyUnicodeObjectPtr object at 0x7f106037c910>, line 1, in <__main__.PyUnicodeObjectPtr object at 0x7f106037cb10> (), 
    throwflag=<value optimized out>) at ../Python/ceval.c:3783
#176 PyEval_EvalFrameEx (f=Frame 0xa9af30, for file <__main__.PyUnicodeObjectPtr object at 0x7f106037cb90>, line 1, in <__main__.PyUnicodeObjectPtr object at 0x7f106037cb10> (), 
    throwflag=<value optimized out>) at ../Python/ceval.c:2548
#177 0x0000000000466ac5 in PyEval_EvalCodeEx (co=0x9e39b0, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=1, kws=<value optimized out>, kwcount=0, defs=0x0, 
    defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3198
#178 0x0000000000466bcb in PyEval_EvalCode (co=0x48f4f88, globals=<unknown at remote 0x48f4e80>, locals=) at ../Python/ceval.c:668
#179 0x0000000000489a20 in run_mod (command=<value optimized out>, flags=<value optimized out>) at ../Python/pythonrun.c:1708
#180 PyRun_StringFlags (command=<value optimized out>, flags=<value optimized out>) at ../Python/pythonrun.c:1642
#181 PyRun_SimpleStringFlags (command=<value optimized out>, flags=<value optimized out>) at ../Python/pythonrun.c:1214
#182 0x000000000049dfa9 in Py_Main (argc=<value optimized out>, argv=<value optimized out>) at ../Modules/main.c:528
#183 0x000000000041d0ae in main (argc=<value optimized out>, argv=<value optimized out>) at ../Modules/python.c:152

(gdb) p **setp
$2 = {maxsize = 0, e = {{p = 0x48f51f0, i = 76501488}}}

The qset code is pretty opaque. I'm posting this here in hope that
somebody who understands the qset code can point me in the right
direction.

Thanks,
Zbyszek


More information about the SciPy-Dev mailing list