Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-16 Thread Dave Page
Dhanaraj M wrote: Sorry Dave. I tested first by applying the patch to 1.6.1. After I downloaded from the branch and tested. Both core dumps are still unsolved. *Both* crashes? The patch you supplied for one of them is in the 1.6 branch and trunk - are you sure you didn't test the wrong copy

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-16 Thread Dhanaraj M
Dave Page wrote: 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 situa

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-15 Thread Dave Page
Zdenek Kotala wrote: Dhanaraj M wrote: Hi Zdenek, I tested this and still both problems exist (Add server and query tool -core dump) Can you test it once? This patch fixes only problem with invoking connection form when frmQuery is closing. That's all it's supposed to fix - but I get t

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-15 Thread Zdenek Kotala
Dhanaraj M wrote: Hi Zdenek, I tested this and still both problems exist (Add server and query tool -core dump) Can you test it once? This patch fixes only problem with invoking connection form when frmQuery is closing. It does not fix problems with empty comboboxies. This patch works fo

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-15 Thread Dhanaraj M
Hi Zdenek, I tested this and still both problems exist (Add server and query tool -core dump) Can you test it once? Dave Page wrote: Zdenek Kotala wrote: I'm still not sure how you're getting into that code when you close the form though... The root cause is destructor of frmQuery dial

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-15 Thread Dave Page
Zdenek Kotala wrote: I'm still not sure how you're getting into that code when you close the form though... The root cause is destructor of frmQuery dialog. It removes all connection from combo box exclude last item - "new connection". Each deletion invoke frmQuery::OnChangeConnection event a

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Zdenek Kotala
Dave Page wrote: 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 s

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Dave Page
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 use

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Dave Page
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

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Zdenek Kotala
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 deb

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Dhanaraj
I don't really know whether it is a problem of pgAdmin, because the same code works in other platforms. This might happen due to the hidden bug in the dependent packages (NOT SURE). Anyhow, I am going to see this problem and try to fix. Yeah I'm now getting that far :-). What I can't get though

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Dave Page
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 o

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Zdenek Kotala
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. Zdenek ---(end of broadcast)--- TIP 9: In versions below 8.0, the plan

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Dave Page
Zdenek, Does this occur when you click the Add Server option, or when you hit OK having filled in the dialog? Thanks, Dave (waiting for his Solaris build to complete...) Zdenek Kotala wrote: Dave Page wrote: I'm still not sure how you're getting into that code when you close the form tho

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-14 Thread Zdenek Kotala
Dave Page wrote: I'm still not sure how you're getting into that code when you close the form though... I have received following error when a wnat to "add server": (pgadmin3:27830): Gtk-CRITICAL **: file gtkliststore.c: line 570: assertion `GTK_LIST_STORE (tree_model)->stamp == iter->sta

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-13 Thread Dave Page
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

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-13 Thread Dhanaraj M
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?? tha

Re: [pgadmin-hackers] pgadmin3-1.6.1 - core dumped - Work around

2006-12-13 Thread Dhanaraj M
Well, again the trace appears to show that frmQuery::OnChangeConnection is in the stack - have you even touched the select connection combo box? One thing you might try is changing your GTK theme. We have had odd reports on some Linuxes that using certain themes will result in GTK errors on