Re: [Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-29 Thread rldhont
Hi Marco, This is an unstable but constant bug. If I QGIS-Server accessing 2 layers, I have the bug. If I accessing 1 layer, I don't have the bug. It is unstable because it's not always the same bug. Sometimes it's a 'corrupted double-linked list' like when I close QGIS Desktop, the other

Re: [Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-29 Thread rldhont
Hi Marco, More information with valgrind : /WFS_Capabilities ==26940== Invalid read of size 4 ==26940==at 0x43EE67: QBasicAtomicInt::deref() (qatomic_x86_64.h:133) ==26940==by 0x43F054: QString::~QString() (in /home/dhont/3liz_dev/QGIS-Compil/qgis_rldhont/build/bin/qgis_mapserv.fcgi)

Re: [Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-29 Thread Matthias Kuhn
On Fre 29 Nov 2013 09:40:03 CET, rldhont wrote: Hi Marco, More information with valgrind : /WFS_Capabilities ==26940== Invalid read of size 4 ==26940==at 0x43EE67: QBasicAtomicInt::deref() (qatomic_x86_64.h:133) ==26940==by 0x43F054: QString::~QString() (in

Re: [Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-29 Thread rldhont
Thanks Matthias, I'm arriving at the same conclusion... I thought that it's when QGIS clean up layers and providers. Regards Le 29/11/2013 11:28, Matthias Kuhn a écrit : On Fre 29 Nov 2013 09:40:03 CET, rldhont wrote: Hi Marco, More information with valgrind : /WFS_Capabilities ==26940==

[Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-28 Thread rldhont
Hi Marco, I found time to test QGIS-Server master on gdb. I'm testing GetCapabilities, and QGIS-Server segfaults after sending the document. /WMS_Capabilities [Thread 0x7fffc6b49700 (LWP 1477) exited] [Thread 0x7fffc73d7700 (LWP 1475) exited] [Thread 0x7fffc7bd8700 (LWP 1474) exited] Program

Re: [Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-28 Thread Marco Hugentobler
Hi René-Luc I don't have a segfault with GetCapabilities here. Maybe it happens not with all projects? Regards, Marco On 28.11.2013 15:59, rldhont wrote: Hi Marco, I found time to test QGIS-Server master on gdb. I'm testing GetCapabilities, and QGIS-Server segfaults after sending the