Re: 7.2 psql

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: 7.2 psql
Дата
Msg-id 20020206151849.GB2168@dothill.com
обсуждение исходный текст
Ответ на 7.2 psql  ("Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>)
Ответы Re: 7.2 psql  (Jason Tishler <jason@tishler.net>)
Список pgsql-cygwin
Stuart,

On Mon, Feb 04, 2002 at 03:02:17PM -0000, Henshall, Stuart - WCP wrote:
>     I've recetnly compiled postgresql 7.2 and seem to be having some
> problems with the psql. (win98 se on a P3 900, cygipc 1.11)
> $ uname -a
> CYGWIN_98-4.10 BX3551TC 1.3.9(0.51/3/2) 2002-01-21 12:48 i686 unknown
> Client:
> $ psql template1
> Segmentation fault (core dumped)
> Server:
> DEBUG:  pq_recvbuf: unexpected EOF on client connection
> DEBUG:  incomplete startup packet
>
> Sorry for lack of detail but I'm busy :( and was wondering if this is a
> release problem or just my system.

I can reproduce the above.  From the following stackdump (from  psql):

$ cat psql.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=6108D4A4
eax=0A010462 ebx=0A010462 ecx=0000006D edx=00000000 esi=0022FC98 edi=0A010462
ebp=0022FC14 esp=0022FC08 program=C:\cygwin\bin\psql.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022FC14  6108D4A4  (0A010462, 00000000, 0000006D, 61033C93)
          ^^^^^^^^
..

we can conclude that the crash is inside of the Cygwin DLL.  Why?
Because the Cygwin DLL is based at 0x61000000.  At first glance, it
appears that the 7.2 psql is tickling a Cygwin bug.  BTW, if I connect
to a 7.2 backend from a 7.1.3 psql, then all appears to be OK.

I will build a debuggable DLL from the latest Cygwin CVS and continue
debugging.  I will report back when I have more info (unless someone
else beats me to it).

Jason

В списке pgsql-cygwin по дате отправления:

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: [BUGS] resource leak in 7.2
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: 7.2 psql