[gdal-dev] Antwort: crashing debug-dll of proj4 and gdal with QT - not due to /MD(d) issue

Niels.vonFestenberg-Packisch.ext at rohde-schwarz.com Niels.vonFestenberg-Packisch.ext at rohde-schwarz.com
Wed Mar 18 06:24:05 PDT 2015


Hi again,
the issue is fixed now. It turned out that there was some hidden and 
"suboptimal" work around in older source code which caused the newer PROJ4 
version 1.11 to crash.  Removing that solved the problem. 
Regards
Niels




Von:    Niels.vonFestenberg-Packisch.ext at rohde-schwarz.com
An:     gdal-dev at lists.osgeo.org, 
Datum:  17.03.2015 17:02
Betreff:        [gdal-dev] crashing debug-dll of proj4 and gdal with QT - 
not due to /MD(d) issue
Gesendet von:   gdal-dev-bounces at lists.osgeo.org



Hi all 

I have been trying hard to get a running debug version of the gdal- and 
proj4-dlls within a larger qt4.8 project. Everything runs smoothly in 
release mode, but in debug it always crashes at the first use of a 
proj4-function. I'm using VS2008, GDAL v1.11 and proj4 in v4.9 in on a 
win7 32bit project relying on Qt4.8 with QTCreator 3.3.   

All posts I found on that issue directed me to the choice of the C runtime 
dll when building the debug dlls (i.e. MSVCR90.dll vs. MSVCR90D.dll). 
However, I've now tried out a whole bunch of compiler flag combinations in 
both nmake.opt files (-MD, -MDd for the CRT choice, and also -Zi, -Od, 
-Ehsc ...), static and dynamic linking of the libs, also dependency walker 
to double check which dlls really are in use, but the error didn't change 
at all (nor it disappeared of course). 

I'm quite sure to have copied the compiler options of all other libs in 
use. Particularly, the crash always happens at the same code line as 
mentioned above. 

So anybody here has an idea how one could solve this? If you need further 
information on the build context, I'll be happy to supply it. 

Thank you very much in advance 

Regards 
Niels 



---- 
Im Auftrag von
Rohde & Schwarz GmbH & Co. KG

Postfach 80 14 69   ·   81614 München
Mühldorfstraße 15   ·   81671 München
Telefon:        (089) 4129-16563
Mail: Niels.vonFestenberg-Packisch.ext at rohde-schwarz.com
Internet: www.rohde-schwarz.com"  
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150318/30505342/attachment.html>


More information about the gdal-dev mailing list