[ create a new paste ] login | about

Link: http://codepad.org/bFYt6G2Y    [ raw code | fork ]

Plain Text, pasted on Jul 12:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb74e8700 (LWP 19834)]
0x00007fff013a2f50 in ?? ()
(gdb) bt full
#0  0x00007fff013a2f50 in ?? ()
No symbol table info available.
#1  0x00007fffd08e1e46 in meth_QgsVectorDataProvider_getFeatures (sipSelf=
    <QgsVectorDataProvider at remote 0x4b45a70>, sipArgs=
    (<QgsFeatureRequest at remote 0x4ca54d0>,), sipKwds=0x0)
    at /home/sam/pacchetti_gis/Quantum-GIS/build-master/python/core/sipcorepart2.cpp:124357
        _save = 0x53eec80
        sipRes = 0x72
        a0def = @0x7fffb74e73b0: {mFilter = QgsFeatureRequest::FilterNone, mFilterRect = {
            xmin = 0, ymin = 0, xmax = 0, ymax = 0}, mFilterFid = 80368848, mFlags = {i = 0}, 
          mAttrs = {{p = {static shared_null = {ref = {_q_value = 8072}, alloc = 0, begin = 0, 
                  end = 0, sharable = 1, array = {0x0}}, d = 0xe2e6a0}, d = 0xe2e6a0}}}
        a0 = 0x7fffb87c7660
        sipCpp = 0x37cc580
        sipKwdList = {0x7fffd0a01dfe "request"}
        sipParseErr = 0x0
        sipOrigSelf = <QgsVectorDataProvider at remote 0x4b45a70>
#2  0x00007fffd1e9d422 in call_function (oparg=<optimized out>, pp_stack=0x7fffb74e7620)
    at ../Python/ceval.c:4021
        callargs = (<QgsFeatureRequest at remote 0x4ca54d0>,)
        flags = <optimized out>
        tstate = <optimized out>
        func = <built-in method getFeatures of QgsVectorDataProvider object at remote 0x4b45a70>
        w = <optimized out>
        na = <optimized out>
        nk = <optimized out>
        n = 1
---Type <return> to continue, or q <return> to quit---
        pfunc = 0x504c6e0
        x = <optimized out>
#3  PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
        sp = 0x504c6e8
        stack_pointer = <optimized out>
        next_instr = 0x37d5abf "j\030"
        opcode = <optimized out>
        oparg = <optimized out>
        why = WHY_NOT
        err = 0
        x = <optimized out>
        v = <optimized out>
        w = <optimized out>
        u = <optimized out>
        t = <optimized out>
        stream = 0x0
        fastlocals = <optimized out>
        freevars = <optimized out>
        retval = 0x0
        tstate = <optimized out>
        co = 0x35ca730
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr = 0x37d5814 "t"
        names = 
    ('True', 'vlayerA', 'dataProvider', 'vlayerB', 'crs', 'isValid', 'None', 'ftools_utils', 'combi---Type <return> to continue, or q <return> to quit---
neVectorFields', 'checkFieldNameLength', 'tr', 'join', 'QgsVectorFileWriter', 'myName', 'myEncoding', 'geometryType', 'hasError', 'errorMessage', 'QgsFeature', 'createIndex', 'featureCount', 'emit', 'SIGNAL', 'getFeatures', 'nextFeature', 'False', 'QgsGeometry', 'geometry', 'attributes', 'intersects', 'boundingBox', 'len', 'setGeometry', 'setAttributes', 'addFeature', 'QgsFeatureRequest', 'setFilterFid', 'int', 'intersection', 'difference', 'wkbType', 'asGeometryCollection', 'type', 'extend', 'Exception', 'getGeomType', 'fields', 'dict', 'zip', 'range')
        consts = 
    (None, 'Following field names are longer than 10 characters:\n%s', '\n', 'runStatus(PyQt_PyObject)', 0, 'runRange(PyQt_PyObject)', 1)
        exit = '__exit__'
        enter = '__enter__'
#4  0x00007fffd1e9d4cb in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=
    0x7fffb74e7860, func=<function at remote 0x35d00c8>) at ../Python/ceval.c:4107
        retval = 0x0
        i = <optimized out>
        fastlocals = <optimized out>
        f = <optimized out>
        tstate = 0x53eec80
        stack = <optimized out>
        co = <optimized out>
        nd = 0
        globals = <optimized out>
        argdefs = <optimized out>
        d = 0x0
#5  call_function (oparg=<optimized out>, pp_stack=0x7fffb74e7860) at ../Python/ceval.c:4042
        func = <function at remote 0x35d00c8>
        w = <optimized out>
---Type <return> to continue, or q <return> to quit---
        na = <optimized out>
        nk = <optimized out>
        n = 1
        pfunc = 0x4946dd8
        x = <optimized out>
#6  PyEval_EvalFrameEx (f=f@entry=
    Frame 0x4946c30, for file /usr/local/share/qgis/python/plugins/fTools/tools/doGeoprocessing.py, line 310, in run (self=<geoprocessingThread(myFunction=6, mySelectionA=<CheckState at remote 0x4b1acb0>, mySelectionB=<CheckState at remote 0x4b1a050>, myEncoding=u'System', parent=<GeoprocessingDialog(buttonOk=<QPushButton at remote 0x4b45b90>, encoding=u'System', label_4=<QLabel at remote 0x4b450e0>, hboxlayout1=<QHBoxLayout at remote 0x4b21d40>, hboxlayout2=<QHBoxLayout at remote 0x4b21f80>, hboxlayout3=<QHBoxLayout at remote 0x4b45290>, hboxlayout4=<QHBoxLayout at remote 0x4b45560>, label_1=<QLabel at remote 0x4b217a0>, label_2=<QLabel at remote 0x4b21a70>, useSelectedB=<QCheckBox at remote 0x4b21c20>, useSelectedA=<QCheckBox at remote 0x4b21950>, iface=<QgisInterface at remote 0x1aacd40>, param=<QLineEdit at remote 0x4b21e60>, lblSegments=<QLabel at remote 0x4b458c0>, shapefileName=u'/home/sam/Scaricati/data/diff.shp', testThread=<...>, myFunction=6, verticalLayout_2=<QVBoxLayout at remote 0x4b21b90>, cancel_c...(truncated), throwflag=throwflag@entry=0)
    at ../Python/ceval.c:2666
        sp = 0x4946de0
        stack_pointer = <optimized out>
        next_instr = 0x35af113 "\\\004"
        opcode = <optimized out>
        oparg = <optimized out>
        why = WHY_NOT
        err = 0
        x = <optimized out>
        v = <optimized out>
---Type <return> to continue, or q <return> to quit---
        w = <optimized out>
        u = <optimized out>
        t = <optimized out>
        stream = 0x0
        fastlocals = 0x4946da8
        freevars = 0x4946dd8
        retval = 0x0
        tstate = <optimized out>
        co = 0x35ca330
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr = 0x35aef84 "t"
        names = 
    ('True', 'running', 'ftools_utils', 'getVectorLayerByName', 'myLayerA', 'vlayerA', 'None', 'myFunction', 'checkParameter', 'myParam', 'buffering', 'convex_hull', 'dissolve', 'myLayerB', 'vlayerB', 'difference', 'intersect', 'union', 'symetrical_difference', 'clip', 'emit', 'SIGNAL')
        consts = 
    (None, 1, 2, 4, 3, 5, 6, 7, 8, 'runFinished(PyQt_PyObject)', 'runStatus(PyQt_PyObject)', 0)
        exit = '__exit__'
        enter = '__enter__'
#7  0x00007fffd1e9e2e8 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, 
    locals=locals@entry=0x0, args=args@entry=0x34ce8e8, argcount=1, kws=kws@entry=0x0, 
    kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0)
    at ../Python/ceval.c:3253
        f = <optimized out>
        retval = 0x0
---Type <return> to continue, or q <return> to quit---
        fastlocals = <optimized out>
        freevars = <optimized out>
        tstate = 0x53eec80
        x = <optimized out>
        u = <optimized out>
#8  0x00007fffd1ef4806 in function_call (func=<function at remote 0x35c9cf8>, arg=
    (<geoprocessingThread(myFunction=6, mySelectionA=<CheckState at remote 0x4b1acb0>, mySelectionB=<CheckState at remote 0x4b1a050>, myEncoding=u'System', parent=<GeoprocessingDialog(buttonOk=<QPushButton at remote 0x4b45b90>, encoding=u'System', label_4=<QLabel at remote 0x4b450e0>, hboxlayout1=<QHBoxLayout at remote 0x4b21d40>, hboxlayout2=<QHBoxLayout at remote 0x4b21f80>, hboxlayout3=<QHBoxLayout at remote 0x4b45290>, hboxlayout4=<QHBoxLayout at remote 0x4b45560>, label_1=<QLabel at remote 0x4b217a0>, label_2=<QLabel at remote 0x4b21a70>, useSelectedB=<QCheckBox at remote 0x4b21c20>, useSelectedA=<QCheckBox at remote 0x4b21950>, iface=<QgisInterface at remote 0x1aacd40>, param=<QLineEdit at remote 0x4b21e60>, lblSegments=<QLabel at remote 0x4b458c0>, shapefileName=u'/home/sam/Scaricati/data/diff.shp', testThread=<...>, myFunction=6, verticalLayout_2=<QVBoxLayout at remote 0x4b21b90>, cancel_close=<QPushButton at remote 0x4b45b00>, horizontalLayout=<QHBoxLayout at remote 0x4b45830>, rdoField=<QRadioButton at ...(truncated), kw=0x0) at ../Objects/funcobject.c:526
        result = <optimized out>
        argdefs = <optimized out>
        kwtuple = 0x0
        d = 0x0
        k = 0x0
        nk = 0
        nd = 0
#9  0x00007fffd1f83d3e in PyObject_Call (func=func@entry=<function at remote 0x35c9cf8>, 

    arg=arg@entry=
    (<geoprocessingThread(myFunction=6, mySelectionA=<CheckState at remote 0x4b1acb0>, mySelectionB---Type <return> to continue, or q <return> to quit---
=<CheckState at remote 0x4b1a050>, myEncoding=u'System', parent=<GeoprocessingDialog(buttonOk=<QPushButton at remote 0x4b45b90>, encoding=u'System', label_4=<QLabel at remote 0x4b450e0>, hboxlayout1=<QHBoxLayout at remote 0x4b21d40>, hboxlayout2=<QHBoxLayout at remote 0x4b21f80>, hboxlayout3=<QHBoxLayout at remote 0x4b45290>, hboxlayout4=<QHBoxLayout at remote 0x4b45560>, label_1=<QLabel at remote 0x4b217a0>, label_2=<QLabel at remote 0x4b21a70>, useSelectedB=<QCheckBox at remote 0x4b21c20>, useSelectedA=<QCheckBox at remote 0x4b21950>, iface=<QgisInterface at remote 0x1aacd40>, param=<QLineEdit at remote 0x4b21e60>, lblSegments=<QLabel at remote 0x4b458c0>, shapefileName=u'/home/sam/Scaricati/data/diff.shp', testThread=<...>, myFunction=6, verticalLayout_2=<QVBoxLayout at remote 0x4b21b90>, cancel_close=<QPushButton at remote 0x4b45b00>, horizontalLayout=<QHBoxLayout at remote 0x4b45830>, rdoField=<QRadioButton at ...(truncated), kw=kw@entry=0x0)
    at ../Objects/abstract.c:2529
        result = <optimized out>
        call = 0x7fffd1ef4750 <function_call>
#10 0x00007fffd1fd2810 in instancemethod_call.8774 (func=<function at remote 0x35c9cf8>, arg=
    (<geoprocessingThread(myFunction=6, mySelectionA=<CheckState at remote 0x4b1acb0>, mySelectionB=<CheckState at remote 0x4b1a050>, myEncoding=u'System', parent=<GeoprocessingDialog(buttonOk=<QPushButton at remote 0x4b45b90>, encoding=u'System', label_4=<QLabel at remote 0x4b450e0>, hboxlayout1=<QHBoxLayout at remote 0x4b21d40>, hboxlayout2=<QHBoxLayout at remote 0x4b21f80>, hboxlayout3=<QHBoxLayout at remote 0x4b45290>, hboxlayout4=<QHBoxLayout at remote 0x4b45560>, label_1=<QLabel at remote 0x4b217a0>, label_2=<QLabel at remote 0x4b21a70>, useSelectedB=<QCheckBox at remote 0x4b21c20>, useSelectedA=<QCheckBox at remote 0x4b21950>, iface=<QgisInterface at remote 0x1aacd40>, param=<QLineEdit at remote 0x4b21e60>, lblSegments=<QLabel at remote 0x4b458c0>, shapefileName=u'/home/sam/Scaricati/data/diff.shp', testThread=<...>, myFunction=6, verticalLayout_2=<QVBoxLayout at remote 0x4b21b90>, cancel_close=<QPushButton at remote 0x4b45b00>, horizontalLayout=<QHBoxLayout at remote 0x4b45830>, rdoField=<QRadioButton at ...(truncated), kw=0x0) at ../Objects/classobject.c:2602

        self = 
    <geoprocessingThread(myFunction=6, mySelectionA=<CheckState at remote 0x4b1acb0>, mySelectionB=---Type <return> to continue, or q <return> to quit---
<CheckState at remote 0x4b1a050>, myEncoding=u'System', parent=<GeoprocessingDialog(buttonOk=<QPushButton at remote 0x4b45b90>, encoding=u'System', label_4=<QLabel at remote 0x4b450e0>, hboxlayout1=<QHBoxLayout at remote 0x4b21d40>, hboxlayout2=<QHBoxLayout at remote 0x4b21f80>, hboxlayout3=<QHBoxLayout at remote 0x4b45290>, hboxlayout4=<QHBoxLayout at remote 0x4b45560>, label_1=<QLabel at remote 0x4b217a0>, label_2=<QLabel at remote 0x4b21a70>, useSelectedB=<QCheckBox at remote 0x4b21c20>, useSelectedA=<QCheckBox at remote 0x4b21950>, iface=<QgisInterface at remote 0x1aacd40>, param=<QLineEdit at remote 0x4b21e60>, lblSegments=<QLabel at remote 0x4b458c0>, shapefileName=u'/home/sam/Scaricati/data/diff.shp', testThread=<...>, myFunction=6, verticalLayout_2=<QVBoxLayout at remote 0x4b21b90>, cancel_close=<QPushButton at remote 0x4b45b00>, horizontalLayout=<QHBoxLayout at remote 0x4b45830>, rdoField=<QRadioButton at r...(truncated)
        klass = <optimized out>
        result = <optimized out>
#11 0x00007fffd1f83d3e in PyObject_Call (func=func@entry=<instancemethod at remote 0x3bea410>, 
    arg=arg@entry=(), kw=<optimized out>) at ../Objects/abstract.c:2529
        result = <optimized out>
        call = 0x7fffd1fd2780 <instancemethod_call.8774>
#12 0x00007fffd1f84647 in PyEval_CallObjectWithKeywords (func=
    <instancemethod at remote 0x3bea410>, arg=(), kw=<optimized out>) at ../Python/ceval.c:3890
        result = <optimized out>
#13 0x00007fffd1c3a102 in ?? () from /usr/lib/python2.7/dist-packages/sip.so
No symbol table info available.
#14 0x00007fffd184e887 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
No symbol table info available.
#15 0x00007fffd188f7b0 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
No symbol table info available.
#16 0x00007ffff33ebd0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#17 0x00007ffff021bb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#18 0x00007ffff050ba7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#19 0x0000000000000000 in ?? ()
No symbol table info available.



(gdb) py-bt
#3 (frame information optimized out)
#6 Frame 0x4946c30, for file /usr/local/share/qgis/python/plugins/fTools/tools/doGeoprocessing.py, line 310, in run (self=<geoprocessingThread(myFunction=6, mySelectionA=<CheckState at remote 0x4b1acb0>, mySelectionB=<CheckState at remote 0x4b1a050>, myEncoding=u'System', parent=<GeoprocessingDialog(buttonOk=<QPushButton at remote 0x4b45b90>, encoding=u'System', label_4=<QLabel at remote 0x4b450e0>, hboxlayout1=<QHBoxLayout at remote 0x4b21d40>, hboxlayout2=<QHBoxLayout at remote 0x4b21f80>, hboxlayout3=<QHBoxLayout at remote 0x4b45290>, hboxlayout4=<QHBoxLayout at remote 0x4b45560>, label_1=<QLabel at remote 0x4b217a0>, label_2=<QLabel at remote 0x4b21a70>, useSelectedB=<QCheckBox at remote 0x4b21c20>, useSelectedA=<QCheckBox at remote 0x4b21950>, iface=<QgisInterface at remote 0x1aacd40>, param=<QLineEdit at remote 0x4b21e60>, lblSegments=<QLabel at remote 0x4b458c0>, shapefileName=u'/home/sam/Scaricati/data/diff.shp', testThread=<...>, myFunction=6, verticalLayout_2=<QVBoxLayout at remote 0x4b21b90>, cancel_c...(truncated)
    geos, feature, match, error = self.union()



Create a new paste based on this one


Comments: