Re: pgadmin3-1.6.1 - core dumped - Work around

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgadmin3-1.6.1 - core dumped - Work around
Дата
Msg-id 4581AD5C.5070202@postgresql.org
обсуждение исходный текст
Ответ на Re: pgadmin3-1.6.1 - core dumped - Work around  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: pgadmin3-1.6.1 - core dumped - Work around  (Dave Page <dpage@postgresql.org>)
Список 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.


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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: pgadmin3-1.6.1 - core dumped - Work around
Следующее
От: Dave Page
Дата:
Сообщение: Re: pgadmin3-1.6.1 - core dumped - Work around