Thread: SIGSEGV in postgres 7.0.0 for QNX

SIGSEGV in postgres 7.0.0 for QNX

From
"Maurizio"
Date:
Hi,
 
I am tring to use the qnx version of postgresql 7.0.0
 
I have qnx 4.25 and TCP/IP
 
I have compiled postgres using gcc
I have installed it.
 
then I have started postgres with -D and -i options.
 
The only commad that I can execute is initdb.
 
When I execute any other command I have a SIGSEGV error.
 
I don't understand why.
 
Could someone help me?
Have I to change the configuration of QNX kernel, TCP/IP or postgresql ?
 
Attached is a log file with the error.
 
Thanks.
 
Regards
 
DREAMTECH
Maurizio Cauci
 
 
 
 
 
 
 

Re: SIGSEGV in postgres 7.0.0 for QNX

From
Peter Eisentraut
Date:
Maurizio writes:

> The only commad that I can execute is initdb.
> 
> When I execute any other command I have a SIGSEGV error.

> Attached is a log file with the error.

I see no attachments to your post. You should look at the file
doc/FAQ_QNX4 if you haven't already. It seems that choosing a working
compiler is non-trivial on QNX. Also, configure with --enable-debug and
generate a stack trace from the failing program, e.g.,

$ /usr/local/pgsql/bin/psql
Segementation fault (core dumped)
$ gdb /usr/local/pgsql/bin/psql core
...
(gdb) bt
[ output here ]

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



Re: SIGSEGV in postgres 7.0.0 for QNX

From
"Maurizio"
Date:
Sorry for the delay but I can't find gdb.

I already looked at the doc/FAQ_QNX4 file but I didn't find any help.

At the moment I'm tring to fix the problem, also with the QNX italian
reseller, but we can't undestand if the problem is the QNX configuration or
the PGSQL QNX version.

Today I also tried POSTGRES 7.0.2 but I obtained the same error.

Please could you give me any other ideas to fix the problem ?

Thanks.
Maurizio Cauci
www.dreamtech-it.com

----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Maurizio" <maurizio.c@libero.it>
Cc: "PostgreSQL Development" <pgsql-hackers@postgresql.org>
Sent: Monday, September 18, 2000 9:57 PM
Subject: Re: [HACKERS] SIGSEGV in postgres 7.0.0 for QNX


> Maurizio writes:
>
> > The only commad that I can execute is initdb.
> >
> > When I execute any other command I have a SIGSEGV error.
>
> > Attached is a log file with the error.
>
> I see no attachments to your post. You should look at the file
> doc/FAQ_QNX4 if you haven't already. It seems that choosing a working
> compiler is non-trivial on QNX. Also, configure with --enable-debug and
> generate a stack trace from the failing program, e.g.,
>
> $ /usr/local/pgsql/bin/psql
> Segementation fault (core dumped)
> $ gdb /usr/local/pgsql/bin/psql core
> ...
> (gdb) bt
> [ output here ]
>
> --
> Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/
>