<div dir="ltr">Hi Radim,<br><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
<br>
</span>It is most probably the problem with different off_t size in GRASS and<br>
QGIS. I have already implemented fix, but the problem is how to get<br>
real off_t size from GRASS. On Windows, it is now hard coded 8 bytes.<br>
build_off_t_size was added to g.version but it will but available in<br>
7.1. For now, you have to ensure that QGIS and GRASS are compiled with<br>
the same off_t size (I am not sure how) or change in<br>
qgsgrassprovider.cpp<br>
  typedef off_t grass_off_t;<br>
to<br>
  typedef qint32 grass_off_t;<br>
or<br>
  typedef qint64 grass_off_t;<br>
according to the size used in GRASS.<br>
<span></span><br></blockquote><div><br>I made this change and with qint64 (typedef qint64 grass_off_t;) QGIS does not crash, but the geometry just disappears after editing. Please see here:<br><br><a href="https://dl.dropboxusercontent.com/u/5772257/qgis/grass_node_tool.ogv" target="_blank">https://dl.dropboxusercontent.com/u/5772257/qgis/grass_node_tool.ogv</a> <br><br>The same is happening with GRASS6.<br><br>With typedef qint32 grass_off_t it still crashes.<br><br>I'm using GRASS 7.0.1-2~ubuntu14.04.1 from <a href="https://launchpad.net/~grass/+archive/ubuntu/grass-stable">https://launchpad.net/~grass/+archive/ubuntu/grass-stable</a><br>and GRASS 6.4.3-3 from <a href="http://packages.ubuntu.com/trusty/grass">http://packages.ubuntu.com/trusty/grass</a><br>on Xubuntu 14.04 LTS.<br><br></div><div>Thanks!<br></div><div>Pedro<br></div></div></div></div>