Re: 9.4 beta1 crash on Debian sid/i386

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: 9.4 beta1 crash on Debian sid/i386
Дата
Msg-id 20140518213553.GA3911@msgid.df7cb.de
обсуждение исходный текст
Ответ на Re: 9.4 beta1 crash on Debian sid/i386  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: 9.4 beta1 crash on Debian sid/i386  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Re: Andres Freund 2014-05-18 <20140518091445.GU23662@alap3.anarazel.de>
> Did you measure how large the stack actually was when you got the
> SIGBUS? Should be possible to determine that by computing the offset
> using some local stack variable in one of the depeest stack frames.

Looking at /proc/*/maps, the stack is ffb38000-ffd1e000 = 1944kB for a
process that just got SIGBUS. This seems to be in line with
stack_base_ptr = 0xffd1c317 and the fcinfo address in

#0  hashname (fcinfo=fcinfo@entry=0xffb38024)   at
/build/postgresql-9.4-4lNBaG/postgresql-9.4-9.4~beta1/build/../src/backend/access/hash/hashfunc.c:143

(Things work fine when I set max_stack_depth = '1900kB'.)

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: %d in log_line_prefix doesn't work for bg/autovacuum workers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 9.4 beta1 crash on Debian sid/i386