rogram received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209026880 (LWP 6478)] 0x0783fa78 in DBFReadAttribute (psDBF=0x0, hEntity=0, iField=0, chReqType=67 'C') at dbfopen.c:936 936 if( hEntity < 0 || hEntity >= psDBF->nRecords ) Current language: auto; currently c (gdb) bt #0 0x0783fa78 in DBFReadAttribute (psDBF=0x0, hEntity=0, iField=0, chReqType=67 'C') at dbfopen.c:936 #1 0x0783fc48 in DBFIsAttributeNULL (psDBF=0x0, iRecord=0, iField=0) at dbfopen.c:1088 #2 0x079370f2 in SHPReadOGRFeature (hSHP=0x93b26e8, hDBF=0x0, poDefn=0x93da750, iShape=0) at shape2ogr.cpp:857 #3 0x07901eef in OGRShapeLayer::GetNextFeature (this=0x94d02a8) at ogrshapelayer.cpp:315 #4 0x078e55ce in OGRLayer::GetFeatureCount (this=0x94d02a8, bForce=1) at ogrlayer.cpp:170 #5 0x07902432 in OGRShapeLayer::GetFeatureCount (this=0x94d02a8, bForce=1) at ogrshapelayer.cpp:526 #6 0x078e5610 in OGR_L_GetFeatureCount (hLayer=0x94d02a8, bForce=1) at ogrlayer.cpp:186 #7 0x04446b2d in QgsOgrProvider::deleteFeatures (this=0x93b2458, id=@0x96d961c) at /usr/local/src/sogis/qgis_src/trunk/src/providers/ogr/qgsogrprovider.cpp:972 #8 0x055948ed in QgsVectorLayer::commitChanges (this=0x96d9580) at /usr/local/src/sogis/qgis_src/trunk/src/core/qgsvectorlayer.cpp:3001 #9 0x0811d620 in QgisApp::toggleEditing (this=0x8b47fb0, layer=0x96d9580) at /usr/local/src/sogis/qgis_src/trunk/src/app/qgisapp.cpp:4536 #10 0x0811d303 in QgisApp::toggleEditing (this=0x8b47fb0) ---Type to continue, or q to quit--- at /usr/local/src/sogis/qgis_src/trunk/src/app/qgisapp.cpp:4500 #11 0x08310d7d in QgisApp::qt_metacall (this=0x8b47fb0, _c=QMetaObject::InvokeMetaMethod, _id=90, _a=0xbfff0328) at /usr/local/src/sogis/qgis_src/trunk/src/app/moc_qgisapp.cxx:355 #12 0x002860ce in QMetaObject::activate (sender=0x8b72700, from_signal_index=5, to_signal_index=6, argv=0xbfff0328) at kernel/qobject.cpp:3104 #13 0x002865ed in QMetaObject::activate (sender=0x8b72700, m=0x83ec1c8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfff0328) at kernel/qobject.cpp:3198 #14 0x069b9ed8 in QAction::triggered (this=0x8b72700, _t1=false) at .moc/release-shared/moc_qaction.cpp:236 #15 0x069ba288 in QAction::activate (this=0x8b72700, event=QAction::Trigger) at kernel/qaction.cpp:1160 #16 0x06e5957b in QToolButton::nextCheckState (this=0x8b8b8d8) at ../../include/QtGui/../../src/gui/kernel/qaction.h:203 #17 0x06d75142 in QAbstractButtonPrivate::click (this=0x8b8b8f0) at widgets/qabstractbutton.cpp:525 #18 0x06d753ce in QAbstractButton::mouseReleaseEvent (this=0x8b8b8d8, e=0xbfff0bf0) at widgets/qabstractbutton.cpp:1115 #19 0x06e592bb in QToolButton::mouseReleaseEvent (this=0x43, e=0xbfff0bf0) at widgets/qtoolbutton.cpp:709 #20 0x06a15323 in QWidget::event (this=0x8b8b8d8, event=0xbfff0bf0) ---Type to continue, or q to quit--- at kernel/qwidget.cpp:7549 #21 0x06d74910 in QAbstractButton::event (this=0x8b8b8d8, e=0xbfff0bf0) at widgets/qabstractbutton.cpp:1077 #22 0x06e5b0e6 in QToolButton::event (this=0x8b8b8d8, event=0xbfff0bf0) at widgets/qtoolbutton.cpp:1151 #23 0x069c0a12 in QApplicationPrivate::notify_helper (this=0x8ae1fb8, receiver=0x8b8b8d8, e=0xbfff0bf0) at kernel/qapplication.cpp:4056 #24 0x069c276c in QApplication::notify (this=0xbfff27a0, receiver=0x8b8b8d8, e=0xbfff0bf0) at kernel/qapplication.cpp:3758 #25 0x054f159f in QgsApplication::notify (this=0xbfff27a0, receiver=0x8b8b8d8, event=0xbfff0bf0) at /usr/local/src/sogis/qgis_src/trunk/src/core/qgsapplication.cpp:78 #26 0x00273fab in QCoreApplication::notifyInternal (this=0xbfff27a0, receiver=0x8b8b8d8, event=0xbfff0bf0) at kernel/qcoreapplication.cpp:610 #27 0x069c1854 in QApplicationPrivate::sendMouseEvent (receiver=0x8b8b8d8, event=0xbfff0bf0, alienWidget=0x8b8b8d8, nativeWidget=0x8b47fb0, buttonDown=0x7242db4, lastMouseReceiver=@0x7242db0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #28 0x06a3392a in QETWidget::translateMouseEvent (this=0x8b47fb0, event=0xbfff2270) at kernel/qapplication_x11.cpp:4408 #29 0x06a320f3 in QApplication::x11ProcessEvent (this=0xbfff27a0, event=0xbfff2270) at kernel/qapplication_x11.cpp:3629 #30 0x06a57291 in x11EventSourceDispatch (s=0x8ae4110, callback=0, ---Type to continue, or q to quit--- user_data=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:102 #31 0x0134a74b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0x0134c1d2 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0 #33 0x0134c6b8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0x0029e685 in QEventDispatcherGlib::processEvents (this=0x8ae2958, flags=Cannot access memory at address 0x1 ) at kernel/qeventdispatcher_glib.cpp:329 #35 0x06a56cc7 in QGuiEventDispatcherGlib::processEvents (this=0x8ae2958, flags=Cannot access memory at address 0x0 ) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1990 #36 0x002735a4 in QEventLoop::processEvents (this=0xbfff2550, flags={i = 36}) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1990 #37 0x0027375d in QEventLoop::exec (this=0xbfff2550, flags={i = 0}) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2006 #38 0x00277c85 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qglobal.h:1991 #39 0x069bfca8 in QApplication::exec () at kernel/qapplication.cpp:3525 #40 0x080f5645 in main (argc=1, argv=0xbfff28c4) at /usr/local/src/sogis/qgis_src/trunk/src/app/main.cpp:747