Re: ECPG Segfaulting on EXEC SQL connect

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Hans-Michael Stahl <Hans-Michael(dot)Stahl(at)condat(dot)de>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org, john(at)roundel(dot)net
Subject: Re: ECPG Segfaulting on EXEC SQL connect
Date: 2005-01-19 10:16:17
Message-ID: 20050119101617.GA13137@1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 18, 2005 at 05:49:05PM +0100, Hans-Michael Stahl wrote:
> This also happens with Postgresql 7.4. under SUSE Linux 9.1 (kernel
> 2.6.4-52) The last version for which embedded SQL worked well for me
> was 7.3. The same source which worked fine under 7.3 for many months
> stopped working with my switch to 7.4.2. :-(

Interesting.

> And it not only happens during connect, but also during a select. It is
> very difficult to debug, since often the stack is destroyed and a
> backtrace in gdb does not work. From what I can see it is always
> related to calls of malloc/free/realloc issued by libpq.

I would be happy to help debugging this. But up to now I didn't even
know about this problem. Could you please send me a test case so I can
reproduce this? Also did you try using 8.0?

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
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-general by date

  From Date Subject
Next Message Dick Davies 2005-01-19 10:36:17 what happened to the website?
Previous Message Michael Fuhr 2005-01-19 09:36:17 Re: PL/PgSQL Index Usage with Trigger Variables