[Qgis-developer] New GRASS plugin: a test drive

Pedro VenĂ¢ncio pedrongvenancio at gmail.com
Fri Oct 16 11:49:26 PDT 2015

Hi Radim,I've just compile qgis and I'm getting this Segmentation fault,
when editing a GRASS layer (point, line or polygon) with Node Tool:

[New Thread 0x8ccd1b40 (LWP 11639)]
[Thread 0x8ccd1b40 (LWP 11639) exited]

Program received signal SIGSEGV, Segmentation fault.
0xb51e7c4a in _IO_vfprintf_internal (s=s at entry=0xbffa6fd0,
    format=<optimized out>,
    format at entry=0x92c09ea8 "Unable to rewrite feature/offset %lu in vector
map <%s>", ap=ap at entry=0xbffa88e4 "\001") at vfprintf.c:2047
2047    vfprintf.c: Ficheiro ou directoria inexistente.
(gdb) bt
#0  0xb51e7c4a in _IO_vfprintf_internal (s=s at entry=0xbffa6fd0,
    format=<optimized out>,
    format at entry=0x92c09ea8 "Unable to rewrite feature/offset %lu in vector
map <%s>", ap=ap at entry=0xbffa88e4 "\001") at vfprintf.c:2047
#1  0xb529af01 in ___vsprintf_chk (
    s=0xbffa70cc "Unable to rewrite feature/offset 1 in vector map
<x\265\034q\372\277\034", <incomplete sequence \372\277>, flags=1,
    format=0x92c09ea8 "Unable to rewrite feature/offset %lu in vector map
<%s>", args=0xbffa88e4 "\001") at vsprintf_chk.c:84
#2  0x92c23812 in ?? () from /usr/lib/grass70/lib/libgrass_gis.so
#3  0x92c24007 in G_warning () from /usr/lib/grass70/lib/libgrass_gis.so
#4  0x92bf4db5 in Vect_rewrite_line ()
   from /usr/lib/grass70/lib/libgrass_vector.so
#5  0x92cb9da5 in QgsGrassProvider::rewriteLine (this=0xcc35bc8, oldLid=1,
    type=2, Points=0xc633520, Cats=0x9bbd0c8)
#6  0x92cc204a in QgsGrassProvider::onGeometryChanged (this=0xcc35bc8,
    fid=1000000001, geom=...)
#7  0x92ce9698 in QgsGrassProvider::qt_static_metacall (_o=0xcc35bc8,
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbffa8b54)
---Type <return> to continue, or q <return> to quit---
#8  0xb60970f7 in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb6e9e02b in QgsVectorLayerEditBuffer::geometryChanged
    _t1=1000000001, _t2=...)
#10 0xb6d13586 in QgsVectorLayerUndoCommandChangeGeometry::redo (
#11 0xb5c70ed5 in QUndoStack::push(QUndoCommand*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#12 0xb6cf8373 in QgsVectorLayerEditBuffer::changeGeometry (this=0xc5bda68,
    fid=1000000001, geom=0xbffa8c78)
#13 0xb6cfcd8e in QgsVectorLayerEditUtils::moveVertex (this=0xbffa8d2c,
    atFeatureId=1000000001, atVertex=2)
    at /home/pedro/qgis/QGIS-master/src/core/qgsvectorlayereditutils.cpp:82
#14 0xb6cdb232 in QgsVectorLayer::moveVertex (this=0xcc09c40, p=...,
    atFeatureId=1000000001, atVertex=2)
    at /home/pedro/qgis/QGIS-master/src/core/qgsvectorlayer.cpp:1026
#15 0xb734e8f9 in QgsSelectedFeature::moveSelectedVertexes (this=0xd1f25a8,
---Type <return> to continue, or q <return> to quit---
#16 0xb734877e in QgsMapToolNodeTool::canvasReleaseEvent (this=0x9e8c900,
#17 0xb65a245d in QgsMapCanvas::mouseReleaseEvent (this=0x9c32a58,
    e=0xbffa93d4) at
#18 0xb55e840a in QWidget::event(QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#19 0xb59ee91c in QFrame::event(QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#20 0xb5a7cfd8 in QAbstractScrollArea::viewportEvent(QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0xb5c342b7 in QGraphicsView::viewportEvent(QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0xb5a7d256 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0xb6081fbe in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
() from /usr/lib/i386-linux-gnu/libQtCore.so.4
#24 0xb558e7d1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb5596ea0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0xb6ac61b9 in QgsApplication::notify (this=0xbffa9b74,
---Type <return> to continue, or q <return> to quit---
    at /home/pedro/qgis/QGIS-master/src/core/qgsapplication.cpp:269
#27 0xb6081e4a in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#28 0xb5594b53 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0xb56187a8 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0xb5617ef5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0xb5643554 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32 0xb16051e3 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb1605468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb1605528 in g_main_context_iteration ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb60b193b in
() from /usr/lib/i386-linux-gnu/libQtCore.so.4
#36 0xb564360e in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#37 0xb6080823 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
#38 0xb6080b49 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#39 0xb60868fe in QCoreApplication::exec() ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#40 0xb558ca24 in QApplication::exec() ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#41 0x08050663 in main (argc=1, argv=0xbffa9df4)
    at /home/pedro/qgis/QGIS-master/src/app/main.cpp:1229
(gdb) continue
[Thread 0x896feb40 (LWP 11591) exited]
[Thread 0x8a8c2b40 (LWP 11635) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.


2015-10-15 12:25 GMT+01:00 Radim Blazek <radim.blazek at gmail.com>:

> On Thu, Oct 15, 2015 at 10:49 AM, m roy <royroge at outlook.com> wrote:
> >>> Vector digitizing: QGIS crash when deleting a line and the layer
> >>> is not longer loadable in QGIS because of broken topology,
> >> Fixed, it was the different off_t size in GRASS and QGIS on Windows.
> >> It should work in the next nightly build 2.11.0-90.
> >>
> > After some quick vector digitizing tests: awesome tool
> > for QGIS !!
> >
> > the only (minor) issue i found is that area boundary color does not
> > match the simbology settings (e.g. green boundary also if it's not
> > shared by two areas)
> Green means that both sides are topologically correct. If there is no
> area outside a ring, it is correct. Try to attach a dangling boundary
> to the ring and it should become orange.
> Maybe the name in symbology is not precise.
> Radim
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151016/2cfa978e/attachment-0001.html>

More information about the Qgis-developer mailing list