Re: FW: Latest cygwin always crashing with Postgres

From: Jason Tishler <jason(at)tishler(dot)net>
To: Seth Rubin <srubin(at)thoughtprocess(dot)com>
Cc: Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: FW: Latest cygwin always crashing with Postgres
Date: 2003-02-10 02:33:41
Message-ID: 20030210023340.GA2408@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Seth Rubin 2003-02-10 04:47:28 Re: FW: Latest cygwin always crashing with Postgres
Previous Message Jason Tishler 2003-02-10 01:10:27 Re: FW: Latest cygwin always crashing with Postgres