<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><BASE href="file://D:\Outlook Express\">
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE></STYLE>
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY lang=FR background="">
<DIV>
<DIV>> Jean-Daniel GONON wrote:<BR>>> Hi<BR>>><BR>>> I
could solve my last problem, I thought it was because of
XERCES-C<BR>>> 2.7.0 (but it was a bad include
library).<BR>>><BR>>> Now, I have an other problem, still about
GDAL/OGR-1.3.2 (in original<BR>>> version, with XERCES-C 2.7.0
moreover).<BR>>> Compilation of gdal.DLL is good, but using of gdal.dll by
ogrinfo.exe<BR>>> generates two errors in "C:\Program Files\Microsoft
Visual Studio .NET<BR>>> 2003\Vc7\crt\src\dbgheap.c" file (at the lines
1132 and 1138).<BR>><BR>> Jean,<BR>><BR>> This error indicates there
must be a bug somewhere that causes heap<BR>> corruption. The assertion
caught in dbgheap.c file comes from free()<BR>> function and says something
like this:<BR>> "you're trying to free block of memory that can't be
deallocated because<BR>> of invalid type - not deallocable
block."<BR>><BR>> Unfortunately, without more details, I can't see how to
track the<BR>> problem down and to find where is the problem in
GDAL/ogrinfo.exe.<BR>><BR>> Could you provide more details about:<BR>>
1. How did you compile GDAL? Using provided makefile.vc?<BR>> 2. What
operation do you do using ogrinfo.exe?<BR>> 3. What dataset do you use and
can you provide them for testing?<BR>><BR>><BR>> Cheers<BR>> --
<BR>> Mateusz Loskot<BR>> <A
href="">http://mateusz.loskot.net</A><BR>><BR><BR><BR>Good morning
Mateusz,<BR><BR>Thank you for your help.<BR><BR>1. I compile GDAL/OGR by MS
Visual C++ 2003 (.Net). I don't use makefile.vc.<BR><BR>2. First I have to
include "C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\vsvars32.bat" in command line.<BR> Then,
with ogrinfo.exe, I want to see readables formats file (with "ogrinfo --formats"
command line), or open DGN v7 file (with "ogrinfo v7_file.dgn" command line). In
the 2 cases, heap corruption is generated.<BR>The objective of my project is to
add DGN version 8 (read only) in GDAL/OGR. In the future, I will use
microstation DGN v8 file.<BR><BR>3. For the moment, I use DGN v7 file
(microstation file) with ogrinfo.exe through gdal13d.dll.<BR>I can't
send ogrinfo.exe and gdal13d.dll in attachement file by mail, because they
are too big.</DIV>
<DIV><BR>Jean-Daniel <BR><A
href="">jdgonon@gi-lemans.com</A></DIV></DIV></BODY></HTML>