pgAdmin crashes on DDL

From: aditsu <aditsu(at)yahoo(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: pgAdmin crashes on DDL
Date: 2013-05-10 10:35:29
Message-ID: 1368182129171-5754991.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Ever since I started using pgAdmin (in 2006 or so) it has always crashed
about once an hour of active usage. I finally decided to report this.

Here's one way to reproduce the problem with the latest pgAdmin (1.16.1):
- connect to a database, go to the public schema
- right-click "Tables", choose "New Table"
- use the GUI to create a table called "foo" with a single column called
"bar", of type integer (ignore the no primary keys warning)
- just to double-check, clicking "foo" in the tree now shows the create
table statement which looks something like this:
-- Table: foo
-- DROP TABLE foo;
CREATE TABLE foo
(
bar integer
)
WITH (
OIDS=FALSE
);
ALTER TABLE foo
OWNER TO postgres;
- right-click "foo" in the tree, choose "Scripts -> CREATE Script"
- in the query window, uncomment "DROP TABLE foo;", change integer to
serial, then run the query
- close the query window, without saving changes

At this point, pgAdmin instantly crashes with a segmentation fault.

Some more information about my environment:
- The operating system and version details -- Gentoo Linux
- The version of pgAdmin you are running. -- pgadmin3-1.16.1-r1 (about
window reports 1.16.1)
- The configure options used (if compiled from source) -- for now I can
provide the Gentoo USE flags: databasedesigner -debug
- The wxWidgets version and configure options used (if compiled from source)
-- I believe the answer is wxGTK-2.8.12.1, USE flags: X opengl sdl tiff
-aqua -debug -doc -gnome -gstreamer -odbc -pch

P.S. I suggest setting up a proper bug tracker instead of this medieval
mailing list system

--
View this message in context: http://postgresql.1045698.n5.nabble.com/pgAdmin-crashes-on-DDL-tp5754991.html
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.

--
Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Belbin, Peter 2013-05-10 15:32:18 pgAdmin becomes unusable after lost connection
Previous Message Dave Page 2013-05-10 10:02:13 Re: pgAdmin enhancement request.