Re: [HACKERS] quickdie doing memory allocations (was atomic pin/unpin causing errors)

2016-05-05 Thread Andres Freund
On 2016-05-05 16:32:38 -0400, Robert Haas wrote: > On Thu, May 5, 2016 at 11:51 AM, Andres Freund wrote: > >> #7 0x00080149e3d6 in nsdispatch () from /lib/libc.so.7 > >> #8 0x0008014a41c6 in __cxa_finalize () from /lib/libc.so.7 > >> #9 0x00080144525c in exit () from /lib/libc.so.7

Re: [HACKERS] quickdie doing memory allocations (was atomic pin/unpin causing errors)

2016-05-05 Thread Robert Haas
On Thu, May 5, 2016 at 11:51 AM, Andres Freund wrote: >> #7 0x00080149e3d6 in nsdispatch () from /lib/libc.so.7 >> #8 0x0008014a41c6 in __cxa_finalize () from /lib/libc.so.7 >> #9 0x00080144525c in exit () from /lib/libc.so.7 >> #10 0x008e1bc2 in quickdie (postgres_signal_ar

Re: [HACKERS] quickdie doing memory allocations (was atomic pin/unpin causing errors)

2016-05-05 Thread Andres Freund
Hi, On 2016-05-05 15:56:45 -0400, Tom Lane wrote: > Andres Freund writes: > >> #0 0x0008014321d7 in sbrk () from /lib/libc.so.7 > >> #1 0x000801431ddd in sbrk () from /lib/libc.so.7 > >> #2 0x00080142e5bb in sbrk () from /lib/libc.so.7 > >> #3 0x00080142e085 in sbrk () from /l

Re: [HACKERS] quickdie doing memory allocations (was atomic pin/unpin causing errors)

2016-05-05 Thread Tom Lane
Andres Freund writes: >> #0 0x0008014321d7 in sbrk () from /lib/libc.so.7 >> #1 0x000801431ddd in sbrk () from /lib/libc.so.7 >> #2 0x00080142e5bb in sbrk () from /lib/libc.so.7 >> #3 0x00080142e085 in sbrk () from /lib/libc.so.7 >> #4 0x00080142de28 in sbrk () from /lib/l

Re: [HACKERS] quickdie doing memory allocations (was atomic pin/unpin causing errors)

2016-05-05 Thread Andres Freund
Hi Teodor, Thanks for analyzing this. On 2016-05-05 13:50:09 +0300, Teodor Sigaev wrote: > > I'll try to get a coredump after SIGSEGV, but it could take a time. > > Got it! > > #0 0x0008014321d7 in sbrk () from /lib/libc.so.7 > #1 0x000801431ddd in sbrk () from /lib/libc.so.7 > #2 0x