Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-07 Thread Craig Ringer
On 10/07/2011 06:51 PM, Pavel Holec wrote: -Original Message- From: Craig Ringer [mailto:ring...@ringerc.id.au] Sent: Thursday, October 06, 2011 2:05 AM To: Pavel Holec Cc: 'Tom Lane'; 'Alvaro Herrera'; 'Pg Bugs' Subject: Re: [BUGS] BUG #6233: pg_du

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-07 Thread Pavel Holec
-Original Message- From: Craig Ringer [mailto:ring...@ringerc.id.au] Sent: Thursday, October 06, 2011 2:05 AM To: Pavel Holec Cc: 'Tom Lane'; 'Alvaro Herrera'; 'Pg Bugs' Subject: Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C005 On 10/05/20

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-05 Thread Craig Ringer
On 10/05/2011 09:37 PM, Pavel Holec wrote: Yes, this is the problem. libpq.dll I have built in VC6. With original I had problem with msvcr80.dll and WinSxS because my end client app is also from VC6 and I can't prepare redist msvcr for end user. Can you advice me how to do it? It would've been

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-05 Thread Pavel Holec
-Original Message- From: Tom Lane [mailto:t...@sss.pgh.pa.us] Sent: Wednesday, October 05, 2011 6:07 AM To: Alvaro Herrera Cc: Pavel Holec; 'Craig Ringer'; Pg Bugs Subject: Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C005 Alvaro Herrera writes: > Exce

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-05 Thread Magnus Hagander
On Wed, Oct 5, 2011 at 09:24, Craig Ringer wrote: > Tom Lane wrote: >> >> However, the flaw in that explanation is that it would basically mean >> pg_dump doesn't work at all on Windows, at least not if you have any >> user-defined functions, and probably some other cases too because there >> seem

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-05 Thread Craig Ringer
Tom Lane wrote: However, the flaw in that explanation is that it would basically mean pg_dump doesn't work at all on Windows, at least not if you have any user-defined functions, and probably some other cases too because there seem to be multiple instances of the dubious coding. It's a bit hard

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-04 Thread Tom Lane
Alvaro Herrera writes: > Excerpts from Tom Lane's message of mar oct 04 22:04:29 -0300 2011: >> Hmm. I can see how that would happen if you're using one of the Windows >> environments wherein malloc's done inside libpq have to be free'd inside >> libpq. (The PQExpBuffer support code is in libpq.

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-04 Thread Alvaro Herrera
Excerpts from Tom Lane's message of mar oct 04 22:04:29 -0300 2011: > "Pavel Holec" writes: > > In the meantime I tried debug in msvc2005 (Win7/32) and > > free(funcsig); in pg_dump.c line 7510 cause > > _ASSERTE(_CrtIsValidHeapPointer(pUserData)); in dbgheap.c line 1252 > > * If this ASSERT fail

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-04 Thread Tom Lane
"Pavel Holec" writes: > In the meantime I tried debug in msvc2005 (Win7/32) and > free(funcsig); in pg_dump.c line 7510 cause > _ASSERTE(_CrtIsValidHeapPointer(pUserData)); in dbgheap.c line 1252 > * If this ASSERT fails, a bad pointer has been passed in. It may be > * totally bogus, or it may hav

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-04 Thread Pavel Holec
-Original Message- From: Craig Ringer [mailto:ring...@ringerc.id.au] Sent: Tuesday, October 04, 2011 4:44 AM To: Pavel Holec Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C005 On 03/10/11 19:42, Pavel Holec wrote: > On 09/29/2

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-03 Thread Craig Ringer
On 03/10/11 19:42, Pavel Holec wrote: > On 09/29/2011 05:18 AM, Holec wrote: >> >> The following bug has been logged online: >> >> Bug reference: 6233 >> Logged by: Holec >> Email address: ho...@email.cz >> PostgreSQL version: 8.4.8 >> Operating system: Windows 7 >> Description

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-10-03 Thread Pavel Holec
On 09/29/2011 05:18 AM, Holec wrote: > > The following bug has been logged online: > > Bug reference: 6233 > Logged by: Holec > Email address: ho...@email.cz > PostgreSQL version: 8.4.8 > Operating system: Windows 7 > Description:pg_dump hangs with Access Violation C000

Re: [BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-09-29 Thread Craig Ringer
On 09/29/2011 05:18 AM, Holec wrote: The following bug has been logged online: Bug reference: 6233 Logged by: Holec Email address: ho...@email.cz PostgreSQL version: 8.4.8 Operating system: Windows 7 Description:pg_dump hangs with Access Violation C005 Details:

[BUGS] BUG #6233: pg_dump hangs with Access Violation C0000005

2011-09-28 Thread Holec
The following bug has been logged online: Bug reference: 6233 Logged by: Holec Email address: ho...@email.cz PostgreSQL version: 8.4.8 Operating system: Windows 7 Description:pg_dump hangs with Access Violation C005 Details: I use pg_dump on Windows 7 with: pg_d