From: | Jason Tishler <jason(at)tishler(dot)net> |
---|---|
To: | "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk> |
Cc: | "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | Re: 7.2 psql |
Date: | 2002-02-06 15:18:49 |
Message-ID: | 20020206151849.GB2168@dothill.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2002-02-06 18:12:00 | Re: 7.2 psql |
Previous Message | Bob T | 2002-02-06 15:04:38 | Re: Python..Perl |