Thread: 141 segfaults on language change

141 segfaults on language change

From
Devrim GUNDUZ
Date:
Hi,

I installed my 1.4.1 RPM . When I want to change language from English to
Turkish, pgadmin3 halts with a segfault. Do you need additional info for
that? strace output fox example?

Regards,

--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/


Re: 141 segfaults on language change

From
Dave Page
Date:


On 14/12/05 9:33 pm, "Devrim GUNDUZ" <devrim@commandprompt.com> wrote:

>
> Hi,
>
> I installed my 1.4.1 RPM . When I want to change language from English to
> Turkish, pgadmin3 halts with a segfault. Do you need additional info for
> that? strace output fox example?

Immediately on language change, or shortly afterwards? Translations usually
cause crashes if there's a string with the wrong number of parameters in it
and pgAdmin tries to use it.

And yes, a backtrace would be good thanks!

Regards, Dave



Re: 141 segfaults on language change

From
Devrim GUNDUZ
Date:
Hi Dave,

On Wed, 14 Dec 2005, Dave Page wrote:

>> I installed my 1.4.1 RPM . When I want to change language from English to
>> Turkish, pgadmin3 halts with a segfault. Do you need additional info for
>> that? strace output fox example?
>
> Immediately on language change, or shortly afterwards? Translations usually
> cause crashes if there's a string with the wrong number of parameters in it
> and pgAdmin tries to use it.

Immediately on language change.

> And yes, a backtrace would be good thanks!

Ok, I'll send a strace shortly.

Regards,

--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/


Re: 141 segfaults on language change

From
Andreas Pflug
Date:
Devrim GUNDUZ wrote:
>
> Hi Dave,
>
> On Wed, 14 Dec 2005, Dave Page wrote:
>
>>> I installed my 1.4.1 RPM . When I want to change language from
>>> English to
>>> Turkish, pgadmin3 halts with a segfault. Do you need additional info for
>>> that? strace output fox example?
>>
>>
>> Immediately on language change, or shortly afterwards? Translations
>> usually
>> cause crashes if there's a string with the wrong number of parameters
>> in it
>> and pgAdmin tries to use it.
>
>
> Immediately on language change.
>
>> And yes, a backtrace would be good thanks!
>
>
> Ok, I'll send a strace shortly.

I don't have it on my Debian; the Turkish locale file looks ok.

Regards,
Andreas

Re: 141 segfaults on language change

From
"Dave Page"
Date:

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 14 December 2005 23:30
> To: Devrim GUNDUZ
> Cc: Dave Page; pgadmin-hackers
> Subject: Re: [pgadmin-hackers] 141 segfaults on language change
>
> Devrim GUNDUZ wrote:
> >
> > Hi Dave,
> >
> > On Wed, 14 Dec 2005, Dave Page wrote:
> >
> >>> I installed my 1.4.1 RPM . When I want to change language from
> >>> English to
> >>> Turkish, pgadmin3 halts with a segfault. Do you need
> additional info for
> >>> that? strace output fox example?
> >>
> >>
> >> Immediately on language change, or shortly afterwards?
> Translations
> >> usually
> >> cause crashes if there's a string with the wrong number of
> parameters
> >> in it
> >> and pgAdmin tries to use it.
> >
> >
> > Immediately on language change.
> >
> >> And yes, a backtrace would be good thanks!
> >
> >
> > Ok, I'll send a strace shortly.
>
> I don't have it on my Debian; the Turkish locale file looks ok.

Yeah, looks good on OSX as well.

Regards, Dave