Trouble debugging contrib/fulltextindex

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Trouble debugging contrib/fulltextindex
Дата
Msg-id GNELIHDDFBOCMGBFGEFOEEMPCDAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответы Re: Trouble debugging contrib/fulltextindex
Список pgsql-hackers
Hi All,

Few quick questions.

1. How do you compile contribs with full debugging symbols.  I always get
heuristic-fencepost-blah probs with gdb even though I've configured postgres
with all the debugging stuff.  Makes it really hard to find probs in the
contribs.

2. Should contribs exclusively use palloc/pfree?  I notice that
fulltextindex is using malloc and free - is there any real reason not to
change them?

I've attached the current tarball (extract in contrib) but my regression
test is crashing and I've had to fill it full of elogs to see that nargs is
being overwritten by an overflow or something.

Florian - feel like helping me test/fix it.  go 'gmake install' and then
'gmake installcheck' to test it.

Thanks,

Chris

Вложения

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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: pgstattuple change using SRF
Следующее
От: Neil Conway
Дата:
Сообщение: Re: @(#)Mordred Labs advisory 0x0003: Buffer overflow in