Leaks?

Поиск
Список
Период
Сортировка
От Michael Richards
Тема Leaks?
Дата
Msg-id Pine.BSF.3.96.980419101209.23705A-100000@scifair.acadiau.ca
обсуждение исходный текст
Ответы Re: [HACKERS] Leaks?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] Leaks?  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
Hi.
I was wondering if you used any leak finding tools in your code? There
seems to be a few mallocs that don't get freed, and a few internal buffer
overruns.
I don't know if it will work for you, but I'd suggest trying out a proggie
called memcheck. I use it for wireless terminals (DOS based) and it works
great. When the proggie shuts down, it tells me the location and size of
every structure that wasn't freed. Also it will tell me during runtime
when I overwrite something that I shouldn't have. Just a suggestion.

If I had more time I would dig in and see if I couldn't do some work on
some code here.

-Mike




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

Предыдущее
От: Mattias Kregert
Дата:
Сообщение: Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Следующее
От: Michael Richards
Дата:
Сообщение: Compiling with sfio installed