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

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

In response to

Responses

pgsql-bugs by date

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

pgsql-patches by date

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

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