BUG #14413: pgadmin3 crashes on start
BUG #14413: pgadmin3 crashes on start
От:
bernhard.rieder@eguana.at
Дата:
VGhlIGZvbGxvd2luZyBidWcgaGFzIGJlZW4gbG9nZ2VkIG9uIHRoZSB3ZWJz aXRlOgoKQnVnIHJlZmVyZW5jZTogICAgICAxNDQxMwpMb2dnZWQgYnk6ICAg ICAgICAgIEJlcm5oYXJkIFJpZWRlcgpFbWFpbCBhZGRyZXNzOiAgICAgIGJl cm5oYXJkLnJpZWRlckBlZ3VhbmEuYXQKUG9zdGdyZVNRTCB2ZXJzaW9uOiBV bnN1cHBvcnRlZC9Vbmtub3duCk9wZXJhdGluZyBzeXN0ZW06ICAgbGludXgK RGVzY3JpcHRpb246ICAgICAgICAKCnBnYWRtaW4gY3Jhc2hlcyBvbiBwbHVn aW4uY2M6MzgzIHdoZW4gb2JqLT5HZXRDb25uZWN0aW9uKCkgcmV0dXJucyAw IA0KDQppbnN0ZWFkIG9mOg0KaWYgKCFvYmogfHwgIShvYmotPkdldENvbm5l Y3Rpb24oKS0+R2V0U3RhdHVzKCkgPT0gUEdDT05OX09LKSkNCg0KaXQgc2hv dWxkIHJlYWQ6DQppZiAoIW9iaiB8fCAhb2JqLT5HZXRDb25uZWN0aW9uKCkg fHwgIShvYmotPkdldENvbm5lY3Rpb24oKS0+R2V0U3RhdHVzKCkgPT0KUEdD T05OX09LKSkNCgoK
Re: BUG #14413: pgadmin3 crashes on start
От:
John R Pierce <pierce@hogranch.com>
Дата:
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