Re: backend crash following load command

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: backend crash following load command
Дата
Msg-id 20061128203019.GJ29938@svana.org
обсуждение исходный текст
Ответ на Re: backend crash following load command  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: backend crash following load command
Список pgsql-general
On Tue, Nov 28, 2006 at 03:23:36PM -0500, Tom Lane wrote:
> I'd suggest putting together a simple stand-alone test case and filing
> a bug report against glibc.  You probably just need
>
>     dlopen(...);
>     system("cp -f over the .so file");
>     dlsym(...);

How can glibc do anything about this? dlopen() mmaps the .so into
memory and the cp overwrites what was mmaped, changing what is in
memory.

Ideally, the cp should fail with ETXTBSY, but that doesn't happen, so
what else can you do?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: backend crash following load command
Следующее
От: Tom Lane
Дата:
Сообщение: Re: backend crash following load command