Re: BUG #1815: ECPGdebug causes crash on Windows XP

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1815: ECPGdebug causes crash on Windows XP
Date: 2005-08-23 07:45:25
Message-ID: 20050823074525.GB8062@1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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" <joshua_masiko(at)yahoo(dot)com>
> wrote:20050813145453(dot)48119(dot)qmail(at)web33903(dot)mail(dot)mud(dot)yahoo(dot)com(dot)(dot)(dot)
> >
> > ntdll.dll!7c918fea()
> > ntdll.dll!7c9106eb()
> > ntdll.dll!7c90104b()
> > msvcrt.dll!77c3b90d()
> > msvcrt.dll!77c420e7()
> > libecpg.dll!6d0c7471()
> >> ecpgtest.exe!main(int argc=1, char * *
> > argv=0x003c0d10) Line 5 + 0xc C
> > ecpgtest.exe!mainCRTStartup() Line 206 + 0x19 C
> > kernel32.dll!7c816d4f()
> > kernel32.dll!7c8399f3()
> >
> >
> > The offending line in ecpgtest.pgc is
> >
> > ECPGdebug(1,stderr);
> >
> > I get the same result even if I use a file handle
> > obtained by using fopen

Could someone with access to a Windows system have a look at this? I do
not have one atm. In particular I'd like to know whether it makes a
difference if your compiled ecpg with threading enabled or not. After
all without threading the function called does not much, just changing
two variables and logging the change.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message D.J. Kniep 2005-08-23 11:04:50 BUG #1843: pg_restore -O restores lowercase schemanaam
Previous Message Frank Papa 2005-08-23 00:52:45 BUG #1840: Does not install