Re: Seg Fault when using modules linked both to libpq and libodbcpsql.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Seg Fault when using modules linked both to libpq and libodbcpsql.
Дата
Msg-id 1224.1070470375@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Seg Fault when using modules linked both to libpq and libodbcpsql.  (Joseph Tate <jtate+pgsql@dragonstrider.com>)
Список pgsql-bugs
Joseph Tate <jtate+pgsql@dragonstrider.com> writes:
> (gdb) where
> #0  0xb69f7987 in CC_send_function () from /usr/lib/libodbcpsql.so.2
> #1  0xb6a06940 in lo_creat () from /usr/lib/libodbcpsql.so.2
> #2  0xb69c6c23 in lo_import () from /usr/lib/libpq.so.3
> #3  0xb69e4121 in zif_pg_lo_import (ht=2, return_value=0x8307424,
>      this_ptr=0x0, return_value_used=1)
>      at /usr/src/debug/php-4.3.2/ext/pgsql/pgsql.c:2099

> I don't know why libpq is calling into the libodbcpsql library.

It's not supposed to do that.

> It appears that somehow that libodbcpsql stuff is interfering with
> libpq.  Are there some symbols that could be clobbering each other?

Looks like a conflict on "lo_creat", to start with ...

            regards, tom lane

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

Предыдущее
От: Joseph Tate
Дата:
Сообщение: Bug in pg_restore or in postmaster itself?
Следующее
От: Alvar Freude
Дата:
Сообщение: bytea, index and like operator