pgAdmin crashes on DDL - Mailing list pgadmin-support

From aditsu
Subject pgAdmin crashes on DDL
Date
Msg-id 1368182129171-5754991.post@n5.nabble.com
Whole thread Raw
Responses Re: pgAdmin crashes on DDL
List 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.



pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAdmin enhancement request.
Next
From: "Belbin, Peter"
Date:
Subject: pgAdmin becomes unusable after lost connection