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

--strk;

Tue, 14 Sep 2004 10:55:30 +0200
strk <strk@keybit.net>
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       |/ 


Tue, 14 Sep 2004 22:45:16 +1000
Philip Warner <pjw@rhyme.com.au>
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;

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

Tue, 14 Sep 2004 16:27:37 +0200
strk <strk@keybit.net>
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

Tue, 14 Sep 2004 10:55:46 -0400
Tom Lane <tgl@sss.pgh.pa.us>
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;

Tue, 14 Sep 2004 17:05:08 +0200
strk <strk@keybit.net>
Re: pg_restore segfault with pg-CVS