New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with 'Save as..' option #16540
Comments
Author Name: Pedro Venâncio (Pedro Venâncio) I'm almost 100% sure that this problem is caused by the Lecos Plugin (v1.7.2). With this plugin disabled, the 'Save as' works without problems. Anyone confirm?
|
Author Name: Martin Jung (Martin Jung) With your Shape -> Confirmed. As the plugins author i don't really see what i can do as the "save as" function is an internal c++ function of QGIS and at least to my understanding those functions shouldn't be affected by plugin python code. System: Debian Wheezy - QGIS dev
|
Author Name: Pedro Venâncio (Pedro Venâncio) Hi Martin, This crash does not occur with all layers, but occurs in a large set of tests that I did. Honestly, I also can not understand how a plugin can cause this type of problem, but the truth is that the crash occurs with LecoS active and disappears with its deactivation. Thanks! |
Author Name: Martin Jung (Martin Jung) Hey, i just tested your shapefile on Windows using both QGIS 1.8 Lisboa and QGIS dev. "Saving" your layer results in a crash for both stable and development. In your bug report you mentioned that it worked for you on your QGIS 1.8 stable. I have no idea what the reason for this error is, but i assume that it has something to do with gdal or ogr. |
Author Name: Pedro Venâncio (Pedro Venâncio) Hi Martin, The reason to not crash in version 1.8 is because I do not have the LecoS plugin installed there. |
Author Name: Martin Jung (Martin Jung) Hurray, i got it fixed! Or at least your example point shape isn't causing QGIS to crash anymore while LecoS is activated. About the real Reason:
|
Author Name: Pedro Venâncio (Pedro Venâncio) Hi Martin, It's fixed! Thank you very much!!
|
Author Name: Pedro Venâncio (Pedro Venâncio)
Original Redmine Issue: 7612
Affected QGIS version: master
Redmine category:vectors
I have been attempt to find the source of this problem a few days ago, but still could not quite understand what is the origin. The only pattern I find is that always happens with fields of type "Real" with Precision greater than 0.
I attached a shapefile of test.
To reproduce the error, open the shape, make Save as... (Save vector layer as...) and try to save. With this procedure, QGIS crashes with a Segmentation fault (core dumped).
The problem is with the field "m2". But I can not understand what is wrong in this field that may be causing the problem. This happens to me with many type of layers, including PostGIS, SpatiaLite or Shapefile layers.
With exactly the same layers, QGIS 1.8 works fine, without any error. So I think it is a regression.
The text was updated successfully, but these errors were encountered: