Re: [pgadmin-hackers] [PATCH] Fix crash when disabling auto commit

2015-06-29 Thread Sanket Mehta
Hi John, PFA the new patch. Please check and let me know if it still crashes. Regards, Sanket Mehta Sr Software engineer Enterprisedb On Tue, Jun 23, 2015 at 12:03 AM, John Obaterspok john.obaters...@gmail.com wrote: Hello, It still crashes on the wxIsalpha. Uncommenting the /*

Re: [pgadmin-hackers] [PATCH] Fix crash when disabling auto commit

2015-06-22 Thread John Obaterspok
Hello, It still crashes on the wxIsalpha. Uncommenting the /* (size_t)wordlen queryLen */ makes it not crash. -- john 2015-06-18 11:24 GMT+02:00 Sanket Mehta sanket.me...@enterprisedb.com: Hi, we had found some other issues in autocommit code and resolved it. Here is the patch attached

Re: [pgadmin-hackers] [PATCH] Fix crash when disabling auto commit

2015-06-18 Thread Sanket Mehta
Hi, we had found some other issues in autocommit code and resolved it. Here is the patch attached with this mail. Regards, Sanket Mehta Sr Software engineer Enterprisedb On Tue, Jun 16, 2015 at 12:59 PM, John Obaterspok john.obaters...@gmail.com wrote: Hello, I forgot to mention that

Re: [pgadmin-hackers] [PATCH] Fix crash when disabling auto commit

2015-06-16 Thread John Obaterspok
Hello, I forgot to mention that yesterday I did a search for GetChar() and there was another place that also checked the length prior to calling GetChar(). But perhaps that case was different. Might be wx 3 related. (It has works fine except for an assert that pops up after connecting to a db +

Re: [pgadmin-hackers] [PATCH] Fix crash when disabling auto commit

2015-06-16 Thread Sanket Mehta
Hi, We were using wxWidgets 2.8.12 so that may be the issue. I will now try with wxwidgets 3.0.2 and let you know. Btw apart from this issue, we have also resolved other issues in the code, i will soon send a new patch for the same. Regards, Sanket Mehta Sr Software engineer Enterprisedb On

Re: [pgadmin-hackers] [PATCH] Fix crash when disabling auto commit

2015-06-14 Thread Sanket Mehta
Hi John, I have tried the same, I am not getting any out of the bounds error, it simply comes out of the while loop. Regards, Sanket Mehta Sr Software engineer Enterprisedb On Sun, Jun 14, 2015 at 2:00 PM, John Obaterspok john.obaters...@gmail.com wrote: Hello Sanket, Just enter rollback

Re: [pgadmin-hackers] [PATCH] Fix crash when disabling auto commit

2015-06-14 Thread Ashesh Vashi
John, As I understand correctly, 8th character will be '\0' (null character). Hence - wxIsAlpha() will come out of the loop in general. But - it is possible every platform has different behaviour for wxWidgets. Can you please be specific about the operating system? -- Thanks Regards, Ashesh

Re: [pgadmin-hackers] [PATCH] Fix crash when disabling auto commit

2015-06-12 Thread Sanket Mehta
Hi John, I have tried to reproduce the scenario but not able to reproduce the crash in my system. can you please provide your steps which causes crash on your machine? Regards, Sanket Mehta Sr Software engineer Enterprisedb On Fri, Jun 12, 2015 at 11:50 AM, Sanket Mehta