Re: [HACKERS] SEGFAULT in HEAD with replication

From: Craig Ringer <craig(dot)ringer(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-jdbc(at)postgresql(dot)org, Jorge Solórzano <jorsol(at)gmail(dot)com>, Dave Cramer <davecramer(at)gmail(dot)com>, Vladimir Gordiychuk <folyga(at)gmail(dot)com>
Subject: Re: [HACKERS] SEGFAULT in HEAD with replication
Date: 2017-01-19 20:31:47
Message-ID: CAMsr+YH0Xp5kUnUbx8K=iZGCOiU+LvTmLvLXS6S5BY7m0f8WbA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On 20 Jan. 2017 04:13, "Robert Haas" <robertmhaas(at)gmail(dot)com> wrote:

On Thu, Jan 19, 2017 at 12:09 PM, Dave Cramer <davecramer(at)gmail(dot)com> wrote:
> I would have expected more, but this is what I have
>
> bt full
> #0 InitPredicateLocks () at predicate.c:1250
> i = <optimized out>
> info = {num_partitions = 1, ssize = 140731424825288, dsize = 1,
> max_dsize = 0, ffactor = 140731424836952, keysize =
> 140356326474085,
> entrysize = 140728909791233, hash = 0x7ffe96960d58,
> match = 0x16da2d1, keycopy = 0x7ffe96960d58, alloc = 0x1703af0,
> hcxt = 0x16da2d0, hctl = 0x0}
> max_table_size = 117899280
> requestSize = <optimized out>
> found = 0 '\000'

I would say that's not a valid stack trace. There hasn't been a
change made to that file since October of last year, and the crash is
apparently recent; also, line 1250 in that file doesn't look like
something that can crash. I would guess that you're using an
executable which doesn't match the core dump, or perhaps that you
don't have complete debug symbols.

You really need the same compiler flags, configure opts and preferably much
the same compiler. Similar or same C library etc.

Can't we get the executables from Travis CI or from whoever produced the
core? Or get them to obtain a bt ?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Cramer 2017-01-19 20:48:56 Re: [JDBC] SEGFAULT in HEAD with replication
Previous Message Dmitry Fedin 2017-01-19 19:52:13 [PATCH] Change missleading comment for tm_mon field of pg_tm structure

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2017-01-19 20:48:56 Re: [JDBC] SEGFAULT in HEAD with replication
Previous Message Robert Haas 2017-01-19 17:13:08 Re: [HACKERS] SEGFAULT in HEAD with replication