Re: string.cpp assertion failure

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Troels Arvin <troels(at)arvin(dot)dk>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: string.cpp assertion failure
Date: 2004-12-02 18:49:25
Message-ID: 41AF63B5.4090705@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Troels Arvin wrote:
> Hello,
>
> On Wed, 01 Dec 2004 21:29:52 +0100, I wrote:
>
>>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?
>
>
> I now tried again, using a non-asserting build[1] on Fedora Core 3. When
> working in the en_US locale, I get the following error when trying to
> connect to a PostgreSQL instance which hasn't been started:
> Error connecting to the server: could not connect to server:
> Connection refused
> Is the server running on host "127.0.0.1" and accepting TCP/IP
> connections on port 5432?
>
> But when working in the da_DK locale, I get:
>
> En fejl opstod:
> Error connecting to the server:
>
> Is my translation buggy, or is it due to something else?

This is the *backend* translation, not the pgadmin side.
It might be a good idea to check if the backend translation is ok,
because incorrect format specifiers (probably %s for the server name in
this case) might lead to undesired effects (AKA SEGV).

Regards,
Andreas

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Andreas Pflug 2004-12-02 18:53:08 Re: error building pgadmin 1.2 rc
Previous Message blacknoz 2004-12-02 17:24:28 Re: string.cpp assertion failure