Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2tcN-0008D3-4W for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Nov 2016 05:34:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c2tcL-00056K-W3 for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Nov 2016 05:34:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c2tbg-0004N9-Kp for pgsql-bugs@postgresql.org; Sat, 05 Nov 2016 05:33:32 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2tbX-0005i4-Qn for pgsql-bugs@postgresql.org; Sat, 05 Nov 2016 05:33:32 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id uA55XFv31931; Fri, 4 Nov 2016 22:33:16 -0700 Subject: Re: BUG #14413: pgadmin3 crashes on start To: bernhard.rieder@eguana.at, pgsql-bugs@postgresql.org References: <20161104235641.1386.66230@wrigleys.postgresql.org> From: John R Pierce Message-ID: <3efb1736-f764-25a0-4069-e901bcb903b8@hogranch.com> Date: Fri, 4 Nov 2016 22:33:17 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161104235641.1386.66230@wrigleys.postgresql.org> 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-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 11/4/2016 4:56 PM, bernhard.rieder@eguana.at wrote: > The following bug has been logged on the website: > > Bug reference: 14413 > Logged by: Bernhard Rieder > Email address: bernhard.rieder@eguana.at > PostgreSQL version: Unsupported/Unknown > Operating system: linux > Description: > > pgadmin crashes on plugin.cc:383 when obj->GetConnection() returns 0 > > instead of: > if (!obj || !(obj->GetConnection()->GetStatus() == PGCONN_OK)) > > it should read: > if (!obj || !obj->GetConnection() || !(obj->GetConnection()->GetStatus() == > PGCONN_OK)) > > > this bug report is for the postgresql core system, pgadmin is not part of that, I believe they have their own bug reporting mechanisms. you probably should include a little more information, like what specific 'linux' you're on, what distributiuon of pgadmin, what version of it. it appears pgadmin3 is deprecated and no longer supported, pgadmin4 is all they are interested in. https://www.pgadmin.org/support/ -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs