From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Marko Ristola <Marko(dot)Ristola(at)kolumbus(dot)fi> |
Cc: | Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-bugs(at)postgresql(dot)org, pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: Libpq free bug? (Was: [ODBC] IIS Postgres ASP ADO - Problem) |
Date: | 2005-08-01 23:46:24 |
Message-ID: | 26097.1122939984@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-odbc |
Marko Ristola <Marko(dot)Ristola(at)kolumbus(dot)fi> writes:
> I don't know the reason, but that seems to be the problem, that I have
> found.
> isql crashes under conninfo_parse() on line "free(buf)".
In my experience, this is probably a symptom of some code scribbling
past the end of a malloc'd chunk of memory. What is usually right after
the end of a malloc'd chunk is a portion of malloc's own data
structures, and clobbering that data structure is highly likely to
result in a crash in a later call to malloc, free, or related routines.
You might try running the code under something like Electric Fence.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2005-08-02 07:08:32 | Re: Libpq free bug? (Was: [ODBC] IIS Postgres ASP ADO - Problem) |
Previous Message | Tom Lane | 2005-08-01 23:35:36 | Re: Libpq free bug? (Was: [ODBC] IIS Postgres ASP ADO - Problem) |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2005-08-02 07:08:32 | Re: Libpq free bug? (Was: [ODBC] IIS Postgres ASP ADO - Problem) |
Previous Message | Tom Lane | 2005-08-01 23:35:36 | Re: Libpq free bug? (Was: [ODBC] IIS Postgres ASP ADO - Problem) |