Re: BUG #1440: ecpg seg faults

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1440: ecpg seg faults
Дата
Msg-id 24344.1106597017@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1440: ecpg seg faults  (Edmund Bacon <ebacon@onesystem.com>)
Ответы Re: BUG #1440: ecpg seg faults
Список pgsql-bugs
Edmund Bacon <ebacon@onesystem.com> writes:
> According to the backtrace, it appears to be dieing in malloc.

That's consistent with the idea that the multiple free is the source of
trouble --- multiple free() could corrupt malloc's private data
structures to the point of causing a crash in a later malloc call.

The least painful way of locating the problem would be to relink ecpg
with a debugging malloc package, which could tell you exactly where the
bad free() call is.  You'd probably want to rebuild with --enable-debug
too.

            regards, tom lane

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