Re: stack smashing detected

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: stack smashing detected
Дата
Msg-id 14992.1208273896@sss.pgh.pa.us
обсуждение исходный текст
Ответ на stack smashing detected  ("Ana Carolina Brito de Almeida" <anacrl@ig.com.br>)
Список pgsql-hackers
"Ana Carolina Brito de Almeida" <anacrl@ig.com.br> writes:
> I'm trying test a version extended of Postgresql, but when I run a command
> after 9 times, I receive this message in psql:
> ***stack smashing detected***
> And Log said that postgres terminated with signal 6.
> I increased buffer to 120MB and the linux buffer (shmmax) to 2GB.
> What value can I put to max_connections?

You're thinking in the wrong terms entirely.  This is a bug that you
need to find/fix in whatever your extension is.  I'd look for things
like overrunning a fixed-size array allocated as a local variable.
        regards, tom lane


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: pulling libpqtypes from queue
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [SQL] rule for update view that updates/inserts into 2 tables