Lists: | Postg와이즈 토토SQL : Postg와이즈 토토SQL 메일 링리스트 : 1999-07-18 이후 PGSQL-BUGS |
---|
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Leon <leon(at)udmnet(dot)ru> |
Cc: | bughunters <pgsql-bugs(at)postgreSQL(dot)org> |
Subject: | Re: [BUGS] Frontend coredumps on NOTICE |
Date: | 1999-07-16 13:39:59 |
Message-ID: | 9466.932132399@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Leon <leon(at)udmnet(dot)ru> writes:
> This trouble has been reported to general list some time ago,
> but without success. The bug is simple: frontend, written in C
> (with libpq) dies with core dump on any query that returns NOTICE
> from backend.
No one else is seeing this, so I feel fairly safe in betting that
it's some bug in your own code. You didn't do something silly
like closing stderr, did you?
You might try setting a breakpoint at defaultNoticeProcessor in
fe-connect.c, and seeing whether control is getting there or not.
A stack backtrace from the core file would be helpful info as well.
regards, tom lane
From: | Leon <leon(at)udmnet(dot)ru> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | bughunters <pgsql-bugs(at)postgreSQL(dot)org> |
Subject: | Re: [BUGS] Frontend coredumps on NOTICE |
Date: | 1999-07-18 09:47:45 |
Message-ID: | 3791A2C1.C3FC25D1@udmnet.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg와이즈 토토SQL : Postg와이즈 토토SQL 메일 링리스트 : 1999-07-18 이후 PGSQL-BUGS |
Tom Lane wrote:
>
> Leon <leon(at)udmnet(dot)ru> writes:
> > This trouble has been reported to general list some time ago,
> > but without success. The bug is simple: frontend, written in C
> > (with libpq) dies with core dump on any query that returns NOTICE
> > from backend.
>
> No one else is seeing this, so I feel fairly safe in betting that
> it's some bug in your own code. You didn't do something silly
> like closing stderr, did you?
You were right. This bug disappeared after I recompiled pq lib.
Never before have I seen such compile troubles. To be sure, I
linked libpq against Electric Fence, and it didn't ever complain.
Thank you for cooperation.
But I have one more bugreport, this time I'm sure it is real :)
--
Leon.