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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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
>

Browse pgadmin-support by date

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