Search Postgresql Archives

Re: ECPG Segfaulting on EXEC SQL connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Meskes wrote the following on 01.01.2005 16:08:

On Tue, Dec 28, 2004 at 10:16:04PM -0000, John Smith wrote:

I'm trying to convert a series of C programs written originally using
Informix ESQL to use Postgres' ECPG.
...
575             EXEC SQL connect to pdev_changename;
...
I'm using Postgres 8.0.0rc1 on Redhat 9 (kernel 2.4.20-31.9). The same thing
happens on fedora core 3, and using Postgres 7.4.6-1.FC3-1.

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. :-(


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.


-- With kind regards | Mit freundlichen Gruessen Hans-Michael Stahl Condat AG Alt-Moabit 91d | 10559 Berlin | Germany | Old Europe tel: +49.30.3949-1155 | fax: +49.30.3949-2221155 http://www.condat.de/

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux