Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 3535F1B10470 for ; Tue, 10 Apr 2012 22:04:20 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SHlyo-0001NK-A9 for pgsql-bugs@postgresql.org; Wed, 11 Apr 2012 01:04:19 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q3B140bQ001595; Tue, 10 Apr 2012 21:04:01 -0400 (EDT) To: rnysmile@yahoo.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6578: Deadlock in libpq after upgrading from 8.4.7 to 8.4.11 In-reply-to: References: Comments: In-reply-to rnysmile@yahoo.com message dated "Tue, 10 Apr 2012 10:34:15 -0000" Date: Tue, 10 Apr 2012 21:04:00 -0400 Message-ID: <1594.1334106240@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/61 X-Sequence-Number: 32812 rnysmile@yahoo.com writes: > This month, we upgrade the libpq5 from 8.4.7 to 8.4.11.(libpq-dev > 8.4.11-0ubuntu0.11.04) Our service program become unstable after upgrading. It seems rather improbable that a deadlock inside glibc would be our bug. Also, I've just looked very carefully through all the diffs between 8.4.7 and 8.4.11 (or at least, all the diffs affecting libpq) and I don't see anything that could plausibly lead to this behavior. > After search the mailing list, we found someone else have the similar > problem: > http://archives.postgresql.org/pgsql-general/2011-03/msg00895.php I can't help observing that that person is also using ubuntu, and that we have not heard similar complaints from anybody else. Ubuntu-specific glibc bug perhaps? A slightly different theory is an ubuntu-specific openssl bug; if there were something wrong in the internal locking in libcrypto, it could well lead to a backtrace like this. regards, tom lane