Created
May 5, 2016 20:42
-
-
Save mvexel/d127bcc2290a434f6449379051f3a9d6 to your computer and use it in GitHub Desktop.
qgis-patch-error.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patching file src/server/qgswfsserver.cpp | |
can't find file to patch at input line 307 | |
Perhaps you used the wrong -p or --strip option? | |
The text leading up to this was: | |
-------------------------- | |
|-- | |
|2.6.4 | |
| | |
|From 69faab9b8b9361e0e1fcea8390fc8a11fc2c24ca Mon Sep 17 00:00:00 2001 | |
|From: Even Rouault <[email protected]> | |
|Date: Fri, 8 Apr 2016 19:19:49 +0200 | |
|Subject: [PATCH] Fix thread-unsafe initialization of | |
| QgsExpression::Functions() | |
| | |
|The method initializes the gmFunctions static member, without any mutex protection. | |
|This turned out to cause random crashes in the tests of the WFS provider since the downloader | |
|thread may evaluate an expression, in parallel of the main thread, which does the same. | |
|This was mainly seen on Mac Travis (2 crashes + 1 failures, over 50 iterations), when | |
|parallelizing tests so as to get particular scheduling : | |
|https://travis-ci.org/rouault/Quantum-GIS/builds/121720556. | |
|But I could finally reproduce it systematically on my Linux box when inserting the following sleep. | |
| | |
|diff --git a/src/providers/wfs/qgswfsshareddata.cpp b/src/providers/wfs/qgswfsshareddata.cpp | |
|index adc7042..e9e4577 100644 | |
|--- a/src/providers/wfs/qgswfsshareddata.cpp | |
|+++ b/src/providers/wfs/qgswfsshareddata.cpp | |
-------------------------- | |
No file to patch. Skipping patch. | |
1 out of 1 hunk ignored | |
patching file src/core/qgsexpression.cpp | |
patching file python/core/conversions.sip | |
Error: Failure while executing: /usr/bin/patch -g 0 -f -p1 -i /private/tmp/qgis-28--patch-20160505-51015-nlfqib/qgis-2.8.8-patch.diff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment