BUG #4564: multi threaded queries corrupt client when server debugging levels are hi - Mailing list pgsql-bugs

From Diez Roggisch
Subject BUG #4564: multi threaded queries corrupt client when server debugging levels are hi
Date
Msg-id 200812051140.mB5Bel79069491@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4564: multi threaded queries corrupt client when server debugging levels are hi
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4564
Logged by:          Diez Roggisch
Email address:      diez.roggisch@ableton.com
PostgreSQL version: 8.3
Operating system:   Debian Lenny
Description:        multi threaded queries corrupt client when server
debugging levels are hi
Details:

We yesterday hunted down a bug that made our
python/psycopg2/libpq.so.5-based apache processes segfault at random.

In the end, we could reproduce the error with this script

http://www.initd.org/svn/psycopg/psycopg2/trunk/examples/threads.py

locally on the machine, regardless of tcp or socket being used.

It occured after turning all logging facilities like log_min_error_statement
to the highest level possible.

The problem can't be reproduced on my developer machine (ubuntu hardy)

pgsql-bugs by date:

Previous
From: wstrzalka
Date:
Subject: Re: Windows: pg_dump doesn't recognize -n option
Next
From: "Eugene Pimenov"
Date:
Subject: BUG #4563: Translation of errors.