Re: 9.4 beta1 crash on Debian sid/i386 - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: 9.4 beta1 crash on Debian sid/i386
Date
Msg-id 20140519091808.GA7296@msgid.df7cb.de
Whole thread Raw
In response to Re: 9.4 beta1 crash on Debian sid/i386  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 9.4 beta1 crash on Debian sid/i386
List pgsql-hackers
Re: Tom Lane 2014-05-18 <26862.1400449277@sss.pgh.pa.us>
> OK, so the problem is that getrlimit(RLIMIT_STACK) is lying to us about
> the available stack depth.  I'd classify that as a kernel bug.  I wonder
> if it's a different manifestation of this issue:
> https://bugzilla.redhat.com/show_bug.cgi?id=952946
> 
> A different line of thought is that if ulimit -s is 8192, why are we
> not getting 8MB of stack?  But in any case, if we're only going to
> get 1944kB, getrlimit ought to tell us that.

The issue looks exactly like what you are writing in that bugzilla
bug, including the fact that [stack] in /proc/maps gets replaced by
[heap] once the bus error happens (Comment 11).

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



pgsql-hackers by date:

Previous
From: Raghavendra
Date:
Subject: Re: Re: [GENERAL] Is it typo in pg_stat_replication column name in PG 9.4 ?
Next
From: Dilip kumar
Date:
Subject: Re: Allowing join removals for more join types