Re: [pgAdmin III] #316: SQL Editor fail

From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: [pgAdmin III] #316: SQL Editor fail
Date: 2011-05-16 07:33:50
Message-ID: 065.07b01bfa440e4e7bfc40ca84d0a4cf86@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

#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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Blake McBride 2011-05-16 14:16:27 pgAdmin 1.14.0 Beta 1 feedback
Previous Message pgAdmin Trac 2011-05-16 07:32:49 [pgAdmin III] #316: SQL Editor fail