pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
glibc double-free error
4+ messages / 2 participants
[nested] [flat]

* glibc double-free error
@ 2007-01-02 01:29 Craig A. James <cjames@modgraph-usa.com>
  2007-01-02 01:39 ` Re: glibc double-free error Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Craig A. James @ 2007-01-02 01:29 UTC (permalink / raw)
  To: pgsql-performance

I'm using pg_dump/pg_restore to quickly copy databases between servers.  But my server keeps crashing when I run pg_restore:

    glibc detected *** double free or corruption (!prev): 0x0a00b1a0

Postgres: 8.1.4
   Linux: 2.6.12-1.1381_FC3
   glibc: 2.3.6-0.fc3.1

Server: Dell
   CPU: Xeon 2.80GHz
Memory: 4 GB

This is pretty repeatable.  Any particular pg_dump file that causes the crash will cause it every time it is used, and it happens with a lot of my databases.

What can I do to help diagnose this problem?

Craig






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: glibc double-free error
  2007-01-02 01:29 glibc double-free error Craig A. James <cjames@modgraph-usa.com>
@ 2007-01-02 01:39 ` Tom Lane <tgl@sss.pgh.pa.us>
  2007-01-02 06:03   ` Re: glibc double-free error Craig A. James <cjames@modgraph-usa.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2007-01-02 01:39 UTC (permalink / raw)
  To: Craig A. James <cjames@modgraph-usa.com>; +Cc: pgsql-performance

"Craig A. James" <cjames@modgraph-usa.com> writes:
> I'm using pg_dump/pg_restore to quickly copy databases between servers.  But my server keeps crashing when I run pg_restore:
>     glibc detected *** double free or corruption (!prev): 0x0a00b1a0

> What can I do to help diagnose this problem?

Either dig into it yourself with gdb, or send me a not-too-large example
dump file (off-list)...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: glibc double-free error
  2007-01-02 01:29 glibc double-free error Craig A. James <cjames@modgraph-usa.com>
  2007-01-02 01:39 ` Re: glibc double-free error Tom Lane <tgl@sss.pgh.pa.us>
@ 2007-01-02 06:03   ` Craig A. James <cjames@modgraph-usa.com>
  2007-01-02 06:11     ` Re: glibc double-free error Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Craig A. James @ 2007-01-02 06:03 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-performance

Tom Lane wrote:
> "Craig A. James" <cjames@modgraph-usa.com> writes:
>> I'm using pg_dump/pg_restore to quickly copy databases between servers.  But my server keeps crashing when I run pg_restore:
>>     glibc detected *** double free or corruption (!prev): 0x0a00b1a0
> 
>> What can I do to help diagnose this problem?
> 
> Either dig into it yourself with gdb, or send me a not-too-large example
> dump file (off-list)...

Hmmm ... after moving to our production server, four hours of work copying a dozen databases, there hasn't been a single glibc problem.  The development server is Fedora Core 3, the productions server is Fedora Core 4.  Unless it happens on FC4, I'm diagnosing that it's a glibc bug or incompatibility that was already fixed.

Thanks,
Craig





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: glibc double-free error
  2007-01-02 01:29 glibc double-free error Craig A. James <cjames@modgraph-usa.com>
  2007-01-02 01:39 ` Re: glibc double-free error Tom Lane <tgl@sss.pgh.pa.us>
  2007-01-02 06:03   ` Re: glibc double-free error Craig A. James <cjames@modgraph-usa.com>
@ 2007-01-02 06:11     ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2007-01-02 06:11 UTC (permalink / raw)
  To: Craig A. James <cjames@modgraph-usa.com>; +Cc: pgsql-performance

"Craig A. James" <cjames@modgraph-usa.com> writes:
> ... The development server is Fedora Core 3, the productions server is
> Fedora Core 4.  Unless it happens on FC4, I'm diagnosing that it's a
> glibc bug or incompatibility that was already fixed.

[ squint... ]  I find that explanation pretty implausible, but unless
you can reproduce it on the production machine, I suppose digging
further would be a waste of time ...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2007-01-02 06:11 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-01-02 01:29 glibc double-free error Craig A. James <cjames@modgraph-usa.com>
2007-01-02 01:39 ` Tom Lane <tgl@sss.pgh.pa.us>
2007-01-02 06:03   ` Craig A. James <cjames@modgraph-usa.com>
2007-01-02 06:11     ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox