From owner-freebsd-threads@FreeBSD.ORG Wed Jul 30 16:34:05 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FD4737B401 for ; Wed, 30 Jul 2003 16:34:05 -0700 (PDT) Received: from volatile.chemikals.org (cae57-160-011.sc.rr.com [66.57.160.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E64C43F3F for ; Wed, 30 Jul 2003 16:34:02 -0700 (PDT) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost [127.0.0.1]) h6UNY0lq011538; Wed, 30 Jul 2003 19:34:01 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Wed, 30 Jul 2003 19:34:00 -0400 (EDT) From: Wesley Morgan To: Sean Chittenden In-Reply-To: <20030730221343.GF34647@perrin.int.nxad.com> Message-ID: <20030730192811.U10689@volatile.chemikals.org> References: <20030728102545.F1269@catalyst.chemikals.org> <20030730221343.GF34647@perrin.int.nxad.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@FreeBSD.org Subject: Re: postgresql-devel "psql" and -current X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 23:34:05 -0000 On Wed, 30 Jul 2003, Sean Chittenden wrote: > Whoa, hrm, yeah... I ran into it last night while writing the > jail_read_only_transactions patch... and this looks like it's out of > my area of expertise. How recent is your -CURRENT? This looks like a > libc/libc_r's problem. Let me CC: -threads to see if they have any > hints or ideas. > > Using the most recent snapshot of PostgreSQL, the psql(1) client is > crashing when the pager terminates and psql(1) resumes control of the > terminal. What's really obnoxious, is when I compile in debugging > symbols, I can't get it to core, but I can get it to sit infinitely in > poll(2). My -current is very recent, July 22. This problem has existed for quite a while though. I have also seen randomish "corruption" of output from psql that I assumed was just a flaky development problem. I try to use KSE for threads, but there appear to be some problems with it. I can't get apache 2 to run with PHP that uses anything other than libc_r (libthr and libkse crash). I also have a strange problem with an app that runs on a serial interface. If I link in libpq static (along with all the other dependencies) it works fine, but without the static link somehow something gets clobbered and it won't work properly, however I have not devoted much time to debugging this as the interface library is still in the developmental stages. -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!