Re: FW: Latest cygwin always crashing with Postgres - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: FW: Latest cygwin always crashing with Postgres
Date
Msg-id 20030210023340.GA2408@tishler.net
Whole thread Raw
In response to Re: FW: Latest cygwin always crashing with Postgres  (Jason Tishler <jason@tishler.net>)
Responses Re: FW: Latest cygwin always crashing with Postgres  (Seth Rubin <srubin@thoughtprocess.com>)
List pgsql-cygwin
Seth,

On Sun, Feb 09, 2003 at 08:10:27PM -0500, Jason Tishler wrote:
> On Sat, Feb 08, 2003 at 11:10:02PM -0500, Seth Rubin wrote:
> > Attached.
>
> Well, it is crashing (for you) in postgres.exe and not cygwin1.dll.
> I will try with 1.3.19-1 and 1.3.20-1 and report back tomorrow.

I found some unexpected time tonight.  Sorry, but I cannot reproduce
your problem on Windows 2000.  Under Cygwin 1.3.19-1 and 1.3.20-1,
PostgreSQL 7.3.1-1 successfully ran the entire regression test (i.e.,
make installcheck) without any stackdumps.

My WAG is something specific to your setup (e.g., XP, Cygwin
configuration, etc.) is tickling a bug.

On Fri, Feb 07, 2003 at 07:14:52PM -0500, Seth Rubin wrote:
> I'm even open to trying to debug it, if you can give me some idea how
> to do that in the winxp world.

Well, debugging under Cygwin (on any Windows OS) is pretty much the same
as anywhere else the GNU tools run.  If you want to roll up your sleeves
and debug, then:

1. download the PostgreSQL 7.3.1-1 source from any Cygwin mirror

2. configure --enable-debug --enable-multibyte --prefix=/usr --sysconfdir=/etc

3. make

4. cp postgresql-7.3.1-1/src/backend/postgres.exe /usr/bin

5. gdb -nw postmaster

6. run -D /usr/share/postgresql/data (in gdb)

7. psql template1 (in another window)

8. investigate SEGV (in gdb)

Good Luck,
Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: FW: Latest cygwin always crashing with Postgres
Next
From: Seth Rubin
Date:
Subject: Re: FW: Latest cygwin always crashing with Postgres