Thread: vcregress.bat check triggered Heap error in the Debug version of win32 build
When I build the debug version of PostgreSQL (latest code), I found that I always failed to
run the vcregress.bat check. It always pops up the following error.
The release version can pass the test without any error.
Anyone met such error?

Here is my config.pl used in the build:
# Configuration arguments for vcbuild.
use strict;
use warnings;
our $config = {
asserts=>1, # --enable-cassert
# integer_datetimes=>1, # --enable-integer-datetimes - on is now default
# float4byval=>1, # --disable-float4-byval, on by default
# float8byval=>0, # --disable-float8-byval, off by default
# blocksize => 8, # --with-blocksize, 8kB by default
# wal_blocksize => 8, # --with-wal-blocksize, 8kb by default
# wal_segsize => 16, # --with-wal-segsize, 16MB by default
nls=>undef, # --enable-nls=<path>
tcl=>undef, # --with-tls=<path>
perl=>'c:\perl', # --with-perl
python=>'d:\tools\python25', # --with-python=<path>
krb5=>'E:\learn\db_research\postgreSQL\depend\kfw-3-2-2-final', # --with-krb5=<path>
ldap=>1, # --with-ldap
openssl=>'E:\learn\db_research\postgreSQL\depend\openssl', # --with-ssl=<path>
uuid=>'E:\learn\db_research\postgreSQL\depend\ossp-uuid', #--with-ossp-uuid
xml=>'E:\learn\db_research\postgreSQL\depend\libxml',
xslt=>'E:\learn\db_research\postgreSQL\depend\libxslt',
iconv=>'E:\learn\db_research\postgreSQL\depend\iconv',
zlib=>'E:\learn\db_research\postgreSQL\depend\zlib'# --with-zlib=<path>
};
1;
Any help is appreciated.
Thanks & Regards,
Xiong He
Attachment
Re: vcregress.bat check triggered Heap error in the Debug version of win32 build
From
Andrew Dunstan
Date:
Xiong He wrote: > When I build the debug version of PostgreSQL (latest code), I found > that I always failed to > run the vcregress.bat check. It always pops up the following error. > The release version can pass the test without any error. > > Anyone met such error? > [graphic deleted] Please don't send pictures to the list. Send text of error messages. You will need to dig down much more to find out exactly what triggers the error. You haven't even told us which regression set you are running, let alone which test it fails on. cheers andrew
Re: Re: [HACKERS] vcregress.bat check triggered Heap error in the Debugversion of win32 build
From
"Xiong He"
Date:
Thanks.
In my test, it fails during the vcregress.bat check startup.
It's a Debug Assertion Error. File: dbgheap.c Line: 1252.
E:\learn\db_research\postgreSQL\cvsroot\pgsql.latest\src\tools\msvc>vcregress.ba
t check
No test can run. I used VS2005 for the build.
Xiong He
2010-04-24 08:15:04
发件人: Andrew Dunstan
发送时间: 2010-04-24 08:09:32
收件人: Xiong He
抄送: pgsql-hackers
主题: Re: [HACKERS] vcregress.bat check triggered Heap error in the Debugversion of win32 build
Xiong He wrote:
> When I build the debug version of PostgreSQL (latest code), I found
> that I always failed to
> run the vcregress.bat check. It always pops up the following error.
> The release version can pass the test without any error.
>
> Anyone met such error?
>
[graphic deleted]
Please don't send pictures to the list. Send text of error messages.
You will need to dig down much more to find out exactly what triggers
the error. You haven't even told us which regression set you are
running, let alone which test it fails on.
cheers
andrew
Re: vcregress.bat check triggered Heap error in the Debugversion of win32 build
From
Andrew Dunstan
Date:
Xiong He wrote: > Thanks. > > In my test, it fails during the vcregress.bat check startup. > It's a Debug Assertion Error. File: dbgheap.c Line: 1252. > > E:\learn\db_research\postgreSQL\cvsroot\pgsql.latest\src\tools\msvc>vcregress.ba > t check > > No test can run. I used VS2005 for the build. Please do not top-answer. You still need to tell us more about exactly what it is doing when it fails. What program is it that is failing (and don't answer vcregress.bat)? cheers andrew
Re: Re: [HACKERS] vcregress.bat check triggered Heap error in the Debugversionof win32 build
From
"Xiong He"
Date:
Hi, I think I've answered the question. The regress.bat is in the source code line.
I can expand it. Just like:
..\..\..\Debug\pg_regress\pg_regress --dlpath=. --psqldir=..\..\..\Debug\psql --schedule=serial_schedule --multibyte=SQL_ASCII --no-locale --temp-install=.\tmp_check --top-builddir="E:\learn\db_research\postgreSQL\cvsroot\pgsql.latests"
And this command will trigger the error.
Thanks in advance. The release version will not have such an issue.
Xiong He
2010-04-24 16:34:14
发件人: Andrew Dunstan
发送时间: 2010-04-24 08:42:27
收件人: Xiong He
抄送: pgsql-hackers
主题: Re: [HACKERS] vcregress.bat check triggered Heap error in the Debugversionof win32 build
Xiong He wrote:
> Thanks.
>
> In my test, it fails during the vcregress.bat check startup.
> It's a Debug Assertion Error. File: dbgheap.c Line: 1252.
>
> E:\learn\db_research\postgreSQL\cvsroot\pgsql.latest\src\tools\msvc>vcregress.ba
> t check
>
> No test can run. I used VS2005 for the build.
Please do not top-answer.
You still need to tell us more about exactly what it is doing when it
fails. What program is it that is failing (and don't answer vcregress.bat)?
cheers
andrew