From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Wander Nauta <info(at)wandernauta(dot)nl> |
Cc: | pgAdmin Support <pgadmin-support(at)postgresql(dot)org>, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com> |
Subject: | Re: pgadmin3 segfaults on leaving context menu |
Date: | 2015-04-20 07:51:06 |
Message-ID: | CA+OCxow3hCLW++63r5nZVN3gdg=GC_vi=_2KFFgrZ3z4gxA9oA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Ashesh; can you look at this please?
Thanks.
On Sun, Apr 19, 2015 at 3:44 PM, Wander Nauta <info(at)wandernauta(dot)nl> wrote:
> Hello all,
>
> I did some more digging and it seems frmMain::OnSelRightClick is
> trying to unlock a mutex it doesn't own, which can result in undefined
> behaviour in POSIX.
>
> I've attached a patch that moves the unlock inside the if where the
> mutex is locked. This seems to fix the crash, at least on my end, but
> I couldn't say if it affects thread safety at all.
>
> Again, I hope this helps.
>
> Kind regards,
> Wander Nauta
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Ashesh Vashi | 2015-04-20 09:21:56 | Re: pgadmin3 segfaults on leaving context menu |
Previous Message | Wander Nauta | 2015-04-19 14:44:44 | Re: pgadmin3 segfaults on leaving context menu |