Skip site navigation (1) Skip section navigation (2)

BUG #1897: dmalloc memory error on PQconnectdb

From: "Wade Hampton" <wade(dot)hampton(at)nsc1(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1897: dmalloc memory error on PQconnectdb
Date: 2005-09-19 18:18:55
Message-ID: (view raw or whole thread)
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      1897
Logged by:          Wade Hampton
Email address:      wade(dot)hampton(at)nsc1(dot)net
PostgreSQL version: 8.0.3-1
Operating system:   Fedora Core 4
Description:        dmalloc memory error on PQconnectdb

I have a multithreaded application using Postgresql and am testing for
memory leaks.  I compiled and linked with dmallocth.  My PGconnect() is now
causing a dmalloc abort.  The error appears to be a calloc of 0 elements of
40 bytes in libkrb5, called from libpq.

The connection is to:  hostaddr = dbname = mydb

The same code with dmalloc works fine with Fedora Core 2.0, Postgresql

There was a report of a similar problem in earlier versions:


pgsql-bugs by date

Next:From: Herley GomezDate: 2005-09-19 19:23:39
Subject: BUG #1898: Problema En Tipo de dato Real.
Previous:From: Clark, AndrewDate: 2005-09-19 18:01:03
Subject: Solaris - psql returns 0 instead of 1 for file not found.

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group