backtrace.txt

text/plain

Filename: backtrace.txt
Type: text/plain
Part: 5
Message: Parallel Bitmap Heap Scans segfaults due to (tbm->dsa==NULL) on PostgreSQL 10
Core was generated by `postgres: tomas test [local] SELECT              '.
Program terminated with signal 6, Aborted.
#0  0x00007fe21265d1f7 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-196.el7.x86_64
(gdb) bt
#0  0x00007fe21265d1f7 in raise () from /lib64/libc.so.6
#1  0x00007fe21265e8e8 in abort () from /lib64/libc.so.6
#2  0x00000000008468e7 in ExceptionalCondition (conditionName=conditionName@entry=0x9d213a "!(tbm->dsa != ((void *)0))", errorType=errorType@entry=0x88fc69 "FailedAssertion", 
    fileName=fileName@entry=0x9d2014 "tidbitmap.c", lineNumber=lineNumber@entry=800) at assert.c:54
#3  0x000000000065b04f in tbm_prepare_shared_iterate (tbm=tbm@entry=0x2d89610) at tidbitmap.c:800
#4  0x000000000062294a in BitmapHeapNext (node=node@entry=0x2ba6848) at nodeBitmapHeapscan.c:155
#5  0x0000000000616c5b in ExecScanFetch (recheckMtd=0x623050 <BitmapHeapRecheck>, accessMtd=0x622250 <BitmapHeapNext>, node=0x2ba6848) at execScan.c:97
#6  ExecScan (node=0x2ba6848, accessMtd=0x622250 <BitmapHeapNext>, recheckMtd=0x623050 <BitmapHeapRecheck>) at execScan.c:164
#7  0x00000000006319ca in ExecProcNode (node=0x2ba6848) at ../../../src/include/executor/executor.h:250
#8  ExecNestLoop (pstate=0x2ba6670) at nodeNestloop.c:109
#9  0x000000000061d1c9 in ExecProcNode (node=0x2ba6670) at ../../../src/include/executor/executor.h:250
#10 fetch_input_tuple (aggstate=aggstate@entry=0x2ba5fb8) at nodeAgg.c:688
#11 0x000000000061f4a7 in agg_retrieve_direct (aggstate=0x2ba5fb8) at nodeAgg.c:2313
#12 ExecAgg (pstate=0x2ba5fb8) at nodeAgg.c:2124
#13 0x0000000000624c75 in ExecProcNode (node=0x2ba5fb8) at ../../../src/include/executor/executor.h:250
#14 gather_getnext (gatherstate=0x2ba5c60) at nodeGather.c:281
#15 ExecGather (pstate=0x2ba5c60) at nodeGather.c:215
#16 0x000000000061d1c9 in ExecProcNode (node=0x2ba5c60) at ../../../src/include/executor/executor.h:250
#17 fetch_input_tuple (aggstate=aggstate@entry=0x2ba55a8) at nodeAgg.c:688
#18 0x000000000061f4a7 in agg_retrieve_direct (aggstate=0x2ba55a8) at nodeAgg.c:2313
#19 ExecAgg (pstate=0x2ba55a8) at nodeAgg.c:2124
#20 0x000000000062ae39 in ExecProcNode (node=0x2ba55a8) at ../../../src/include/executor/executor.h:250
#21 ExecLimit (pstate=0x2ba4df0) at nodeLimit.c:95
#22 0x0000000000610d12 in ExecProcNode (node=0x2ba4df0) at ../../../src/include/executor/executor.h:250
#23 ExecutePlan (execute_once=<optimized out>, dest=0x2d484f0, direction=<optimized out>, numberTuples=0, sendTuples=1 '\001', operation=CMD_SELECT, use_parallel_mode=<optimized out>, planstate=0x2ba4df0, 
    estate=0x2ba4b40) at execMain.c:1721
#24 standard_ExecutorRun (queryDesc=0x2be7da0, direction=<optimized out>, count=0, execute_once=<optimized out>) at execMain.c:363
#25 0x000000000074b50b in PortalRunSelect (portal=portal@entry=0x2a34050, forward=forward@entry=1 '\001', count=0, count@entry=9223372036854775807, dest=dest@entry=0x2d484f0) at pquery.c:932
#26 0x000000000074ca18 in PortalRun (portal=portal@entry=0x2a34050, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=1 '\001', run_once=run_once@entry=1 '\001', dest=dest@entry=0x2d484f0, 
    altdest=altdest@entry=0x2d484f0, completionTag=completionTag@entry=0x7ffc8dad21c0 "") at pquery.c:773
#27 0x000000000074875b in exec_simple_query (
    query_string=0x2a99060 "select\r\n\tsum(l_extendedprice* (1 - l_discount)) as revenue\r\nfrom\r\n\tlineitem,\r\n\tpart\r\nwhere\r\n\t(\r\n\t\tp_partkey = l_partkey\r\n\t\tand p_brand = 'Brand#51'\r\n\t\tand p_container in ('SM CASE', 'SM BOX', 'SM PACK"...) at postgres.c:1099
#28 0x0000000000749a03 in PostgresMain (argc=<optimized out>, argv=argv@entry=0x2a434f8, dbname=0x2a43388 "test", username=<optimized out>) at postgres.c:4088
#29 0x000000000047665f in BackendRun (port=0x2a3c8c0) at postmaster.c:4357
#30 BackendStartup (port=0x2a3c8c0) at postmaster.c:4029
#31 ServerLoop () at postmaster.c:1753
#32 0x00000000006d70d9 in PostmasterMain (argc=argc@entry=3, argv=argv@entry=0x2a14b20) at postmaster.c:1361
#33 0x00000000004774c1 in main (argc=3, argv=0x2a14b20) at main.c:228