| От | Tom Lane |
|---|---|
| Тема | Re: Segmentation fault when running queries in sequence |
| Дата | |
| Msg-id | 1430983.1695516874@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Segmentation fault when running queries in sequence (Matt Gibbins <matt_gibbins@fastmail.com.au>) |
| Ответы |
Re: Segmentation fault when running queries in sequence
|
| Список | pgsql-admin |
Matt Gibbins <matt_gibbins@fastmail.com.au> writes:
> I executed continue and the gdb reported '[Detaching after fork from
> child process 2790431]' for several sequences and the remote process
> then crashed.
I think this means that you attached to the parent postmaster
process, not to the per-session child process where the crash
will occur.
On the whole, attaching to a live server process is kind of the
hard way to do this anyhow. I'd recommend enabling saving of
core dump files and then gdb'ing the core file. That avoids
needing to identify in advance the process that is going to crash.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера