pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jerry Sievers <gsievers19@comcast.net>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Jerry Sievers <gsievers19@comcast.net>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: SegFault on 9.6.14
Date: Tue, 16 Jul 2019 18:42:03 -0500
Message-ID: <8736j5a6no.fsf@jsievers.enova.com> (raw)
In-Reply-To: <CA+hUKGJA8pSGbAsSTLqbvQoLQ63JS4P9ZjdNQ-y+qVbEyjzAdw@mail.gmail.com>
References: <87ims2amh6.fsf@jsievers.enova.com>
	<20190716001529.uvpfngvxtlu5h2fr@development>
	<87blxuakv4.fsf@jsievers.enova.com>
	<20190716003449.fjegtxinhrqubysu@development>
	<87ftn6ojwf.fsf@jsievers.enova.com>
	<20190716082204.iecyfh6mhu6khdhz@development>
	<87blxta8c7.fsf@jsievers.enova.com>
	<CA+hUKGJA8pSGbAsSTLqbvQoLQ63JS4P9ZjdNQ-y+qVbEyjzAdw@mail.gmail.com>

Thomas Munro <thomas.munro@gmail.com> writes:

> On Wed, Jul 17, 2019 at 11:06 AM Jerry Sievers <gsievers19@comcast.net> wrote:
>
>> (gdb) p *scan->rs_parallel
>> Cannot access memory at address 0x7fa673a54108
>
> So I guess one question is: was it a valid address that's been
> unexpectedly unmapped, or is the pointer corrupted?  Any chance you
> can strace the backend and pull out the map, unmap calls?

There were about 60k lines from strace including these few...


mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3d0127a000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3d01239000
mmap(NULL, 287624, PROT_READ|PROT_WRITE, MAP_SHARED, 124, 0) = 0x7f3d011f2000
mmap(NULL, 262504, PROT_READ|PROT_WRITE, MAP_SHARED, 124, 0) = 0x7f3d011b1000
munmap(0x7f3d011b1000, 262504)          = 0

Thx





-- 
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net





view thread (55+ messages)  latest in thread

Message-ID: <8736j5a6no.fsf@jsievers.enova.com>
Permalink:  ../8736j5a6no.fsf@jsievers.enova.com/
Also on:    postgresql.org/message-id/8736j5a6no.fsf@jsievers.enova.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: gsievers19@comcast.net, thomas.munro@gmail.com, tomas.vondra@2ndquadrant.com
  Subject: Re: SegFault on 9.6.14
  In-Reply-To: <8736j5a6no.fsf@jsievers.enova.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox