pg_dump dumping... core

From: ohp(at)pyrenet(dot)fr
To: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_dump dumping... core
Date: 2003-04-24 14:29:36
Message-ID: Pine.UW2.4.53.0304241625001.25625@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

It seems my message from yesterday did'nt get thru..

pg_dump is crashing on 1 database here. FWIW, it's the only that doesn't
belong to me (superuser)

Also it's SQL ASCII and has french local characters, I doubt this is the
problem because I have plenty of databases like that.

I've arrange to recompile with debug on and here's the stack trace.

This is on unixware 7

Please help
TIA.

Script started on Thu Apr 24 16:18:36 2003
$ debug -c /tmp/core.* /usr/local/pgsql/bin/pg_dump
Core image of pg_dump (process p1) created
CORE FILE [flushsmall in malloc.c]
SIGNALED 11 (segv code[SEGV_MAPERR] address[0x80b8004]) in p1
0xbffa3dd0 (flushsmall+320:) movl (%esi),%eax
debug> stack
Stack Trace for p1, Program pg_dump
*[0] flushsmall(presumed: 0x80b6a84, 0xbfffdc20, 0x80b65d4) [0xbffa3dd0]
[1] bgalloc(0x808) [0xbffa4aa1]
[2] realloc(0x80b65d8, 0x800) [0xbffa716b]
[3] enlargePQExpBuffer(str=0x80b6ae0, needed=1025) [pqexpbuffer(dot)c(at)149]
[4] appendPQExpBufferChar(str=0x80b6ae0, ch=42 (or '*')) [pqexpbuffer(dot)c(at)276]
[5] appendStringLiteral(buf=0x80b6ae0Warning: Formatted print string too long, truncated
, str="**************/\r\n/* Cr\351\351 le 19/03/2003 */\r\n/*lp\v\bte dtp\v\b...", escapeAll=0) [dumputils(dot)c(at)130]
[6] dumpOneFunc(fout=0x806d9b0, finfo=0x8074e00) [pg_dump(dot)c(at)3718]
[7] dumpFuncs(fout=0x806d9b0, finfo=0x8074dd8, numFuncs=27) [pg_dump(dot)c(at)3551]
[8] dumpSchema(fout=0x806d9b0, numTablesPtr=0x8047280, aclsSkip=0, schemaOnly=0, dataOnly=0) [common(dot)c(at)162]
[9] main(argc=4, argv=0x80472c4, 0x80472d8) [pg_dump(dot)c(at)585]
[10] _start() [0x8049f7c]
debug> quit

script done on Thu Apr 24 16:19:45 2003

--
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)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-04-24 14:57:25 Re: pg_dump dumping... core
Previous Message Dave Page 2003-04-24 14:22:51 Re: putting new pdf docs on ftp site