Re: [pgadmin-support] pgAdmin3 Version 1.10.0 : Crash when configuring an pgAgent job

Поиск
Список
Период
Сортировка
Искать

Re: [pgadmin-support] pgAdmin3 Version 1.10.0 : Crash when configuring an pgAgent job

От:
Ashesh Vashi <ashesh.vashi@enterprisedb.com>
Дата:
[Adding pgadmin-hackers..]

Hi Rainer,

I am able to reproduce the same on Ubuntu 9.04 (32 bit).
Thanks for reporting this.

Hi Dave/Guillaume,

Please find the patch for the same.
Schedule dialog does not have SQL pane.
And, we're try to check the Read-Only check-box over there. :(

Rainer Bauer wrote:
Hello,

Here is my setup:

* WinXPSP3
* PostgreSQL 8.4.0:  postgresql-8.4.0-1-windows.exe
* pgAgent: pgAgent-3.0.0-win32.zip I have copied the exe and dll to the pg8.4 binary directory.
* pgAgent.sql was executed in database postgres
* pgAgent service is installed

Steps to reproduce the bug:

1) Select "New job" from the "Jobs" tree element context menu.  (NOTE: The elipses are missing in the command text)
2) Enter a name for the job and close the dialog with OK.
3) Select command "Properties" from the context menu of the newly
created job.
4) Activate the schedules tab and press "Add".
5) Close the schedule dialog using "Cancel".
6) BOOOOOMMMM [1]

Note: The same happens if I try to add a step and the "Step
Definition" dialog is closed.

Rainer


[1] An unhandled exception occured in pgAdmin3.exe [3704]

After attaching VS2005 to the process, I get:

Unhandled exception at 0x0049af2d in pgAdmin3.exe: 0xC0000005: Access violation reading location 0x0000009b.

Stacktrace (NOTE: why is pgAdmin3.pdb missing from the installation?)

--
Thanks & Regards,
Ashesh Vashi

EnterpriseDB INDIA: http://www.enterprisedb.com

Re: Re: [pgadmin-support] pgAdmin3 Version 1.10.0 : Crash when configuring an pgAgent job

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
Вложения:
Hi Ashesh and Rainer,

Le vendredi 17 juillet 2009 à 13:30:43, Ashesh Vashi a écrit :
> [Adding pgadmin-hackers..]
>
> Hi Rainer,
>
> I am able to reproduce the same on Ubuntu 9.04 (32 bit).
> Thanks for reporting this.
>
> Hi Dave/Guillaume,
>
> Please find the patch for the same.
> Schedule dialog does not have SQL pane.
> And, we're try to check the Read-Only check-box over there. :(
>

Yeah, you found the issue. There was another one on the dlgStep dialog. Only 
dlgJob need this. I changed your patch to fix the two issues. You'll find it 
attached for reference. I've commited this patch on the 1.10 branch and on the 
trunk.

Thanks a lot.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Re: Re: [pgadmin-support] pgAdmin3 Version 1.10.0 : Crash when configuring an pgAgent job

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
Вложения:
Le dimanche 19 juillet 2009 à 23:42:50, Guillaume Lelarge a écrit :
> Hi Ashesh and Rainer,
>
> Le vendredi 17 juillet 2009 à 13:30:43, Ashesh Vashi a écrit :
> > [Adding pgadmin-hackers..]
> >
> > Hi Rainer,
> >
> > I am able to reproduce the same on Ubuntu 9.04 (32 bit).
> > Thanks for reporting this.
> >
> > Hi Dave/Guillaume,
> >
> > Please find the patch for the same.
> > Schedule dialog does not have SQL pane.
> > And, we're try to check the Read-Only check-box over there. :(
>
> Yeah, you found the issue. There was another one on the dlgStep dialog.
> Only dlgJob need this. I changed your patch to fix the two issues. You'll
> find it attached for reference. I've commited this patch on the 1.10 branch
> and on the trunk.
>

Hmmm. I should better think before applying a patch. The previous one does not 
fix every issues. dlgStep can be displayed alone (in which case it does have a 
SQL pane) and from the dlgJob dialog (in which case it doesn't). The same for 
dlgSchedule. This new patch takes care of this.

Sorry about all this.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com
FAQ