Re: backend crash on CREATE OR REPLACE of a C-function on Linux
В списке pgsql-bugs по дате отправления:
| От | Andrew Chernow |
|---|---|
| Тема | Re: backend crash on CREATE OR REPLACE of a C-function on Linux |
| Дата | |
| Msg-id | 4985C707.9040806@esilo.com обсуждение исходный текст |
| Ответ на | backend crash on CREATE OR REPLACE of a C-function on Linux (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>) |
| Список | pgsql-bugs |
Stefan Kaltenbrunner wrote: > Hi all! > > While hacking on some C-level functions I noticed that everytime I > replaced the .so file and used CREATE OR REPLACE FUNCTION the backend > immediatly crashed. > > To test that it was not caused by something my function does (or one of > the libaries it links in) I created the following testcase based on the > example in the docs: > I think I've seen this before and reported it. Try removing your so file and then copying it, rather than overwriting it. I think dlopen has something funnky going on with inodes; may need to generate a new one. If it is what I think it is, the problem is with libc not postgres. -- Andrew Chernow eSilo, LLC every bit counts http://www.esilo.com/
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера