From: | Christoph Berg <cb(at)df7cb(dot)de> |
---|---|
To: | Andres Freund <andres(at)2ndquadrant(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: 9.4 beta1 crash on Debian sid/i386 |
Date: | 2014-05-18 21:35:53 |
Message-ID: | 20140518213553.GA3911@msgid.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Re: Andres Freund 2014-05-18 <20140518091445(dot)GU23662(at)alap3(dot)anarazel(dot)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(at)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(at)df7cb(dot)de | http://www.df7cb.de/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-05-18 21:41:17 | Re: 9.4 beta1 crash on Debian sid/i386 |
Previous Message | Alvaro Herrera | 2014-05-18 20:19:38 | Re: %d in log_line_prefix doesn't work for bg/autovacuum workers |