On 5 April 2017 at 13:32, Pavan Deolasee <[email protected]> wrote:
>
> Ok. I've extensively updated the README to match the current state of
> affairs. Updated patch set attached.
Hi Pavan,
I run a test on current warm patchset, i used pgbench with a scale of
20 and a fillfactor of 90 and then start the pgbench run with 6
clients in parallel i also run sqlsmith on it.
And i got a core dump after sometime of those things running.
The assertion that fails is:
"""
LOG: statement: UPDATE pgbench_tellers SET tbalance = tbalance + 3519
WHERE tid = 34;
TRAP: FailedAssertion("!(((bool) (((const void*)(&tup->t_ctid) !=
((void *)0)) && (((&tup->t_ctid)->ip_posid & ((((uint16) 1) << 13) -
1)) != 0))))", File: "../../../../src/include/access/htup_details.h",
Line: 659)
"""
--
Jaime Casanova www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
#0 0x00007f42d832e067 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f42d832f448 in __GI_abort () at abort.c:89
#2 0x0000000000842961 in ExceptionalCondition (conditionName=<optimized out>,
errorType=<optimized out>, fileName=<optimized out>, lineNumber=<optimized out>)
at assert.c:54
#3 0x00000000004c48e6 in HeapTupleHeaderGetRootOffset (tup=<optimized out>) at
../../../../src/include/access/htup_details.h:659
#4 heap_update (relation=0x7f4294dc8168, otid=0x2660ff0, newtup=0x6, cid=2,
crosscheck=0x7f42d91bc700, wait=-102 '\232', hufd=0x7ffd14fcebb0,
lockmode=0x7ffd14fceb9c, modified_attrsp=0x7ffd14fceba8,
warm_update=0x7ffd14fceb9b "") at heapam.c:4672
#5 0x000000000062e95d in ExecUpdate (tupleid=0x7ffd14fcec90, oldtuple=0x2324,
slot=0x26606f8, planSlot=0xffffffffffffffff, epqstate=0x2660ff0,
estate=0x25db9e0,
canSetTag=1 '\001') at nodeModifyTable.c:1012
#6 0x000000000062f009 in ExecModifyTable (node=0x25dbc48) at
nodeModifyTable.c:1609
#7 0x0000000000616198 in ExecProcNode (node=node@entry=0x25dbc48) at
execProcnode.c:424
#8 0x00000000006116a6 in ExecutePlan (execute_once=<optimized out>,
dest=0x262e498, direction=<optimized out>, numberTuples=0,
sendTuples=<optimized out>,
operation=CMD_UPDATE, use_parallel_mode=<optimized out>,
planstate=0x25dbc48, estate=0x25db9e0) at execMain.c:1651
#9 standard_ExecutorRun (queryDesc=0x2666100, direction=<optimized out>,
count=0, execute_once=<optimized out>) at execMain.c:360
#10 0x0000000000746822 in ProcessQuery (plan=<optimized out>,
sourceText=0x25ac4e0 "UPDATE pgbench_tellers SET tbalance = tbalance + 3494
WHERE tid = 76;",
params=0x0, queryEnv=0x0, dest=0x262e498, completionTag=0x7ffd14fcf010 "")
at pquery.c:162
#11 0x0000000000746a93 in PortalRunMulti (portal=portal@entry=0x25462d0,
isTopLevel=isTopLevel@entry=1 '\001', setHoldSnapshot=setHoldSnapshot@entry=0
'\000',
dest=dest@entry=0x262e498, altdest=altdest@entry=0x262e498,
completionTag=completionTag@entry=0x7ffd14fcf010 "") at pquery.c:1287
#12 0x00000000007476a2 in PortalRun (portal=0x25462d0,
count=9223372036854775807, isTopLevel=<optimized out>, run_once=<optimized
out>, dest=0x262e498,
altdest=0x262e498, completionTag=0x7ffd14fcf010 "") at pquery.c:800
#13 0x000000000074361b in exec_simple_query (query_string=0x2324 <error: Cannot
access memory at address 0x2324>) at postgres.c:1105
#14 0x0000000000745254 in PostgresMain (argc=1, argv=0x25ac4e0,
dbname=0x2555888 "pgbench", username=0x2528260 "jcasanov") at postgres.c:4075
#15 0x00000000004780f3 in BackendRun (port=0x254dd70) at postmaster.c:4317
#16 BackendStartup (port=0x254dd70) at postmaster.c:3989
#17 ServerLoop () at postmaster.c:1729
#18 0x00000000006d33d0 in PostmasterMain (argc=argc@entry=3,
argv=argv@entry=0x25260c0) at postmaster.c:1337
#19 0x0000000000478f4d in main (argc=3, argv=0x25260c0) at main.c:228
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers