Re: [Qgis-developer] 2.10 segfaults on startup

2015-07-28 Thread Sebastiaan Couwenberg
On 30-06-15 13:41, Sebastiaan Couwenberg wrote: Seems to be related to the spatialite stuff.. (I still have spatialite crashes/cannot use saveAs too_: [...] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff6e35f700 (LWP 31470)] 0x7fffeff24ff4 in

Re: [Qgis-developer] 2.10 segfaults on startup

2015-07-03 Thread Richard Duivenvoorde
On 02-07-15 21:50, Radim Blazek wrote: Bad, can you post a backtrace? Can you verify if it is really locked? It should print something like src/providers/gdal/qgsgdaldataitems.cpp: 48: (QgsGdalLayerItem) [0ms] [thread:0x7f721802da80] lock src/providers/gdal/qgsgdaldataitems.cpp: 48:

Re: [Qgis-developer] 2.10 segfaults on startup

2015-07-03 Thread Radim Blazek
On Fri, Jul 3, 2015 at 9:35 AM, Richard Duivenvoorde rdmaili...@duif.net wrote: src/providers/ogr/qgsogrdataitems.cpp: 50: (QgsOgrLayerItem) [0ms] [thread:0x15a59d0] lock So it is locked. #0 0x7fffefea6ff4 in spatialite_init () from /usr/lib/x86_64-linux-gnu/libspatialite.so.5 #1

Re: [Qgis-developer] 2.10 segfaults on startup

2015-07-02 Thread Radim Blazek
I fixed that in master and 2.10 in GDAL and OGR provider adding mutex in data items on GDALOpen/OGROpen using #ifndef SPATIALITE_VERSION_G_4_1_1 which we had already. Unfortunately I was not able to reproduce the crash with spatialite 4.1.1 before the fix, please test on systems where it was

Re: [Qgis-developer] 2.10 segfaults on startup

2015-07-02 Thread Paolo Cavallini
Il 02/07/2015 18:42, Radim Blazek ha scritto: I fixed that in master and 2.10 in GDAL and OGR provider adding mutex in data items on GDALOpen/OGROpen using #ifndef SPATIALITE_VERSION_G_4_1_1 which we had already. Unfortunately I was not able to reproduce the crash with spatialite 4.1.1

Re: [Qgis-developer] 2.10 segfaults on startup

2015-07-02 Thread Richard Duivenvoorde
On 02-07-15 18:42, Radim Blazek wrote: I fixed that in master and 2.10 in GDAL and OGR provider adding mutex in data items on GDALOpen/OGROpen using #ifndef SPATIALITE_VERSION_G_4_1_1 which we had already. Unfortunately I was not able to reproduce the crash with spatialite 4.1.1 before the

Re: [Qgis-developer] 2.10 segfaults on startup

2015-07-02 Thread Radim Blazek
On Thu, Jul 2, 2015 at 9:18 PM, Richard Duivenvoorde rdmaili...@duif.net wrote: On 02-07-15 18:42, Radim Blazek wrote: I fixed that in master and 2.10 in GDAL and OGR provider adding mutex in data items on GDALOpen/OGROpen using #ifndef SPATIALITE_VERSION_G_4_1_1 which we had already.

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Radim Blazek
On Tue, Jun 30, 2015 at 8:30 AM, Paolo Cavallini cavall...@faunalia.it wrote: Il 30/06/2015 06:22, Radim Blazek ha scritto: Delete rows (there may be two) with expandedPaths from ~/.config/QGIS/QGIS2.conf Confirmed: it crashes again on a clean config when opening a subfolder. When opening

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Paolo Cavallini
Il 30/06/2015 07:31, Paolo Cavallini ha scritto: Il 30/06/2015 07:28, Radim Blazek ha scritto: When opening a subfolder in the browser? I forgot to reply: yes. Thanks again. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Paolo Cavallini
Il 30/06/2015 07:28, Radim Blazek ha scritto: When opening a subfolder in the browser? Try to find the guilty provider setting QGIS_PROVIDER_FILE regexp environment variable, for example: QGIS_PROVIDER_FILE=gdal qgis and so on for all suspicious providers. will do ASAP, thanks We are

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Even Rouault
Le mardi 30 juin 2015 13:40:33, Radim Blazek a écrit : On Tue, Jun 30, 2015 at 1:22 PM, Even Rouault even.roua...@spatialys.com wrote: Le mardi 30 juin 2015 13:17:50, Paolo Cavallini a écrit : Il 30/06/2015 11:15, Richard Duivenvoorde ha scritto: Yep, confirmed here on a fresh Debian

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Sebastiaan Couwenberg
Seems to be related to the spatialite stuff.. (I still have spatialite crashes/cannot use saveAs too_: [...] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff6e35f700 (LWP 31470)] 0x7fffeff24ff4 in spatialite_init () from

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Anita Graser
On Tue, Jun 30, 2015 at 9:31 AM, Paolo Cavallini cavall...@faunalia.it wrote: Il 30/06/2015 07:28, Radim Blazek ha scritto: When opening a subfolder in the browser? Try to find the guilty provider setting QGIS_PROVIDER_FILE regexp environment variable, for example:

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Radim Blazek
On Tue, Jun 30, 2015 at 4:42 PM, Sebastiaan Couwenberg sebas...@xs4all.nl wrote: On Tue, Jun 30, 2015 at 1:41 PM, Sebastiaan Couwenberg wrote: The final SpatiaLite 4.3.0 release will be soon (see the recent thread on the spatialite-users list). [1] I hope to start the spatialite transition in

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Jürgen E . Fischer
Hi Radim, On Tue, 30. Jun 2015 at 17:54:42 +0200, Radim Blazek wrote: Ah, sorry, the question about 2.10.1 was more for Jef, I mean if it makes sense to do the workaround with mutex in QGIS and backport it to 2.10 branch. Anyway, seeing the terms in Debian, we have to fix it in master. There

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Radim Blazek
On Tue, Jun 30, 2015 at 7:44 AM, Paolo Cavallini cavall...@faunalia.it wrote: Hi all. Just upgraded from standard repo, on Debian sid. I consistently get a segafault when starting normally. No segfault when from a clean configpath. No message froom the console. I have a lot of settings and

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Paolo Cavallini
Il 30/06/2015 05:54, Sebastiaan Couwenberg ha scritto: The qscintilla2 transition may be responsible for this, it was just updated in Debian unstable which requires rebuild of all its reverse dependencies. That probably hasn't happened yet for the upstream qgis packages. BTW: the Save as..

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Paolo Cavallini
Il 30/06/2015 06:16, Radim Blazek ha scritto: Try to start without browser or with everything collapsed in the browser. Thanks Radim - unsure how to close it however, since it crashes before letting me close it. All the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses:

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Sebastiaan Couwenberg
On 06/30/2015 08:05 AM, Paolo Cavallini wrote: Il 30/06/2015 05:54, Sebastiaan Couwenberg ha scritto: The qscintilla2 transition may be responsible for this, it was just updated in Debian unstable which requires rebuild of all its reverse dependencies. That probably hasn't happened yet for

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Paolo Cavallini
Il 30/06/2015 05:54, Sebastiaan Couwenberg ha scritto: The qscintilla2 transition may be responsible for this, it was just updated in Debian unstable which requires rebuild of all its reverse dependencies. That probably hasn't happened yet for the upstream qgis packages.

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Radim Blazek
On Tue, Jun 30, 2015 at 8:19 AM, Paolo Cavallini cavall...@faunalia.it wrote: Il 30/06/2015 06:16, Radim Blazek ha scritto: Try to start without browser or with everything collapsed in the browser. Thanks Radim - unsure how to close it however, since it crashes before letting me close it.

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Paolo Cavallini
Il 30/06/2015 06:22, Radim Blazek ha scritto: Delete rows (there may be two) with expandedPaths from ~/.config/QGIS/QGIS2.conf Confirmed: it crashes again on a clean config when opening a subfolder. This makes the program pretty unusable. Should a open a ticket? Thanks. -- Paolo Cavallini -

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Richard Duivenvoorde
On 30-06-15 09:33, Paolo Cavallini wrote: Il 30/06/2015 07:31, Paolo Cavallini ha scritto: Il 30/06/2015 07:28, Radim Blazek ha scritto: When opening a subfolder in the browser? Yep, confirmed here on a fresh Debian self compiled version. When I open the browser panel 'files' part en start

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Even Rouault
Le mardi 30 juin 2015 13:17:50, Paolo Cavallini a écrit : Il 30/06/2015 11:15, Richard Duivenvoorde ha scritto: Yep, confirmed here on a fresh Debian self compiled version. Might be related to the issue discussed at http://lists.osgeo.org/pipermail/gdal-dev/2015-May/041796.html and

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-30 Thread Radim Blazek
On Tue, Jun 30, 2015 at 1:22 PM, Even Rouault even.roua...@spatialys.com wrote: Le mardi 30 juin 2015 13:17:50, Paolo Cavallini a écrit : Il 30/06/2015 11:15, Richard Duivenvoorde ha scritto: Yep, confirmed here on a fresh Debian self compiled version. Might be related to the issue discussed

[Qgis-developer] 2.10 segfaults on startup

2015-06-29 Thread Paolo Cavallini
Hi all. Just upgraded from standard repo, on Debian sid. I consistently get a segafault when starting normally. No segfault when from a clean configpath. No message froom the console. I have a lot of settings and plugins, so bisecting would take a long time. Any hint on how to debug this? Thanks.

Re: [Qgis-developer] 2.10 segfaults on startup

2015-06-29 Thread Sebastiaan Couwenberg
On 06/30/2015 07:44 AM, Paolo Cavallini wrote: Just upgraded from standard repo, on Debian sid. I consistently get a segafault when starting normally. No segfault when from a clean configpath. No message froom the console. I have a lot of settings and plugins, so bisecting would take a long