Skip site navigation (1) Skip section navigation (2)

Re: FW: 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: FW: Latest cygwin always crashing with Postgres
Date: 2003-02-10 16:26:25
Message-ID: 20030210162624.GJ2408@tishler.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
Seth,

On Mon, Feb 10, 2003 at 10:03:03AM -0500, Seth Rubin wrote:
> When I run from gdb, FATAL error occurs when "run", when I run from
> command line, the same error occurs, but not until I access with psql
> or other...

Hmm...

Also, where did the SEGVs go?

> This entry in /etc/passwd file was already there:
> 
> Owner:unused_by_nt/2000/xp:1003:513:U-YOUR-W92P4BHLZG\Owner,S-1-5-21-6707922
                                        ^^^^^^^^^^^^^^^
                                        ***************

> 05-1163395192-3403473811-1003:/home/Owner:/bin/bash

Looks OK, except that I expected to see "Thought1" above.

I'm sorry, but I think that you are having a problem due to XP Home or
some other misconfiguration.  You will have to debug further yourself.

I would start in src/backend/utils/init/postinit.c:

    /*
     * Find oid and path of the database we're about to open. Since
     * we're not yet up and running we have to use the hackish
     * GetRawDatabaseInfo.
     */
**> GetRawDatabaseInfo(dbname, &MyDatabaseId, datpath);

    if (!OidIsValid(MyDatabaseId))
        elog(FATAL,
             "Database \"%s\" does not exist in the system catalog.",
             dbname);

and figure out why GetRawDatabaseInfo() fails and/or returns a bogus
MyDatabaseId value.

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

pgsql-cygwin by date

Next:From: jklcomDate: 2003-02-10 16:47:52
Subject: I couldn't compile postgresql 7.3.1 under cygwin 1.3.18-1
Previous:From: Jason TishlerDate: 2003-02-10 15:33:31
Subject: Re: I couldn't compile postgresql 7.3.1 under cygwin 1.3.18-1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group