Re: libpq block allocated before my malloc handler inits?

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: libpq block allocated before my malloc handler inits?
Дата
Msg-id
20080629231014.GA5668@alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
libpq block allocated before my malloc handler inits? rob <rob@robstoddard.com>
Re: libpq block allocated before my malloc handler inits? Alvaro Herrera <alvherre@commandprompt.com>
Re: libpq block allocated before my malloc handler inits? Russell Smith <mr-russ@pws.com.au>
Re: libpq block allocated before my malloc handler inits? rob <rob@robstoddard.com>
rob wrote:

> Is there something that runs before my malloc init function in libpq?   
> If there is, is there a way to make it happen afterwards?  Is there a  
> library interface which doesn't have hidden init functions?

I don't see anything in our code that would initialize stealthily.
Maybe it's something we're being linked against -- pthread perhaps?
OpenSSL?  Maybe you'd have more luck if you noted what is libpq doing
when this invalid free is called.  Perhaps call abort() and get a stack
trace from the resulting dump.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-general по дате отправления
От: Bill Moran
Дата:
От: Russell Smith
Дата:
FAQ