Re: Andres Freund 2014-05-18 <20140518091445.gu23...@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
-- 
c...@df7cb.de | http://www.df7cb.de/


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to