Re: pg_dump dumping... core

From: ohp(at)pyrenet(dot)fr
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump dumping... core
Date: 2003-04-24 16:45:30
Message-ID: Pine.UW2.4.53.0304241844090.684@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks for your reply Tom,

For me to do it ASAP, would you please give me the way to do it?

Many thanks,

I'll let you know as soon as I try.
On Thu, 24 Apr 2003, Tom Lane wrote:

> Date: Thu, 24 Apr 2003 10:57:25 -0400
> From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> To: ohp(at)pyrenet(dot)fr
> Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
> Subject: Re: [HACKERS] pg_dump dumping... core
>
> ohp(at)pyrenet(dot)fr writes:
> > pg_dump is crashing on 1 database here.
>
> Judging from the backtrace, malloc's data structures have gotten
> corrupted, probably as a result of somebody scribbling on a few more
> bytes than their buffer would hold.
>
> Since we haven't seen other reports of similar problems, I'm leaning
> to the theory that it's a platform-specific problem. In particular
> I wonder whether you might have a buggy version of vsnprintf(). I have
> seen Solaris 7's vsnprintf() overrun its output buffer --- could
> Unixware's have the same bug?
>
> It'd be worth trying the workaround outlined in FAQ_Solaris (add
> snprintf.o to LIBOBJS and rebuild libpq.so), just to see if it makes
> any difference. If not, you're in for some tedious debugging to try
> to figure out exactly where the culprit is :-(
>
> regards, tom lane
>

--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
Quartier d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Barry Lind 2003-04-24 17:29:03 Re: First draft of new FE/BE protocol spec posted for comments
Previous Message Peter Eisentraut 2003-04-24 16:38:39 Re: default locale considered harmful? (was Re: Using