Thread: [pgAdmin III] #316: SQL Editor fail
#316: SQL Editor fail -----------------------------+---------------------------------------------- Reporter: Aleksey Chirkin | Owner: dpage Type: bug | Status: new Priority: minor | Milestone: Component: pgadmin | Version: trunk Keywords: querytool | Platform: mac os x -----------------------------+---------------------------------------------- I'm finding a bug in pgAdmin 1.14.0 Beta 1. To make sure that the problem is still there I'm pulled from latest git today. To reproduce it, enter in SQL Editor, write symbol "(" and then press enter for go to new line. It crashing pgAdmin. I'm testing it on MacOS 10.6.7. -- Ticket URL: <http://code.pgadmin.org/trac/ticket/316> pgAdmin III <http://code.pgadmin.org/trac/> pgAdmin III
#316: SQL Editor fail -----------------------------+---------------------------------------------- Reporter: Aleksey Chirkin | Owner: dpage Type: bug | Status: new Priority: minor | Milestone: Component: pgadmin | Version: trunk Keywords: querytool | Platform: mac os x -----------------------------+---------------------------------------------- Comment(by gleu): Works fine on Linux, but Dave reproduced the bug on Mac OS X. From Dave's email: The stack trace (which contains 56977 frames!!) indicates the crash happens deep in Apples rendering code, which in turn is called from wxWidgets painting code which is called by the main event loop. As far as I can see, there is no pgAdmin code in the stack at all. It seems to occur any time you hit return when there's an unmatched bracket of any type on the line. I don't think the block folding is the issue, as the crash doesn't occur with text like "BEGIN" which will also start a new code block. -- Ticket URL: <http://code.pgadmin.org/trac/ticket/316#comment:1> pgAdmin III <http://code.pgadmin.org/trac/> pgAdmin III
#316: SQL Editor fail ------------------------------+--------------------------------------------- Reporter: Aleksey Chirkin | Owner: dpage Type: bug | Status: closed Priority: minor | Milestone: Component: pgadmin | Version: trunk Resolution: fixed | Keywords: querytool Platform: mac os x | ------------------------------+--------------------------------------------- Changes (by dpage): * status: new => closed * resolution: => fixed Comment: Fix committed. -- Ticket URL: <http://code.pgadmin.org/trac/ticket/316#comment:2> pgAdmin III <http://code.pgadmin.org/trac/> pgAdmin III