I searched for the error and I have found :

when I execute psql template0
the SIGSEGV is generated when postinit calls RelationPhaseInitializePhase2
in heap_openr with RelationName = pg_am at the return r I have the error.

when I execute psql template1
the SIGSEGV is generated when postinit calls RelationPhaseInitializePhase2
in heap_openr with RelationName = pg_class at the return r I have the error.

I can't understand whats happen.

Could someone help me ?

Thanks

Maurizio Cauci


.
----- Original Message -----
From: "Maurizio" <maurizio.c@libero.it>
To: "Peter Eisentraut" <peter_e@gmx.net>
Cc: <pgsql-hackers@postgresql.org>
Sent: Tuesday, April 03, 2001 6:31 PM
Subject: Re: [HACKERS] QNX : POSSIBLE BUG IN CONFIGURE ?


> OK,
> I compiled postgresql RC2. I have not error nor warnings so I hope it's
all
> right.
> I also changed something in os.h --> port/qnx4.h
> and in s_lock.c
>
> I will post the changes until the end of the week.
>
> I executed initdb and all works fine.
> I executed postmaster and the proces run OK.
>
> When I run psql template0 I have an error. I am not expert walking throu
> postgresql sources.
> could You tell me  if there some change from beta 6 to RC1 or RC2 that can
> give this problem in QNX so I can try to check all?
>
> Attached is the server.log file with the SIGSEGV.
>
> Thanks
>
> ----- Original Message -----
> From: "Peter Eisentraut" <peter_e@gmx.net>
> To: "Maurizio" <maurizio.c@libero.it>
> Cc: <pgsql-hackers@postgresql.org>
> Sent: Monday, April 02, 2001 6:38 PM
> Subject: Re: [HACKERS] QNX : POSSIBLE BUG IN CONFIGURE ?
>
>
> > Maurizio writes:
> >
> > > the problem is :
> > >
> > > when I execute configure it recognize the executable suffix as .map
> > > and this is not right. And the test program fails.
> >
> > This is a known (to me) bug in Autoconf.  Maybe there's a way to prevent
> > the .map files to be generated?  Fixing this isn't too hard, but I don't
> > feel urgent about it when there are more problems with the QNX port
still
> > down the line.
> >
> > --
> > Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>


----------------------------------------------------------------------------
----


>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


Sat, 7 Apr 2001 16:32:36 +0200
"Maurizio" <maurizio.c@libero.it>
Fw: QNX : POSSIBLE BUG IN CONFIGURE ?