Ticket #177 (closed bug: fixed)

Opened 21 months ago

Last modified 21 months ago

Crash on F5 after "ALTER FUNCTION test() SET SCHEMA foo;"

Reported by: brsa Owned by: gleu
Priority: major Milestone: 1.10.3
Component: pgadmin Version: 1.10
Keywords: browser Cc:
Platform: windows

Description

Testing Guillaume's new version of pgadmin3.exe from Apr. 30 in a v.1.10.2 environment on Win XP Home.

I found a way to crash pgAdmin. Tried this with various functions, crashed every time. Steps to reproduce are below.

Only tested under Windows, but I suspect it might be a problem on all plattforms.
I could not trigger the crash with ALTER TABLE or ALTER VIEW.

Demo:

-- Display existing function of a schema in the browser.
-- Move a selected function to another schema:
ALTER FUNCTION test() SET SCHEMA foo;
-- Press F5 to refresh the browser, while the function in question is selected in the browser in its old location. -> Crash.
--If the function is not selected before F5, pgAdmin won't crash.

Change History

Changed 21 months ago by gleu

Easy to reproduce. And it sure needs to be fixed.

Changed 21 months ago by gleu

  • status changed from new to assigned
  • owner changed from dpage to gleu

Changed 21 months ago by gleu

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r8334 and r8335.

Note: See TracTickets for help on using tickets.