| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера