pg_restore segfault with pg-CVS

Started by strkover 21 years ago5 messages
#1strk
strk@keybit.net

Current pg_restore segfaults.
Manually fault seems to happen at (*AH->ClosePtr) (AH)
in pg_backup_archiver.c/CloseArchive(Archive *)

--strk;

#2Philip Warner
pjw@rhyme.com.au
In reply to: strk (#1)
Re: pg_restore segfault with pg-CVS

At 06:55 PM 14/09/2004, strk wrote:

Current pg_restore segfaults.

You might need to give a little more information; does it only segfault for
a specific DB? Does it segfault for a trivial empty DB? Can you construct a
minimal example?

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp.mit.edu:11371 |/

#3strk
strk@keybit.net
In reply to: Philip Warner (#2)
Re: pg_restore segfault with pg-CVS

On Tue, Sep 14, 2004 at 10:45:16PM +1000, Philip Warner wrote:

At 06:55 PM 14/09/2004, strk wrote:

Current pg_restore segfaults.

You might need to give a little more information; does it only segfault for
a specific DB? Does it segfault for a trivial empty DB? Can you construct a
minimal example?

Trying to make minimal example I found out it's pg_dump too.
Example:
$ pg_dump template1
...
Segmentation Fault

--strk;

Show quoted text

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp.mit.edu:11371 |/

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: strk (#3)
Re: pg_restore segfault with pg-CVS

strk <strk@keybit.net> writes:

Trying to make minimal example I found out it's pg_dump too.
Example:
$ pg_dump template1
...
Segmentation Fault

You've got a broken build then, or a platform-specific problem.
Check shared library linkage, maybe?

regards, tom lane

#5strk
strk@keybit.net
In reply to: Tom Lane (#4)
Re: pg_restore segfault with pg-CVS

On Tue, Sep 14, 2004 at 10:55:46AM -0400, Tom Lane wrote:

strk <strk@keybit.net> writes:

Trying to make minimal example I found out it's pg_dump too.
Example:
$ pg_dump template1
...
Segmentation Fault

You've got a broken build then, or a platform-specific problem.
Check shared library linkage, maybe?

regards, tom lane

Yup. Was mismatching binary/library.
Thanks to all.
--strk;