Re: BUG #2195: log_min_messages crash server when in DEBUG3 to

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Milen A(dot) Radev" <milen(at)radev(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2195: log_min_messages crash server when in DEBUG3 to
Date: 2006-01-26 18:55:17
Message-ID: 200601261855.k0QItHN13307@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> I tried on CVS tip and don't see a problem. Which branch were you
> >> testing?
>
> > Uh, CVS HEAD. I put -DEXEC_BACKEND into Makefile.custom, and recompiled
> > and initdb'ed. I then modified postgresql.conf and set log_min_messages
> > to "debug5". Then stop and start the server. The server log looks like
> > the server is running, but you cannot connect using psql, so something
> > died.
>
> [ scratches head... ] I put "#define EXEC_BACKEND 1" into pg_config.h
> instead, and didn't bother to initdb, but otherwise the same. Wonder
> why it's not failing for me. Something platform-specific maybe?

I just tested again using your pg_config.h modification, and I still
get the failure, so perhaps BSD/OS and Win32 have similar issues with
our code.

Trimming off the environment output, attached is the log file with the
sig11/segfault failure.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 1.6 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-01-26 19:09:36 Re: BUG #2195: log_min_messages crash server when in DEBUG3 to
Previous Message Taworn T. 2006-01-26 18:41:27 BUG #2216: Cannot unregister service

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-01-26 19:06:50 Re: [HACKERS] [PATCH] Better way to check for getaddrinfo
Previous Message Bruce Momjian 2006-01-26 18:49:34 Re: [HACKERS] [PATCH] Better way to check for getaddrinfo