Re: pgadmin3-1.6.1 - core dumped - Work around

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgadmin3-1.6.1 - core dumped - Work around
Дата
Msg-id 458020C5.8080904@postgresql.org
обсуждение исходный текст
Ответ на Re: pgadmin3-1.6.1 - core dumped - Work around  (Dhanaraj M <Dhanaraj.M@Sun.COM>)
Ответы Re: pgadmin3-1.6.1 - core dumped - Fixed  (Dhanaraj M <Dhanaraj.M@Sun.COM>)
Re: pgadmin3-1.6.1 - core dumped - Work around  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Re: pgadmin3-1.6.1 - core dumped - Work around  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgadmin-hackers
Dhanaraj M wrote:
> Sorry for the wrong work around.
> But it crahes in this step...
>     if (s->GetConnected() && s->GetConnection()->GetHost() ==
> conn->GetHost() && s->GetConnection()->GetPort() == conn->GetPort())^M
>                      I think 'conn' is destroyed already... or some
> other problem.
>
> Any idea??

Sorry - just building wx now....

Try testing conn at the beginning of the if statement:

if (conn && s->GetConnected() && s->GetConnection()->GetHost() ==

I'm still not sure how you're getting into that code when you close the
form though...

Regards, Dave.

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dhanaraj M
Дата:
Сообщение: Re: pgadmin3-1.6.1 - core dumped - Work around
Следующее
От: "Dave Page"
Дата:
Сообщение: Developer.pgadmin.org