Re: pgadmin3-1.6.1 - core dumped - Work around

From: Dave Page <dpage(at)postgresql(dot)org>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>, Dhanaraj M <Dhanaraj(dot)M(at)sun(dot)com>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgadmin3-1.6.1 - core dumped - Work around
Date: 2006-12-14 20:21:25
Message-ID: 4581B245.2040401@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dave Page wrote:
> Zdenek Kotala wrote:
>
>> Problem is with cbSSL. This combo box is empty and constructor of
>> dlgServer try to setup selection on last used value - zero for first
>> time -, but there is no content of list. Newer version of gtk probably
>> are able to handle this situation but version used by s10 tries to
>> touch into empty list.
>
> Yeah, I found that right before I left the office - just logged in again
> to work-up a fix.
>
>> My question is why this dialog is not filed into the constructor like
>> cbDatabase?
>
> I guess you mean the combo, not dialog. short answer, I'm not sure.
> That's not so much the problem though - it seems that trying to select
> any list item when there aren't any is causing a crash. Having commented
> out cbSSL.SetSelection(), I just find it crashes in the same way in
> another dialogue.
>
> I'm just working up what I hope will be a viable fix to the control
> itself. I'll forward a patch once I'm happy.

Which isn't going to be tonight I'm afraid - I'm falling asleep on my
laptop here :-(. More tomorrrow....

Regards, Dave.

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2006-12-14 20:49:22 Re: pgadmin3-1.6.1 - core dumped - Work around
Previous Message Dave Page 2006-12-14 20:00:28 Re: pgadmin3-1.6.1 - core dumped - Work around