Re: ecpg crash

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, meskes(at)postgresql(dot)org
Subject: Re: ecpg crash
Date: 2008-05-10 09:03:58
Message-ID: 20080510090358.GA12271@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, May 10, 2008 at 12:14:57AM -0300, Euler Taveira de Oliveira wrote:
> While i'm working on a ecpg patch I found a bug in ecpg code. The simple
> program above could reproduce it. But basically it crashes (segfault)
> because it's trying to use a inexistent connection when we're preparing
> a statement. Don't know if it deserves a ecpg_log() message. A possible
> fix is attached.

Let me dig into this some more before committing this fix. I wonder if
the same problem holds for other use cases.

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 VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

In response to

  • ecpg crash at 2008-05-10 03:14:57 from Euler Taveira de Oliveira

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-05-10 09:55:57 Re: Posting to hackers and patches lists
Previous Message Zdenek Kotala 2008-05-10 08:16:56 Re: Posting to hackers and patches lists