[QGIS-Developer] Crashes in qgsogrfeatureiterator.cpp:52 on master

Nyall Dawson nyall.dawson at gmail.com
Thu Nov 9 14:41:53 PST 2017


On 10 November 2017 at 08:24, Even Rouault <even.rouault at spatialys.com> wrote:

> Digging further this code comes from the dev branch of qt5:
> https://github.com/qt/qtbase/blob/dev/src/corelib/thread/qsemaphore.cpp#L414
>
> Released branches use a different logic:
> https://github.com/qt/qtbase/blob/5.10/src/corelib/thread/qsemaphore.cpp#L217
>
> Are you running bleeding edge Qt ?

No - this was just the osgeo4w dev release, so using 5.9.1.

Still, maybe it's safest if we just don't use tryAcquire for negative
timeouts, and instead use acquire explicitly in this case...

Nyall


More information about the QGIS-Developer mailing list