bt-wo-asserts-Og.txt

text/plain

Filename: bt-wo-asserts-Og.txt
Type: text/plain
Part: 1
Message: Re: Change GUC hashtable to use simplehash?
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000000002be8fe in fasthash_accum (len=2, k=0x6e312c8 "og", hs=<synthetic pointer>) at ../../../src/include/common/hashfn_unstable.h:180
180		switch (len)
(gdb) bt full
#0  0x00000000002be8fe in fasthash_accum (len=2, k=0x6e312c8 "og", hs=<synthetic pointer>) at ../../../src/include/common/hashfn_unstable.h:180
        lower_four = <optimized out>
        lower_four = <optimized out>
#1  fasthash_accum_cstring_aligned (str=0x6e312c8 "og", hs=<optimized out>) at ../../../src/include/common/hashfn_unstable.h:299
        start = <optimized out>
        remainder = 2
        zero_byte_low = 9259542121126297600
        start = <optimized out>
        remainder = <optimized out>
        zero_byte_low = <optimized out>
        chunk = <optimized out>
#2  fasthash_accum_cstring (str=0x6e312c0 "pg_catalog", hs=<synthetic pointer>) at ../../../src/include/common/hashfn_unstable.h:323
        len = <optimized out>
        len = <optimized out>
#3  spcachekey_hash (key=...) at namespace.c:268
        hs = {accum = <optimized out>, hash = <optimized out>}
        sp_len = <optimized out>
        hs = {accum = <optimized out>, hash = <optimized out>}
        sp_len = <optimized out>
#4  nsphash_lookup (key=..., tb=0x6e3f0c0) at ../../../src/include/lib/simplehash.h:836
        hash = <optimized out>
        hash = <optimized out>
#5  spcache_insert (searchPath=searchPath@entry=0x6e312c0 "pg_catalog", roleid=roleid@entry=10) at namespace.c:394
        entry = <optimized out>
        cachekey = {searchPath = <optimized out>, roleid = <optimized out>}
#6  0x00000000002bfc5b in cachedNamespacePath (searchPath=0x6e312c0 "pg_catalog", roleid=roleid@entry=10) at namespace.c:4251
        oldcxt = <optimized out>
        entry = <optimized out>
#7  0x00000000002bfd44 in recomputeNamespacePath () at namespace.c:4309
        roleid = 10
        pathChanged = <optimized out>
        entry = <optimized out>
#8  0x00000000002bfe35 in RelnameGetRelid (relname=0x6e03548 "pg_authid") at namespace.c:890
        relid = <optimized out>
        l = <optimized out>
#9  0x00000000002c14e1 in RangeVarGetRelidExtended (relation=0x6e03568, lockmode=lockmode@entry=1, flags=flags@entry=0, callback=callback@entry=0x0, callback_arg=callback_arg@entry=0x0) at namespace.c:539
        inval_count = 0
        relId = <optimized out>
        oldRelId = 0
        retry = false
        missing_ok = false
        __func__ = "RangeVarGetRelidExtended"
#10 0x00000000002a87dc in objectNamesToOids (objtype=<optimized out>, objnames=0x6e035b8, is_grant=false) at aclchk.c:701
        relvar = <optimized out>
        relOid = <optimized out>
        cell__state = {l = <optimized out>, i = <optimized out>}
        objects = 0x0
        cell = <optimized out>
        lockmode = 1
#11 0x00000000002adbf9 in ExecuteGrantStmt (stmt=stmt@entry=0x6e03680) at aclchk.c:425
        istmt = {is_grant = false, objtype = OBJECT_TABLE, objects = 0x0, all_privs = 48, privileges = 115357312, col_privs = 0x1ffeffea90, grantees = 0x6e82cb <EventCacheLookup+50>, grant_option = 255, behavior = (DROP_CASCADE | unknown: 0xfffffffe)}
        cell = <optimized out>
        errormsg = <optimized out>
        all_privileges = <optimized out>
        __func__ = "ExecuteGrantStmt"
#12 0x00000000005b2c30 in ProcessUtilitySlow (pstate=pstate@entry=0x6f9a490, pstmt=pstmt@entry=0x6e03730, queryString=queryString@entry=0x6e02b60 "REVOKE ALL ON pg_authid FROM public;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0xa5d760 <debugtupDR>, qc=0x1ffefff0a0) at utility.c:1812
        _save_exception_stack = 0x1ffeffef60
        _save_context_stack = 0x0
        _local_sigjmp_buf = {{__jmpbuf = {117023888, -2063849044308330718, 0, 115357488, 115357312, 0, -2063849044429965534, -2061450765248563422}, __mask_was_saved = 0, __saved_mask = {__val = {117023872, 16, 0, 0, 0, 1296236544, 117024128, 16, 0, 0, 0, 1296236544, 117023872, 16, 0, 0}}}}
        _do_rethrow = false
        parsetree = 0x6e03680
        isTopLevel = true
        isCompleteQuery = true
        needCleanup = false
        commandCollected = false
        address = {classId = 4278184864, objectId = 31, objectSubId = -16782448}
        secondaryObject = {classId = 0, objectId = 0, objectSubId = 0}
        __func__ = "ProcessUtilitySlow"
#13 0x00000000005b180d in standard_ProcessUtility (pstmt=0x6e03730, queryString=0x6e02b60 "REVOKE ALL ON pg_authid FROM public;\n", readOnlyTree=<optimized out>, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0xa5d760 <debugtupDR>, qc=0x1ffefff0a0) at utility.c:969
        stmt = 0x6e03680
        parsetree = 0x6e03680
        isTopLevel = true
        isAtomicContext = false
        pstate = 0x6f9a490
        readonly_flags = <optimized out>
        __func__ = "standard_ProcessUtility"
#14 0x00000000005b1a5f in ProcessUtility (pstmt=pstmt@entry=0x6e03730, queryString=<optimized out>, readOnlyTree=<optimized out>, context=<optimized out>, params=<optimized out>, queryEnv=<optimized out>, dest=0xa5d760 <debugtupDR>, qc=0x1ffefff0a0) at utility.c:523
No locals.
#15 0x00000000005af30c in PortalRunUtility (portal=portal@entry=0x6fbaaa0, pstmt=pstmt@entry=0x6e03730, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0xa5d760 <debugtupDR>, qc=qc@entry=0x1ffefff0a0) at pquery.c:1152
No locals.
#16 0x00000000005af55c in PortalRunMulti (portal=portal@entry=0x6fbaaa0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0xa5d760 <debugtupDR>, altdest=altdest@entry=0xa5d760 <debugtupDR>, qc=qc@entry=0x1ffefff0a0) at pquery.c:1309
        pstmt = 0x6e03730
        stmtlist_item__state = {l = <optimized out>, i = <optimized out>}
        active_snapshot_set = false
        stmtlist_item = 0x6e03a98
#17 0x00000000005af85f in PortalRun (portal=portal@entry=0x6fbaaa0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0xa5d760 <debugtupDR>, altdest=altdest@entry=0xa5d760 <debugtupDR>, qc=qc@entry=0x1ffefff0a0) at pquery.c:787
        _save_exception_stack = 0x1ffefff1b0
        _save_context_stack = 0x0
        _local_sigjmp_buf = {{__jmpbuf = {0, -2063849044213958878, 10868576, 115357392, 0, 115357440, -2063849044291553502, -2061450777208359134}, __mask_was_saved = 0, __saved_mask = {__val = {117164768, 9483622, 1, 137422172183, 115357440, 137422172160, 7397230, 117156512, 9483622, 1, 1, 137422172224, 7547098, 115354464, 2504669645130645504, 117156512}}}}
        _do_rethrow = <optimized out>
        result = <optimized out>
        nprocessed = <optimized out>
        saveTopTransactionResourceOwner = 0x6ec93b8
        saveTopTransactionContext = 0x6fe8d00
        saveActivePortal = 0x0
        saveResourceOwner = 0x6ec93b8
        savePortalContext = 0x0
        saveMemoryContext = 0x6fe8d00
        __func__ = "PortalRun"
#18 0x00000000005abae2 in exec_simple_query (query_string=query_string@entry=0x6e02b60 "REVOKE ALL ON pg_authid FROM public;\n") at postgres.c:1271
        cmdtaglen = 6
        snapshot_set = <optimized out>
        per_parsetree_context = 0x0
        plantree_list = <optimized out>
        parsetree = 0x6e036d0
        commandTag = CMDTAG_REVOKE
        qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0}
        querytree_list = <optimized out>
        portal = 0x6fbaaa0
        receiver = 0xa5d760 <debugtupDR>
        format = 0
        cmdtagname = <optimized out>
        parsetree_item__state = {l = <optimized out>, i = <optimized out>}
        dest = DestDebug
        oldcontext = 0x6fe8d00
        parsetree_list = 0x6e03700
        parsetree_item = 0x6e03718
        save_log_statement_stats = false
        was_logged = false
        use_implicit_block = false
        msec_str = "`+\340\006\000\000\000\000`\361\377\376\037\000\000\000\f", '\000' <repeats 14 times>
        __func__ = "exec_simple_query"
#19 0x00000000005adc2c in PostgresMain (dbname=<optimized out>, username=username@entry=0x6e16130 "postgres") at postgres.c:4691
        query_string = 0x6e02b60 "REVOKE ALL ON pg_authid FROM public;\n"
        firstchar = <optimized out>
        input_message = {data = 0x6e02b60 "REVOKE ALL ON pg_authid FROM public;\n", len = 38, maxlen = 1024, cursor = 38}
        local_sigjmp_buf = {{__jmpbuf = {115584336, -2063849044165724382, 115433776, 12, 0, 0, -2063849044184598750, -2061450776201464030}, __mask_was_saved = 1, __saved_mask = {__val = {0, 1006, 18446744073709551615, 4869, 115337696, 116000232, 17408, 0, 0, 1048564, 2504669645130645504, 12, 115337696, 115433776, 12, 137422172816}}}}
        send_ready_for_query = false
        idle_in_transaction_timeout_enabled = false
        idle_session_timeout_enabled = false
        __func__ = "PostgresMain"
#20 0x00000000005ae132 in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x6dfe520, username=0x6e16130 "postgres") at postgres.c:4130
        dbname = 0x6e3ad50 "template1"
        __func__ = "PostgresSingleUserMain"
#21 0x0000000000438ef2 in main (argc=12, argv=0x6dfe520) at main.c:226
        do_check_root = <optimized out>
        dispatch_option = <optimized out>