Re: [HACKERS] 6.1 issues resolved

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] 6.1 issues resolved
Дата
Msg-id 1023129611d2a3fe122ccbdbc9c48609
обсуждение исходный текст
Ответ на [HACKERS] 6.1 issues resolved  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
On Sun, 1 Jun 1997, Igor wrote:

> I would guess purifying the backend should be an effor of every developer
> who has purify....BTW: I just ran purify on pg_dump and it came out with a
> ton of memory leaks (and 40% of potential leaks)...I 'll work on that
> today...

Igor...

    Before you hit any more 'Purify bugs'...have you addressed the
problem I reported earlier concerning:

# diff expected/boolean.out results/boolean.out | head
6a7,12
> psql in free(): warning: chunk is already free.
> psql in free(): warning: chunk is already free.
> psql in free(): warning: chunk is already free.
> psql in free(): warning: chunk is already free.
> psql in free(): warning: chunk is already free.
> psql in free(): warning: page is already free.

    This goes on for about 337 lines, and is *after* applying your
previous psql related patch.


>
> =+=------------------------/\---------------------------------=+=
>        Igor Natanzon      |**|   E-mail: igor@sba.miami.edu
> =+=------------------------\/---------------------------------=+=
>
> On Sun, 1 Jun 1997, Bruce Momjian wrote:
>
> > >
> > > I ran purify yesterday on psql, and it found several memory leaks in
> > > libpq. I fixed a couple of them and will post a patch in a couple of
> > > hours. Unfortunately I only have a signle terminal window for now so I
> > > can't work on the backend but libpq is significant too..BTW: There is a
> > > bug right now in psql:
> > >     run psql.
> > >     do \m to turn on monitor style output.
> > >     select *  from some table...You should see (NULL) instead of
> > >     the row separator....
> > >
> > > I fixed it too and will send a patch for it together with memory leak
> > > patch (they are actually related)...
> >
> > That's great.  Glad you can help out.  psql/libpq are certainly
> > important to Purify.
> >
> > The backend Purify is going to be ugly, I would guess, because it is so
> > big.  Those memory issues are hard to find, and most of use don't have
> > Purify to help.
> >
> > --
> > Bruce Momjian
> > maillist@candle.pha.pa.us
> >
>

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org

------------------------------

В списке pgsql-hackers по дате отправления: