On 2014/10/20 17:25, David Coppa wrote:
> On Mon, Oct 20, 2014 at 3:27 PM, janis <ja...@cieti.lv> wrote:
> > Hello,
> >
> > databases/pgadmin3 is still broken. Here is a backtrace:
> 
> Somewhere, it's trying to unlock an unlocked mutex...

I didn't see this before (I am able to make a new connection, connect, and
browse around the db, without hitting it) but I can reproduce it by 
right-clicking
on a server name. 1.16.1 does work so it seems it was introduced in 1.18.x.

Diffing the source...(oh great...not relevant to this, but they have their
own embedded copy of libssh2...) it looks like it may be in the connection
cancelling code in pgConn.cpp. I'm clearly missing something with how this
works with wxWidgets though as I only see locks not unlocks in the pgadmin
code.

Running with RTHREAD_DEBUG=5 I see lock/unlock/lock/unlock/unlock for the
relevant mutex but not sure how to lookup which mutex is involved, at least
"info symbol <addr>" doesn't help.

Reply via email to