Bug: Overwrites incorrect file

From: David Jarvis <thangalin(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Bug: Overwrites incorrect file
Date: 2010-06-25 08:25:35
Message-ID: AANLkTilEgdKBsq0kXxfTDPZ5jNWHZvNMo3yXOkOc2yTK@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

*Configuration*
pgAdmin3
./configure --prefix=/usr/local
$ uname -a
Linux jaguar 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010
x86_64 GNU/Linux

$ psql --version
psql (PostgreSQL) 8.4.4

*Reproduce the Problem*

1. Create an empty directory; put some empty files inside.
2. Make some empty directories in the formerly empty directory.
3. In the following steps, make sure you use that empty directory created
in step 1 or you might lose work.
4. Click the "Execute arbitrary queries" button
5. Type in some text
6. Type: Alt-f
7. Type: a
8. Type: Alt-n
9. Type: joe.sql
10. Type: Alt-s
11. Repeat steps 2 - 7, but for step 6 use *joe2.sql*
12. Type: Alt-f
13. Type: a
14. Click joe2.sql
15. Click Save

*Expected Results*
The file joe2.sql should contain some text.

*Actual Results*
At this point one of two things will happen:

- another file in the same directory as joe2.sql will be overwritten
- pgadmin3 will crash:

**
Gtk:ERROR:/build/buildd/gtk+2.0-2.20.1/gtk/gtkfilechooserdefault.c:8125:get_display_name_from_file_list:
assertion failed: (had_selection)
Aborted

*Addendum*
Crashing is good. Overwriting other files is... bad.

This might not be a pgAdmin error. If it is not, please let me know where I
should direct the problem, as it is quite severe.

Dave

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message David Jarvis 2010-06-25 08:29:28 Re: Bug: Overwrites incorrect file
Previous Message Guillaume Lelarge 2010-06-23 16:35:47 Re: PostgreSQL exception 0xC0000005