Skip site navigation (1) Skip section navigation (2)

Re: pgadmin3-1.6.1 - core dumped - Work around

From: Dave Page <dpage(at)postgresql(dot)org>
To: Dhanaraj M <Dhanaraj(dot)M(at)sun(dot)com>
Cc: Zdenek(dot)Kotala(at)sun(dot)com, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgadmin3-1.6.1 - core dumped - Work around
Date: 2006-12-13 15:48:21
Message-ID: 458020C5.8080904@postgresql.org (view raw or flat)
Thread:
Lists: 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.

In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2006-12-13 21:35:19
Subject: Developer.pgadmin.org
Previous:From: Dhanaraj MDate: 2006-12-13 15:38:07
Subject: Re: pgadmin3-1.6.1 - core dumped - Work around

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group