Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hHebW-0004gk-Pp for pgsql-bugs@arkaria.postgresql.org; Sat, 20 Apr 2019 01:15:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hHebU-0002ik-89 for pgsql-bugs@arkaria.postgresql.org; Sat, 20 Apr 2019 01:15:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hHebT-0002iO-QX for pgsql-bugs@lists.postgresql.org; Sat, 20 Apr 2019 01:15:40 +0000 Received: from cyclops.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hHebL-0000YA-DB for pgsql-bugs@postgresql.org; Sat, 20 Apr 2019 01:15:38 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 84B6821C4041 for ; Sat, 20 Apr 2019 04:15:28 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=x tagged_above=-99 required=4 WHITELISTED tests=[] autolearn=unavailable Received: from [192.168.3.134] (broadband-95-84-150-205.ip.moscow.rt.ru [95.84.150.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id 100C121C402B for ; Sat, 20 Apr 2019 04:15:27 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1555722928; bh=6AY+Sv9LyqKUdsoy0o4ZmYonai0nDjNGq2YvY4YVmWY=; h=To:From:Subject:Date; b=hDwTENsD9gVmy8FiqTuG92goK7sJ4RVPzJ/EIIlHLwwldgpnLY1iWpnOSRKRwPuZD bBzOwo0CNthZSvfsuKpRpwbQCW/LC7gWFtr3aB4SP5ITIqz6wVINQeAgBrZ3svCNaq iCU1BdEHMiYZIu5F15oeRF3WwdogOHxfFJwx4Rqc= To: Pg Bugs From: Grigory Smolkin Subject: amcheck assert failure Message-ID: <906cac0a-1201-e981-5043-7ca0d97d2a17@postgrespro.ru> Date: Sat, 20 Apr 2019 04:15:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, everyone! I was running some automated tests with amcheck on PG11 and encountered following assertion failure: TRAP: FailedAssertion("!((( (&(itup)->t_tid)->ip_posid ) & 0xF000) == 0)", File: "nbtutils.c", Line: 2168) 2019-04-20 01:03:37 GMT [17923]: [1-1] LOG: connection received: host=[local] 2019-04-20 01:03:37 GMT [17923]: [2-1] LOG: connection authorized: user=gsmol database=db1 2019-04-20 01:03:37 GMT [17886]: [9-1] LOG: server process (PID 17922) was terminated by signal 6: Aborted 2019-04-20 01:03:37 GMT [17886]: [10-1] DETAIL: Failed process was running: SELECT public.bt_index_check('pgbench_accounts_pkey', false); 1. pgbench setup in question was initialized with scale_factor 5. bt_index_check() was launched right after initialization. 2. pg_config: BINDIR = /home/gsmol/task/11/bin DOCDIR = /home/gsmol/task/11/share/doc/postgresql HTMLDIR = /home/gsmol/task/11/share/doc/postgresql INCLUDEDIR = /home/gsmol/task/11/include PKGINCLUDEDIR = /home/gsmol/task/11/include/postgresql INCLUDEDIR-SERVER = /home/gsmol/task/11/include/postgresql/server LIBDIR = /home/gsmol/task/11/lib PKGLIBDIR = /home/gsmol/task/11/lib/postgresql LOCALEDIR = /home/gsmol/task/11/share/locale MANDIR = /home/gsmol/task/11/share/man SHAREDIR = /home/gsmol/task/11/share/postgresql SYSCONFDIR = /home/gsmol/task/11/etc/postgresql PGXS = /home/gsmol/task/11/lib/postgresql/pgxs/src/makefiles/pgxs.mk CONFIGURE = '--prefix=/home/gsmol/task/11' '--enable-debug' '--enable-cassert' 'CFLAGS=-g3 -O0' '--with-python' CC = gcc CPPFLAGS = -D_GNU_SOURCE CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g3 -O0 CFLAGS_SL = -fPIC LDFLAGS = -Wl,--as-needed -Wl,-rpath,'/home/gsmol/task/11/lib',--enable-new-dtags LDFLAGS_EX = LDFLAGS_SL = LIBS = -lpgcommon -lpgport -lpthread -lz -lreadline -lrt -lcrypt -ldl -lm VERSION = PostgreSQL 11.2 3. PG configuration: listen_addresses = '127.0.0.1' max_worker_processes = 10 port = 21387 fsync = off log_statement = 'all' max_replication_slots = 10 hot_standby = on wal_keep_segments = 20 wal_level = 'replica' max_connections = 100 shared_buffers = 10MB fsync = off wal_level = logical hot_standby = off log_line_prefix = '%t [%p]: [%l-1] ' log_statement = none log_duration = on log_min_duration_statement = 0 log_connections = on log_disconnections = on max_wal_senders = 10 P.S. If some additional information will be needed, I`d be glad to help. -- Grigory Smolkin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company