Skip site navigation (1) Skip section navigation (2)

Re: string.cpp assertion failure

From: blacknoz(at)club-internet(dot)fr
To: troels(at)arvin(dot)dk, devrim(at)dunduz(dot)org
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: string.cpp assertion failure
Date: 2004-12-02 09:52:09
Message-ID: mnet1.1101977529.23291.blacknoz@club-internet.fr (view raw or flat)
Thread:
Lists: pgadmin-support


----Message d'origine----
>A: pgadmin-support(at)postgresql(dot)org
>De: Troels Arvin <troels(at)arvin(dot)dk>
>Sujet: [pgadmin-support] string.cpp assertion failure
>Date: Wed, 01 Dec 2004 21:29:52 +0100
>
>Hello,
>
>Using pgadmin3 1.2.0[*] on Fedora Core 3, I get the following error when
>trying to connect to a PostgreSQL 7.4.6 server on the same (local)host:
>
>  src/common/string.cpp(1060): assert "nLen != (size_t)-1" failed.
>  Do you want to stop the program?
>  You can also choose [Cancel] to suppress further warnings.

Hi, this has been reported on pgadmin-hackers:

http://www.mail-archive.com/pgadmin-hackers(at)postgresql(dot)org/msg04806.html

Seems to be a libpq problem solved in 8.0.
Note that the assert is due to a build with debug mode on which may not be good for a release.
Devrim: did you enable debug for wx and/or pga3 when building the release ?

Regards,
Raphaƫl

>It turned out that the PostgreSQL server wasn't running. Still, a more
>user-friendly error message would be nice, I think.
>
>
>Note *: Installed from
>http://developer.pgadmin.org/ftp/release/FC3/pgadmin3-1.2.0-1.i686.rpm
>


pgadmin-support by date

Next:From: AkbarDate: 2004-12-02 11:18:40
Subject: Re: error building pgadmin 1.2 rc
Previous:From: Troels ArvinDate: 2004-12-02 09:39:08
Subject: Re: string.cpp assertion failure

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group