bt-with-asserts-O0.txt
text/plain
Filename: bt-with-asserts-O0.txt
Type: text/plain
Part: 2
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000000003424d6 in pg_rightmost_one_pos64 (word=9259542121126297600) at ../../../src/include/port/pg_bitutils.h:148
148 Assert(word != 0);
(gdb) bt full
#0 0x00000000003424d6 in pg_rightmost_one_pos64 (word=9259542121126297600) at ../../../src/include/port/pg_bitutils.h:148
No locals.
#1 0x000000000034290a in fasthash_accum_cstring_aligned (hs=0x1ffeffe5b0, str=0x6e312c8 "og") at ../../../src/include/common/hashfn_unstable.h:298
start = 0x6e312c0 "pg_catalog"
remainder = 115544768
zero_byte_low = 9259542121126297600
#2 0x00000000003429ac in fasthash_accum_cstring (hs=0x1ffeffe5b0, str=0x6e312c0 "pg_catalog") at ../../../src/include/common/hashfn_unstable.h:323
len = 0
len_check = 10
hs_check = {accum = 26479, hash = 4431955251355380062}
#3 0x0000000000342afd in spcachekey_hash (key=...) at namespace.c:268
hs = {accum = 7809651190464997232, hash = 9554609706923330532}
sp_len = 0
#4 0x00000000003437c3 in nsphash_lookup (tb=0x71e5e00, key=...) at ../../../src/include/lib/simplehash.h:836
hash = 0
#5 0x00000000003439d6 in spcache_insert (searchPath=0x6e312c0 "pg_catalog", roleid=10) at namespace.c:394
entry = 0x71e5d00
cachekey = {searchPath = 0x6e312c0 "pg_catalog", roleid = 10}
#6 0x0000000000349b89 in cachedNamespacePath (searchPath=0x6e312c0 "pg_catalog", roleid=10) at namespace.c:4251
oldcxt = 0x6ec4f88
entry = 0x6fd8858
#7 0x0000000000349cc2 in recomputeNamespacePath () at namespace.c:4309
roleid = 10
pathChanged = false
entry = 0xc0a58cfefe9b00
#8 0x000000000034458e in RelnameGetRelid (relname=0x6efff68 "pg_authid") at namespace.c:890
relid = 3466
l = 0x100000000000000
#9 0x0000000000343ccc in RangeVarGetRelidExtended (relation=0x6efff88, lockmode=1, flags=0, callback=0x0, callback_arg=0x0) at namespace.c:539
inval_count = 0
relId = 4278183792
oldRelId = 0
retry = false
missing_ok = false
__func__ = "RangeVarGetRelidExtended"
#10 0x00000000003240ed in objectNamesToOids (objtype=OBJECT_TABLE, objnames=0x6efffd8, is_grant=false) at aclchk.c:701
relvar = 0x6efff88
relOid = 0
cell__state = {l = 0x6efffd8, i = 0}
objects = 0x0
cell = 0x6effff0
lockmode = 1
#11 0x0000000000323814 in ExecuteGrantStmt (stmt=0x6f000a0) at aclchk.c:425
istmt = {is_grant = false, objtype = OBJECT_TABLE, objects = 0x0, all_privs = 144, privileges = 4358515, col_privs = 0x1ffeffe8b0, grantees = 0x42801d <EventTriggerBeginCompleteQuery+17>, grant_option = 112, behavior = DROP_RESTRICT}
cell = 0x0
errormsg = 0x71b4ad0 "~", '\177' <repeats 199 times>...
all_privileges = 137422170220
__func__ = "ExecuteGrantStmt"
#12 0x00000000007cf762 in ProcessUtilitySlow (pstate=0x71b49e0, pstmt=0x6f00150, queryString=0x6eff580 "REVOKE ALL ON pg_authid FROM public;\n", context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0xdfcca0 <debugtupDR>, qc=0x1ffefff090) at utility.c:1812
_save_exception_stack = 0x1ffeffef10
_save_context_stack = 0x0
_local_sigjmp_buf = {{__jmpbuf = {0, 4259416265021831164, 1991968, 137422173200, 0, 0, 4259416265145563132, 4261392063212664828}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1296236544, 117345944, 24, 0, 0, 0, 1296236544, 117345824, 16, 0, 0, 0, 0, 54225220520549120, 137422171344}}}}
_do_rethrow = false
parsetree = 0x6f000a0
isTopLevel = true
isCompleteQuery = true
needCleanup = false
commandCollected = false
address = {classId = 117345944, objectId = 0, objectSubId = 1}
secondaryObject = {classId = 0, objectId = 0, objectSubId = 0}
__func__ = "ProcessUtilitySlow"
#13 0x00000000007cd8a4 in standard_ProcessUtility (pstmt=0x6f00150, queryString=0x6eff580 "REVOKE ALL ON pg_authid FROM public;\n", readOnlyTree=false, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0xdfcca0 <debugtupDR>, qc=0x1ffefff090) at utility.c:969
stmt = 0x6f000a0
parsetree = 0x6f000a0
isTopLevel = true
isAtomicContext = false
pstate = 0x71b49e0
readonly_flags = 0
__func__ = "standard_ProcessUtility"
#14 0x00000000007ccbc1 in ProcessUtility (pstmt=0x6f00150, queryString=0x6eff580 "REVOKE ALL ON pg_authid FROM public;\n", readOnlyTree=false, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0xdfcca0 <debugtupDR>, qc=0x1ffefff090) at utility.c:523
No locals.
#15 0x00000000007cb624 in PortalRunUtility (portal=0x6fbaaa0, pstmt=0x6f00150, isTopLevel=true, setHoldSnapshot=false, dest=0xdfcca0 <debugtupDR>, qc=0x1ffefff090) at pquery.c:1152
No locals.
#16 0x00000000007cb89e in PortalRunMulti (portal=0x6fbaaa0, isTopLevel=true, setHoldSnapshot=false, dest=0xdfcca0 <debugtupDR>, altdest=0xdfcca0 <debugtupDR>, qc=0x1ffefff090) at pquery.c:1309
pstmt = 0x6f00150
stmtlist_item__state = {l = 0x6f004a0, i = 0}
active_snapshot_set = false
stmtlist_item = 0x6f004b8
#17 0x00000000007caced in PortalRun (portal=0x6fbaaa0, count=9223372036854775807, isTopLevel=true, dest=0xdfcca0 <debugtupDR>, altdest=0xdfcca0 <debugtupDR>, qc=0x1ffefff090) at pquery.c:787
_save_exception_stack = 0x1ffefff1d0
_save_context_stack = 0x0
_local_sigjmp_buf = {{__jmpbuf = {0, 4259416265049094140, 1991968, 137422173200, 0, 0, 4259416265072162812, 4261392059674507260}, __mask_was_saved = 0, __saved_mask = {__val = {10311311, 64, 54225220520549120, 137422172064, 10315239, 137422172103, 4411134904, 13045126, 119228640, 137422172128, 10546663, 0, 137422172174, 4294967296, 117345536, 137422173200}}}}
_do_rethrow = false
result = false
nprocessed = 137422173200
saveTopTransactionResourceOwner = 0x6ec93b8
saveTopTransactionContext = 0x6fe8d00
saveActivePortal = 0x0
saveResourceOwner = 0x6ec93b8
savePortalContext = 0x0
saveMemoryContext = 0x6fe8d00
__func__ = "PortalRun"
#18 0x00000000007c3750 in exec_simple_query (query_string=0x6eff580 "REVOKE ALL ON pg_authid FROM public;\n") at postgres.c:1271
cmdtaglen = 6
snapshot_set = false
per_parsetree_context = 0x0
plantree_list = 0x6f004a0
parsetree = 0x6f000f0
commandTag = CMDTAG_REVOKE
qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0}
querytree_list = 0x6f00470
portal = 0x6fbaaa0
receiver = 0xdfcca0 <debugtupDR>
format = 0
cmdtagname = 0xc09ced "REVOKE"
parsetree_item__state = {l = 0x6f00120, i = 0}
dest = DestDebug
oldcontext = 0x6fe8d00
parsetree_list = 0x6f00120
parsetree_item = 0x6f00138
save_log_statement_stats = false
was_logged = false
use_implicit_block = false
msec_str = "\320\360\377\376\037\000\000\000\020\263W\000\000\000\000\000\061\243\247\300\357\320\002\000\200\361\377\376\037\000\000"
__func__ = "exec_simple_query"
#19 0x00000000007c8b38 in PostgresMain (dbname=0x6e3ad50 "template1", username=0x6e16130 "postgres") at postgres.c:4691
query_string = 0x6eff580 "REVOKE ALL ON pg_authid FROM public;\n"
firstchar = 81
input_message = {data = 0x6eff580 "REVOKE ALL ON pg_authid FROM public;\n", len = 38, maxlen = 1024, cursor = 38}
local_sigjmp_buf = {{__jmpbuf = {10849024, 4259416265479010300, 1991968, 137422173200, 0, 0, 4259416265418192892, 4261392060253976572}, __mask_was_saved = 1, __saved_mask = {__val = {0, 115337696, 116000232, 4869, 115337696, 116000232, 17408, 0, 115337696, 0, 115337696, 137422172816, 7970104, 0, 115337696, 137422172848}}}}
send_ready_for_query = false
idle_in_transaction_timeout_enabled = false
idle_session_timeout_enabled = false
__func__ = "PostgresMain"
#20 0x00000000007c810c in PostgresSingleUserMain (argc=12, argv=0x6dfe520, username=0x6e16130 "postgres") at postgres.c:4130
dbname = 0x6e3ad50 "template1"
__func__ = "PostgresSingleUserMain"
#21 0x000000000057c202 in main (argc=12, argv=0x6dfe520) at main.c:226
do_check_root = true
dispatch_option = DISPATCH_SINGLE