[Qgis-developer] Postgis provider, add and modify linestring

Giovanni Manghi giovanni.manghi at gmail.com
Mon Jan 23 10:34:19 EST 2012


> 2. Have to commit to see the newly added features.
> Yes this is really strange, it used to work, but since a few days
> (don't remenber when) I have to commit changes.n (see video)
> 

not confirmed here using master.



> 4. Add node.
> Cannot have it working. A node is added but in the previous segment.
> And I cannot move it. (see same video)


On master I'm getting a crash (using both shapes and postgis) when
adding nodes with the node tool (attached the error message). Should I
file a ticket?

I also see "strange things" when adding nodes: sometimes when adding a
node, the one added previously disappear and sometimes the node seems to
be added in a completely different spot than the onde clicked.


WARNING:  there is no transaction in progress
***************** deactivate parallellinetool
***************** deactivate circulararctool
***************** deactivate modifycirculararctool
***************** deactivate parallellinetool
***************** deactivate circulararctool
***************** deactivate modifycirculararctool
***************** deactivate parallellinetool
***************** deactivate circulararctool
***************** deactivate modifycirculararctool
Fatal: ASSERT failure in QList<T>::operator[]: "index out of range",
file /usr/include/qt4/QtCore/qlist.h, line 464
Stacktrace (run through c++filt):
/usr/bin/qgis.bin(_Z15myMessageOutput9QtMsgTypePKc+0xb3)[0x4d0a03]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x2e)[0x7f7fa398034e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x7c7ef)[0x7f7fa39807ef]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z6qFatalPKcz
+0x94)[0x7f7fa3980994]
/usr/bin/qgis.bin(_ZN18QgsSelectedFeature10isSelectedEi+0x69)[0x5c2ce9]
/usr/bin/qgis.bin(_ZN18QgsMapToolNodeTool16canvasPressEventEP11QMouseEvent+0x703)[0x5c1013]
/usr/lib/libqgis_gui.so.1.9.90(_ZN12QgsMapCanvas15mousePressEventEP11QMouseEvent+0x2f)[0x7f7fa4364adf]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent
+0x949)[0x7f7fa2e70fc9]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent
+0x26)[0x7f7fa32195b6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN13QGraphicsView13viewportEventEP6QEvent+0x7b)[0x7f7fa343cdfb]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x88)[0x7f7fa3a70c88]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x7f)[0x7f7fa2e2043f]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xafb)[0x7f7fa2e25cbb]
/usr/lib/libqgis_core.so.1.9.90(_ZN14QgsApplication6notifyEP7QObjectP6QEvent+0x7e)[0x7f7fa47c871e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7f7fa3a70afc]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x172)[0x7f7fa2e21442]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x27c9d5)[0x7f7fa2ea09d5]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xdde)[0x7f7fa2e9f94e]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2a44a2)[0x7f7fa2ec84a2]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch
+0x1dd)[0x7f7f9cdc0a5d]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x45258)[0x7f7f9cdc1258]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration
+0x69)[0x7f7f9cdc1429]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x76)[0x7f7fa3a9bed6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2a410e)[0x7f7fa2ec810e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7f7fa3a6fcf2]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xa7)[0x7f7fa3a6fef7]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv
+0x89)[0x7f7fa3a74789]
/usr/bin/qgis.bin(main+0x1801)[0x4c9071]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f7fa192b30d]
/usr/bin/qgis.bin[0x4d0811]
Aborted




More information about the Qgis-developer mailing list