Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-10-13 Thread Bruce Momjian
Thanks, I have added an additional sentence to that section outlining the specific items that should match --- patch attached. --- William ZHANG wrote: > I remember that I have posted the answer to pgsql.bugs, > but now it c

Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-10-02 Thread William ZHANG
I remember that I have posted the answer to pgsql.bugs, but now it can only be found here: http://www.talkaboutdatabases.com/group/pgsql.bugs/messages/2346.html Do not know what's wrong with the mail list or my mails. "Bruce Momjian" wrote > > Ah, I have found the cause of the crash, and added

Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-09-24 Thread Bruce Momjian
Ah, I have found the cause of the crash, and added documentation about the cause: On Win32, if the ecpg libraries and application are compiled with different flags, this function call will crash the application because the internal representation of the FILE pointe

Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-08-23 Thread Michael Meskes
On Mon, Aug 15, 2005 at 07:39:42PM +0800, William ZHANG wrote: > Yes. It is reproducible. But it works well in MinGW. > Is there sth. wrong with the import library lib\ms\libecpg.lib or > lib\libecpg.dll? > > "Joshua Masiko" <[EMAIL PROTECTED]> > wrote:[EMAIL PROTECTED] > > > > ntdll.dll!7c918fea

Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-08-15 Thread William ZHANG
Yes. It is reproducible. But it works well in MinGW. Is there sth. wrong with the import library lib\ms\libecpg.lib or lib\libecpg.dll? "Joshua Masiko" <[EMAIL PROTECTED]> wrote:[EMAIL PROTECTED] > > ntdll.dll!7c918fea() > ntdll.dll!7c9106eb() > ntdll.dll!7c90104b() > msvcrt.dll!77c3b90d() >

Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-08-13 Thread Joshua Masiko
crash in this case means I get the popup that says has encountered errors and needs to close when I click the debug button this is the call stack that shows up in the Visual Studio debugger ntdll.dll!7c918fea() ntdll.dll!7c9106eb() ntdll.dll!7c90104b()

Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-08-10 Thread William ZHANG
Make sure the lib directory is in the PATH. I tested it in MinGW. $ ecpg main.pgc $ gcc main.c -I../include -L../lib -lecpg $ export PATH=$PATH:"/c/Program Files/PostgreSQL/8.0/lib" $ ./a.exe [1772]: ECPGdebug: set to 1 ""joshua masiko"" <[EMAIL PROTECTED]> wrote news:[EMAIL PROTECTED] > > The f

[BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-08-09 Thread joshua masiko
The following bug has been logged online: Bug reference: 1815 Logged by: joshua masiko Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.3 Operating system: Windows XP SP2 Description:ECPGdebug causes crash on Windows XP Details: /* Processed by ecpg (4.0.1)