Re: BUG #5235: Segmentation fault under high load through JDBC

Поиск
Список
Период
Сортировка
Искать
От
Andrew Gierth
Тема
Re: BUG #5235: Segmentation fault under high load through JDBC
Дата
Msg-id
877hsw9mrz.fsf@news-spur.riddles.org.uk
Ответ на
Список
Дерево обсуждения
BUG #5235: Segmentation fault under high load through JDBC "Oleg Yurchenko" <oleg@fts.ee>
Re: BUG #5235: Segmentation fault under high load through JDBC Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5235: Segmentation fault under high load through JDBC Craig Ringer <craig@postnewspapers.com.au>
Re: BUG #5235: Segmentation fault under high load through JDBC Oleg Jurtšenko <oleg.jurtsenko@fts.ee>
Re: BUG #5235: Segmentation fault under high load through JDBC Robert Haas <robertmhaas@gmail.com>
Re: BUG #5235: Segmentation fault under high load through JDBC Oleg Jurtšenko <oleg.jurtsenko@fts.ee>
Re: BUG #5235: Segmentation fault under high load through JDBC Robert Haas <robertmhaas@gmail.com>
Re: BUG #5235: Segmentation fault under high load through JDBC Oleg Jurtšenko <oleg.jurtsenko@fts.ee>
Re: BUG #5235: Segmentation fault under high load through JDBC Robert Haas <robertmhaas@gmail.com>
Re: BUG #5235: Segmentation fault under high load through JDBC Oleg Jurtšenko <oleg.jurtsenko@fts.ee>
Re: BUG #5235: Segmentation fault under high load through JDBC Robert Haas <robertmhaas@gmail.com>
Re: BUG #5235: Segmentation fault under high load through JDBC Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5235: Segmentation fault under high load through JDBC Oleg Jurtšenko <oleg@fts.ee>
Re: BUG #5235: Segmentation fault under high load through JDBC Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: BUG #5235: Segmentation fault under high load through JDBC Oleg Jurtšenko <oleg@fts.ee>
Re: BUG #5235: Segmentation fault under high load through JDBC Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: BUG #5235: Segmentation fault under high load through JDBC Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5235: Segmentation fault under high load through JDBC Oleg Jurtšenko <oleg@fts.ee>
Re: BUG #5235: Segmentation fault under high load through JDBC Robert Haas <robertmhaas@gmail.com>
Re: BUG #5235: Segmentation fault under high load through JDBC Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: BUG #5235: Segmentation fault under high load through JDBC Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Re: BUG #5235: Segmentation fault under high load through JDBC Tom Lane <tgl@sss.pgh.pa.us>
>>>>> "Andrew" == Andrew Gierth  writes:

 Andrew> What are the definitions of your instr() and ad_parent_tree()
 Andrew> functions?

Well, there's so much wrong with that ad_parent_tree function - it's
always going to recurse infinitely (with a new subxact per recursion
level, even) regardless of the data, and the only thing that will stop
it is when it throws an exception due to reaching the max stack depth
- and it then CATCHES that exception and returns.

Still, even though the code is preposterous, the result shouldn't be a
segfault. I wasn't able to reproduce one myself (using 8.3.7 on
freebsd 7.2) however.

-- 
Andrew (irc:RhodiumToad)
В списке pgsql-bugs по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ