[Qgis-developer] saveAs crash on Squeeze/testing

Sebastiaan Couwenberg sebastic at xs4all.nl
Sun May 17 10:39:17 PDT 2015


On 05/17/2015 06:31 PM, Richard Duivenvoorde wrote:
> Running/building Master here on Debian testing.
> 
> Segfault when after loading a shapefile use 'saveAs' menu:
> 
> When running in gdb, it looks like something is wrong outside of QGIS:
> maybe gdal/proj/spatialite? Others running Debian see this?
> 
> (gdb) bt
> #0  0x00007fffefcbeff4 in spatialite_init () from
> /usr/lib/x86_64-linux-gnu/libspatialite.so.5

This looks like Debian Bug #785091 (https://bugs.debian.org/785091)

SpatiaLite 4.1.1 on Debian testing/unstable is now built with Proj 4.9.1
causing issues with the non-threadsafe spatialite_init() method.
spatialite_init_ex() should be used instead. See the related discussion
on the SpatiaLite Users list:

https://groups.google.com/d/msg/spatialite-users/v-RCCrx5GoM/OruNkGnZG-IJ

To fix this in Debian we need to transition from GDAL 1.10.1 to 1.11.2
to get the spatialite_init_ex() support in GDAL, and we also need to
transition from SpatiaLite 4.1.1 to 4.2.1 but the final release is not
out yet. GDAL will use spatialite_init_ex() for SpatiaLite >= 4.1.2.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the Qgis-developer mailing list