Thread: pgAdmin beta 3 query bug

pgAdmin beta 3 query bug

From
"Dave Page"
Date:
Hi Mike, George,

I've been looking some more at this bug you are both experiencing. From
what I recall, George is seeing it in the Query Tool, whilst Mike is
seeing it in the Edit Grid. I've seen another report for each from
Ezequias and Harald.

Both tools share two important pieces of code:

1) ctlSqlGrid is our custom control that is based on wxGrid and is used
to display the results. This code is primarily used to size rows/columns
and extract data (ie. When exporting). Most of the real work is done by
wxGrid which we've used since 1.0.

2) pgQueryThread. This is a class that is used to run a query
asynchronously. It is this class that I fixed a couple of bugs in for
beta 3 that had demonstrably caused crashes for me.

I suspect that the problem that remains is an issue in the wxWidgets
code as pgQueryThread is fairly simple and there is little else to go
wrong in it that I can spot. I did find a seemingly unrelated threading
bug in wx right before beta 3 which I was forced to workaround, however
I found today that wxWidgets 2.7.1 has been released, in which that bug
appears to have been fixed.

So, before I go insane trying to track this down further, may I send you
both an updated .exe built against wx2.7.1, in the hope that we've
actually been seeing just one bug that's manifested itself in different
ways?

Regards, Dave.

Re: pgAdmin beta 3 query bug

From
"Harald Armin Massa"
Date:


On 10/14/06, Dave Page <dpage@vale-housing.co.uk> wrote:
Hi Mike, George,

I've been looking some more at this bug you are both experiencing. From
what I recall, George is seeing it in the Query Tool, whilst Mike is
seeing it in the Edit Grid. I've seen another report for each from
Ezequias and Harald.

Both tools share two important pieces of code:

1) ctlSqlGrid is our custom control that is based on wxGrid and is used
to display the results. This code is primarily used to size rows/columns
and extract data (ie. When exporting). Most of the real work is done by
wxGrid which we've used since 1.0.

2) pgQueryThread. This is a class that is used to run a query
asynchronously. It is this class that I fixed a couple of bugs in for
beta 3 that had demonstrably caused crashes for me.

I suspect that the problem that remains is an issue in the wxWidgets
code as pgQueryThread is fairly simple and there is little else to go
wrong in it that I can spot. I did find a seemingly unrelated threading
bug in wx right before beta 3 which I was forced to workaround, however
I found today that wxWidgets 2.7.1 has been released, in which that bug
appears to have been fixed.

So, before I go insane trying to track this down further, may I send you
both an updated .exe built against wx2.7.1, in the hope that we've
actually been seeing just one bug that's manifested itself in different
ways?

Regards, Dave.



--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
-
Python: the only language with more web frameworks than keywords.

Re: pgAdmin beta 3 query bug

From
mike
Date:
That would be ok by me.  I would have no problem giving it a try.


On Sat, 2006-10-14 at 22:49 +0200, Harald Armin Massa wrote:
>
>
> On 10/14/06, Dave Page <dpage@vale-housing.co.uk> wrote:
>         Hi Mike, George,
>
>         I've been looking some more at this bug you are both
>         experiencing. From
>         what I recall, George is seeing it in the Query Tool, whilst
>         Mike is
>         seeing it in the Edit Grid. I've seen another report for each
>         from
>         Ezequias and Harald.
>
>         Both tools share two important pieces of code:
>
>         1) ctlSqlGrid is our custom control that is based on wxGrid
>         and is used
>         to display the results. This code is primarily used to size
>         rows/columns
>         and extract data (ie. When exporting). Most of the real work
>         is done by
>         wxGrid which we've used since 1.0.
>
>         2) pgQueryThread. This is a class that is used to run a query
>         asynchronously. It is this class that I fixed a couple of bugs
>         in for
>         beta 3 that had demonstrably caused crashes for me.
>
>         I suspect that the problem that remains is an issue in the
>         wxWidgets
>         code as pgQueryThread is fairly simple and there is little
>         else to go
>         wrong in it that I can spot. I did find a seemingly unrelated
>         threading
>         bug in wx right before beta 3 which I was forced to
>         workaround, however
>         I found today that wxWidgets 2.7.1 has been released, in which
>         that bug
>         appears to have been fixed.
>
>         So, before I go insane trying to track this down further, may
>         I send you
>         both an updated .exe built against wx2.7.1, in the hope that
>         we've
>         actually been seeing just one bug that's manifested itself in
>         different
>         ways?
>
>         Regards, Dave.
>
>
>
> --
> GHUM Harald Massa
> persuadere et programmare
> Harald Armin Massa
> Reinsburgstraße 202b
> 70197 Stuttgart
> 0173/9409607
> -
> Python: the only language with more web frameworks than keywords.