Re: pgadmin3-1.6.1 - core dumped - Work around - Mailing list pgadmin-hackers

From Zdenek Kotala
Subject Re: pgadmin3-1.6.1 - core dumped - Work around
Date
Msg-id 4581A713.7050801@sun.com
Whole thread Raw
In response to Re: pgadmin3-1.6.1 - core dumped - Work around  (Dave Page <dpage@postgresql.org>)
Responses Re: pgadmin3-1.6.1 - core dumped - Work around
List pgadmin-hackers
Dave Page wrote:
> Zdenek Kotala wrote:
>> Dave Page wrote:
>>> Zdenek,
>>>
>>> Does this occur when you click the Add Server option, or when you hit
>>> OK having filled in the dialog?
>>
>> When you click on add server option.
>
> Yeah I'm now getting that far :-). What I can't get though is any sense
> out of the debugger. Any hints or tips? I'd really like to go back up
> the stack and examine a few variables along the way.
>
> Starting program: /usr/local/src/pgadmin3-1.6.1/src/pgadmin3
> warning: Lowest section in /usr/lib/libpthread.so.1 is .dynamic at 00000074
>
> ** (pgadmin3:6683): CRITICAL **: file blueprint-draw.c: line 81:
> assertion `GTK_WIDGET (widget)' failed
>
> ** (pgadmin3:6683): CRITICAL **: file blueprint-draw.c: line 81:
> assertion `GTK_WIDGET (widget)' failed
>
> (pgadmin3:6683): Gtk-CRITICAL **: file gtkliststore.c: line 570:
> assertion `GTK_LIST_STORE (tree_model)->stamp == iter->stamp' failed
>
> (pgadmin3:6683): GLib-GObject-WARNING **: gtype.c:3350: type id `0' is
> invalid
>
> (pgadmin3:6683): GLib-GObject-WARNING **: can't peek value table for
> type `<invalid>' which is not currently referenced
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xd137c3a6 in gtk_tree_model_get_valist () from
> /usr/lib/libgtk-x11-2.0.so.0
> (gdb) bt
> #0  0xd137c3a6 in gtk_tree_model_get_valist () from
> /usr/lib/libgtk-x11-2.0.so.0
> #1  0x00000000 in ?? ()
> (gdb)
>

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.

My question is why this dialog is not filed into the constructor like
cbDatabase?

        Zdenek

pgadmin-hackers by date:

Previous
From: Dhanaraj
Date:
Subject: Re: pgadmin3-1.6.1 - core dumped - Work around
Next
From: Dave Page
Date:
Subject: Re: pgadmin3-1.6.1 - core dumped - Work around