Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 826321337BA6 for ; Tue, 22 Mar 2011 17:57:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 63669-06 for ; Tue, 22 Mar 2011 20:56:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id 4187B1337BD7 for ; Tue, 22 Mar 2011 17:56:52 -0300 (ADT) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id p2MKumv16302 for ; Tue, 22 Mar 2011 13:56:48 -0700 Message-ID: <4D890D10.8030302@hogranch.com> Date: Tue, 22 Mar 2011 13:56:48 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: psql crashes with bad history file in 9.0.3 References: <4D89095B.9050201@agliodbs.com> In-Reply-To: <4D89095B.9050201@agliodbs.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/278 X-Sequence-Number: 29788 On 03/22/11 1:40 PM, Josh Berkus wrote: > All, > > At two sites I'm not allowed to share data from (grrr), I've encountered > core dumps of psql. In once case the core dump happens as soon as you > run any query. In the second case, it occurs when you exit. > > What both sites have in common is that there's something screwy about > the .psql_history file. In the first case, moving the history file > fixed the issue. In the second case, the shell user has messed up > permissions on their home dir and can't save the history file. > > I'd never encountered this before 9.0.3. Both sites are RHEL. > > Hopefully I'll run into it somewhere I can do a stack trace ... sounds like a readline problem