On Fri, Apr 23, 2004 at 05:10:34PM -0400, Alvaro Herrera wrote:
> In current (as of a couple hours ago) clean CVS tip sources, without any
> of my local changes, I'm getting a postmaster segfault when trying to
> connect to a non existant database.
Just to follow up, I no longer see this problem
On Fri, Apr 30, 2004 at 11:36:36PM -0400, Tom Lane wrote:
> Alvaro Herrera Munoz <[EMAIL PROTECTED]> writes:
> > strace'ing the postmaster suggested me that the dbname string in
> > utils/init/postinit.c, the InitPostgres function, is the culprit.
> > In fact, if I apply the following patch to tcop
Alvaro Herrera Munoz <[EMAIL PROTECTED]> writes:
> strace'ing the postmaster suggested me that the dbname string in
> utils/init/postinit.c, the InitPostgres function, is the culprit.
> In fact, if I apply the following patch to tcop/postgres.c the
> whole thing stops happening.
> else if
I think we fixed it since then.
---
Fabien COELHO wrote:
>
> > > Alvaro Herrera <[EMAIL PROTECTED]> writes:
> > > >>> In current (as of a couple hours ago) clean CVS tip sources, without any
> > > >>> of my local changes, I
> > Alvaro Herrera <[EMAIL PROTECTED]> writes:
> > >>> In current (as of a couple hours ago) clean CVS tip sources, without any
> > >>> of my local changes, I'm getting a postmaster segfault when trying to
> > >>> connect to a non existant database.
> >
> > Alvaro, did you figure this out? I've b
On Fri, Apr 30, 2004 at 12:52:10AM -0400, Tom Lane wrote:
> Alvaro Herrera <[EMAIL PROTECTED]> writes:
> >>> In current (as of a couple hours ago) clean CVS tip sources, without any
> >>> of my local changes, I'm getting a postmaster segfault when trying to
> >>> connect to a non existant database.
Alvaro Herrera <[EMAIL PROTECTED]> writes:
>>> In current (as of a couple hours ago) clean CVS tip sources, without any
>>> of my local changes, I'm getting a postmaster segfault when trying to
>>> connect to a non existant database.
Alvaro, did you figure this out? I've been mostly distracted fo
On Fri, Apr 23, 2004 at 10:31:46PM -0400, Tom Lane wrote:
> Alvaro Herrera <[EMAIL PROTECTED]> writes:
> > In current (as of a couple hours ago) clean CVS tip sources, without any
> > of my local changes, I'm getting a postmaster segfault when trying to
> > connect to a non existant database.
>
>
On Sat, Apr 24, 2004 at 12:27:14AM -0400, Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > It could be a bug, but if it is, it is a different fix than the one I
> > did, I think.
>
> Re-reading Alvaro's message, I wondered if cranking logging up to a
> higher-than-default setting wa
Alvaro Herrera Munoz <[EMAIL PROTECTED]> writes:
> [ bug goes away if ]
> ! dbname = argv[optind];
> [becomes]
> ! dbname = pstrdup(argv[optind]);
Hm, that's interesting. I could believe this would have something to do
with overwriting the argv area, but we have not touched an
Bruce Momjian <[EMAIL PROTECTED]> writes:
> It could be a bug, but if it is, it is a different fix than the one I
> did, I think.
Re-reading Alvaro's message, I wondered if cranking logging up to a
higher-than-default setting was needed to reproduce the bug. A quick
experiment in that line didn't
FYI, I just tried:
$ psql lkjasdf
psql: FATAL: database "lkjasdf" does not exist
(2) cat /u/pg/server.log
LOG: database system was shut down at 2004-04-23 15:23:20 EDT
LOG: checkpoint record is at 0/9D
LOG: redo record is at 0/9D; undo r
Tom Lane wrote:
> Alvaro Herrera <[EMAIL PROTECTED]> writes:
> > In current (as of a couple hours ago) clean CVS tip sources, without any
> > of my local changes, I'm getting a postmaster segfault when trying to
> > connect to a non existant database.
>
> Hmm, works for me with this morning's sour
Alvaro Herrera Munoz wrote:
> On Fri, Apr 23, 2004 at 07:00:05PM -0400, Bruce Momjian wrote:
> >
> > Please recompile with debug symbols and report back the stack trace.
> > See the faq on running debug.
>
> No, I already did that (all my builds are like that anyway and I read
> stack traces mor
Alvaro Herrera <[EMAIL PROTECTED]> writes:
> In current (as of a couple hours ago) clean CVS tip sources, without any
> of my local changes, I'm getting a postmaster segfault when trying to
> connect to a non existant database.
Hmm, works for me with this morning's sources. Bruce created a bug of
On Fri, Apr 23, 2004 at 08:38:29PM -0400, Alvaro Herrera Munoz wrote:
> On Fri, Apr 23, 2004 at 07:00:05PM -0400, Bruce Momjian wrote:
> >
> > Please recompile with debug symbols and report back the stack trace.
> > See the faq on running debug.
>
> No, I already did that (all my builds are like
On Fri, Apr 23, 2004 at 07:00:05PM -0400, Bruce Momjian wrote:
>
> Please recompile with debug symbols and report back the stack trace.
> See the faq on running debug.
No, I already did that (all my builds are like that anyway and I read
stack traces more frequently than I'd like). The "can't r
Please recompile with debug symbols and report back the stack trace.
See the faq on running debug.
---
Alvaro Herrera wrote:
> Hackers,
>
> In current (as of a couple hours ago) clean CVS tip sources, without any
> of my
Hackers,
In current (as of a couple hours ago) clean CVS tip sources, without any
of my local changes, I'm getting a postmaster segfault when trying to
connect to a non existant database. The generated core file does not
seem to contain any useful information. The first time I saw this I
managed
19 matches
Mail list logo