From: | Dave Page <dpage(at)postgresql(dot)org> |
---|---|
To: | Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com> |
Cc: | 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:00:28 |
Message-ID: | 4581AD5C.5070202@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
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.
Thanks, Dave.
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2006-12-14 20:21:25 | Re: pgadmin3-1.6.1 - core dumped - Work around |
Previous Message | Zdenek Kotala | 2006-12-14 19:33:39 | Re: pgadmin3-1.6.1 - core dumped - Work around |